Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 176.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.3 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009752/0.000975, allocations: 93.98 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.697e-05/1.7e-05, allocations: 0 / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8001, allocations: 115.3 MB / 0.9644 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.029/5.829, allocations: 2.068 GB / 3.032 GB, free: 25.57 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/5.829, allocations: 84.7 kB / 3.032 GB, free: 25.49 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.031/6.861, allocations: 162.2 MB / 3.191 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.464e-06/6.861, allocations: 4 kB / 3.191 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.993e-05/6.861, allocations: 7.938 kB / 3.191 GB, free: 238.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001234/6.862, allocations: 0.6115 MB / 3.191 GB, free: 237.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/6.862, allocations: 12.03 kB / 3.191 GB, free: 237.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/6.863, allocations: 135.4 kB / 3.192 GB, free: 237.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/6.864, allocations: 398.6 kB / 3.192 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/6.864, allocations: 8 kB / 3.192 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/6.864, allocations: 16 kB / 3.192 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003753/6.865, allocations: 177 kB / 3.192 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/6.865, allocations: 230.6 kB / 3.192 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/6.865, allocations: 0 / 3.192 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/6.865, allocations: 4 kB / 3.192 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/6.865, allocations: 16.55 kB / 3.192 GB, free: 236.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/6.867, allocations: 1.234 MB / 3.194 GB, free: 235.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/6.867, allocations: 182.9 kB / 3.194 GB, free: 235.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/6.867, allocations: 77.7 kB / 3.194 GB, free: 235 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/6.867, allocations: 4.344 kB / 3.194 GB, free: 235 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/6.867, allocations: 38.52 kB / 3.194 GB, free: 235 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/6.867, allocations: 4 kB / 3.194 GB, free: 235 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.000654/6.868, allocations: 215.6 kB / 3.194 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/6.868, allocations: 55.41 kB / 3.194 GB, free: 234.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/6.868, allocations: 238.3 kB / 3.194 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/6.868, allocations: 29.64 kB / 3.194 GB, free: 234.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/6.868, allocations: 196.1 kB / 3.195 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/6.869, allocations: 63.02 kB / 3.195 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/6.869, allocations: 4 kB / 3.195 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/6.869, allocations: 338.8 kB / 3.195 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/6.869, allocations: 55.98 kB / 3.195 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-05/6.869, allocations: 110.8 kB / 3.195 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/6.869, allocations: 83.92 kB / 3.195 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/6.869, allocations: 3.953 kB / 3.195 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003001/6.869, allocations: 223.6 kB / 3.195 GB, free: 233.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/6.869, allocations: 7.953 kB / 3.195 GB, free: 233.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/6.869, allocations: 4.188 kB / 3.195 GB, free: 233.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/6.869, allocations: 4 kB / 3.195 GB, free: 233.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/6.87, allocations: 47.91 kB / 3.195 GB, free: 233.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/6.87, allocations: 4 kB / 3.195 GB, free: 233.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/6.87, allocations: 11.84 kB / 3.195 GB, free: 233.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/6.87, allocations: 12 kB / 3.195 GB, free: 233.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/6.87, allocations: 108.9 kB / 3.196 GB, free: 233.1 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003609/6.87, allocations: 210.1 kB / 3.196 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/6.87, allocations: 31.61 kB / 3.196 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/6.871, allocations: 38.02 kB / 3.196 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/6.871, allocations: 4 kB / 3.196 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/6.871, allocations: 0 / 3.196 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.871, allocations: 0 / 3.196 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/6.871, allocations: 361.7 kB / 3.196 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/6.871, allocations: 0 / 3.196 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/6.871, allocations: 39.94 kB / 3.196 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/6.871, allocations: 44.83 kB / 3.196 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/6.871, allocations: 0 / 3.196 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009171/6.872, allocations: 1.377 MB / 3.198 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/6.872, allocations: 0 / 3.198 GB, free: 230.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/6.873, allocations: 390.6 kB / 3.198 GB, free: 230.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/6.873, allocations: 124.8 kB / 3.198 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/6.873, allocations: 0 / 3.198 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/6.873, allocations: 20.05 kB / 3.198 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/6.873, allocations: 15.92 kB / 3.198 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/6.873, allocations: 4 kB / 3.198 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001706/6.874, allocations: 190 kB / 3.198 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/6.874, allocations: 0 / 3.198 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006613/6.874, allocations: 147.7 kB / 3.198 GB, free: 230 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001864/6.876, allocations: 1.637 MB / 3.2 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002928/6.876, allocations: 155.9 kB / 3.2 GB, free: 228.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/6.876, allocations: 0 / 3.2 GB, free: 228.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/6.877, allocations: 190.1 kB / 3.2 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009678/6.878, allocations: 174.4 kB / 3.201 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/6.879, allocations: 0.6317 MB / 3.201 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/6.879, allocations: 0.7991 MB / 3.202 GB, free: 226.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003136/6.88, allocations: 63.25 kB / 3.202 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/6.88, allocations: 103.4 kB / 3.202 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of SimCode: time 2.5e-07/6.88, allocations: 0 / 3.202 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/6.914, allocations: 13.49 MB / 3.215 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/6.914, allocations: 144.1 kB / 3.215 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/9.219, allocations: 4 kB / 3.215 GB, free: 212.5 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)