Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 274.6 kB / 303 MB, free: 3.555 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9545/0.9545, allocations: 180.9 MB / 0.5261 GB, free: 2.773 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 103.8 kB / 0.7248 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.421, allocations: 94.16 MB / 0.8167 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002107/0.4231, allocations: 1.491 MB / 0.8182 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000615/0.4237, allocations: 484.1 kB / 0.8186 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.4238, allocations: 1.031 kB / 0.8186 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.4238, allocations: 3.234 kB / 0.8186 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.424, allocations: 32.86 kB / 0.8187 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.51e-05/0.4241, allocations: 9.094 kB / 0.8187 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.4241, allocations: 52.03 kB / 0.8187 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.4242, allocations: 6.406 kB / 0.8187 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.4243, allocations: 21.47 kB / 0.8188 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.4244, allocations: 25.83 kB / 0.8188 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.4244, allocations: 7.25 kB / 0.8188 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.4244, allocations: 4.125 kB / 0.8188 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.4244, allocations: 12.67 kB / 0.8188 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.4245, allocations: 22.03 kB / 0.8188 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.381e-05/0.4245, allocations: 46.95 kB / 0.8189 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.4245, allocations: 0 / 0.8189 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4245, allocations: 4.969 kB / 0.8189 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.4246, allocations: 0 / 0.8189 GB, free: 5.676 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004206/0.425, allocations: 351.1 kB / 0.8192 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.425, allocations: 13.12 kB / 0.8192 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.189e-05/0.425, allocations: 40.28 kB / 0.8193 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.4251, allocations: 3.062 kB / 0.8193 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.4251, allocations: 172.8 kB / 0.8194 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.4252, allocations: 2.75 kB / 0.8194 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.4252, allocations: 7.344 kB / 0.8194 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.4253, allocations: 53.58 kB / 0.8195 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.4253, allocations: 0 / 0.8195 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.4253, allocations: 4.875 kB / 0.8195 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4253, allocations: 5 kB / 0.8195 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.997e-05/0.4253, allocations: 25.11 kB / 0.8195 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.4256, allocations: 267 kB / 0.8198 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/0.4256, allocations: 40.8 kB / 0.8198 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.4257, allocations: 21.09 kB / 0.8198 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.4257, allocations: 0.9688 kB / 0.8198 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.4258, allocations: 71.75 kB / 0.8199 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4258, allocations: 0 / 0.8199 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001855/0.426, allocations: 80.95 kB / 0.82 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.426, allocations: 52.16 kB / 0.82 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/0.4261, allocations: 116.5 kB / 0.8202 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.4261, allocations: 26.48 kB / 0.8202 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/0.4261, allocations: 82.69 kB / 0.8203 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4261, allocations: 22.55 kB / 0.8203 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.4262, allocations: 23.61 kB / 0.8203 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.292e-05/0.4262, allocations: 319 kB / 0.8206 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.4262, allocations: 14.67 kB / 0.8206 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.4262, allocations: 15.23 kB / 0.8206 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.4263, allocations: 30.64 kB / 0.8207 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4263, allocations: 0 / 0.8207 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.653e-05/0.4264, allocations: 66.08 kB / 0.8207 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4264, allocations: 5.938 kB / 0.8207 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.4264, allocations: 4.422 kB / 0.8207 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4264, allocations: 5.156 kB / 0.8207 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.4265, allocations: 13.5 kB / 0.8208 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4265, allocations: 0 / 0.8208 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.4265, allocations: 7.969 kB / 0.8208 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4265, allocations: 4.906 kB / 0.8208 GB, free: 3.812 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.4266, allocations: 119.7 kB / 0.8209 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.4266, allocations: 2.094 kB / 0.8209 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.4266, allocations: 9.375 kB / 0.8209 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.4266, allocations: 5.344 kB / 0.8209 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.4266, allocations: 0 / 0.8209 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.4266, allocations: 0 / 0.8209 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.207e-05/0.4267, allocations: 176.3 kB / 0.8211 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4267, allocations: 1.125 kB / 0.8211 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.4267, allocations: 4.125 kB / 0.8211 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4267, allocations: 3.328 kB / 0.8211 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.4267, allocations: 1.406 kB / 0.8211 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4267, allocations: 0 / 0.8211 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4267, allocations: 1.625 kB / 0.8211 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.4268, allocations: 106.8 kB / 0.8212 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.4268, allocations: 83.75 kB / 0.8213 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.4269, allocations: 0 / 0.8213 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.4269, allocations: 5.812 kB / 0.8213 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.4269, allocations: 2.281 kB / 0.8213 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.4269, allocations: 2.312 kB / 0.8213 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.427, allocations: 94.14 kB / 0.8214 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.427, allocations: 0 / 0.8214 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001756/0.4272, allocations: 12.72 kB / 0.8214 GB, free: 3.195 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002396/0.4274, allocations: 0.6316 MB / 0.822 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.4275, allocations: 30.16 kB / 0.822 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4275, allocations: 0.9375 kB / 0.822 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.4275, allocations: 17.31 kB / 0.822 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.4277, allocations: 12.17 kB / 0.822 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.4285, allocations: 1.224 MB / 0.8232 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4287, allocations: 0.6843 MB / 0.8239 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.4288, allocations: 2.062 kB / 0.8239 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.4288, allocations: 14.31 kB / 0.8239 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.4288, allocations: 0 / 0.8239 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.4504, allocations: 1.553 MB / 0.8254 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.606, allocations: 3.203 kB / 0.8254 GB, free: 16.37 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.974110931623727] Failed to read output from testmodel.py, exit status != 0: 7.677996431943029 7.693403168 7.265305528 Calling exit ...