Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.734/1.734, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 176.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008834/0.0008834, allocations: 95.31 kB / 0.7808 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004947, allocations: 8.625 kB / 0.9088 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8009, allocations: 120.3 MB / 1.026 GB, free: 56.51 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.713/5.514, allocations: 1.906 GB / 2.932 GB, free: 278.9 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/5.514, allocations: 88.98 kB / 2.932 GB, free: 278.9 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.3088/5.823, allocations: 164.5 MB / 3.093 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.184e-06/5.823, allocations: 4 kB / 3.093 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.211e-05/5.823, allocations: 12 kB / 3.093 GB, free: 111.3 MB / 0.9792 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.001978/5.825, allocations: 0.6629 MB / 3.093 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/5.825, allocations: 8.031 kB / 3.093 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/5.826, allocations: 144.3 kB / 3.094 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/5.827, allocations: 415.8 kB / 3.094 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/5.828, allocations: 16.94 kB / 3.094 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/5.828, allocations: 28.38 kB / 3.094 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/5.828, allocations: 280.2 kB / 3.094 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/5.828, allocations: 3.938 kB / 3.094 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/5.828, allocations: 8 kB / 3.094 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/5.828, allocations: 8.562 kB / 3.094 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/5.829, allocations: 194.1 kB / 3.094 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/5.831, allocations: 1.309 MB / 3.096 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/5.831, allocations: 190.9 kB / 3.096 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/5.832, allocations: 88.83 kB / 3.096 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/5.832, allocations: 7.938 kB / 3.096 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/5.832, allocations: 34.55 kB / 3.096 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 2.745e-06/5.832, allocations: 0 / 3.096 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.00103/5.833, allocations: 405.8 kB / 3.096 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/5.833, allocations: 55.41 kB / 3.097 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/5.833, allocations: 292.6 kB / 3.097 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/5.833, allocations: 25.7 kB / 3.097 GB, free: 106.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/5.833, allocations: 200.3 kB / 3.097 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/5.833, allocations: 67.05 kB / 3.097 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/5.833, allocations: 4 kB / 3.097 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/5.833, allocations: 342.8 kB / 3.097 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/5.834, allocations: 67.91 kB / 3.097 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/5.834, allocations: 121.2 kB / 3.098 GB, free: 106 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/5.834, allocations: 195.6 kB / 3.098 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/5.834, allocations: 0 / 3.098 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003297/5.834, allocations: 245.1 kB / 3.098 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/5.834, allocations: 8 kB / 3.098 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/5.834, allocations: 0 / 3.098 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/5.834, allocations: 4 kB / 3.098 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/5.834, allocations: 47.92 kB / 3.098 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/5.835, allocations: 0 / 3.098 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/5.835, allocations: 28.02 kB / 3.098 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/5.835, allocations: 8 kB / 3.098 GB, free: 105.4 MB / 0.9792 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 () * Number of clocked 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 0.0001595/5.835, allocations: 161.7 kB / 3.098 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/5.835, allocations: 31.62 kB / 3.098 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/5.835, allocations: 38.36 kB / 3.098 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/5.835, allocations: 4 kB / 3.098 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/5.835, allocations: 0 / 3.098 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/5.835, allocations: 3.938 kB / 3.098 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/5.836, allocations: 417.1 kB / 3.099 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/5.836, allocations: 0 / 3.099 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/5.836, allocations: 35.98 kB / 3.099 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/5.836, allocations: 40.83 kB / 3.099 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/5.836, allocations: 4 kB / 3.099 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009476/5.837, allocations: 1.413 MB / 3.1 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/5.837, allocations: 3.938 kB / 3.1 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/5.838, allocations: 417.4 kB / 3.101 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/5.838, allocations: 136.8 kB / 3.101 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/5.838, allocations: 4 kB / 3.101 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/5.838, allocations: 11.91 kB / 3.101 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/5.838, allocations: 15.97 kB / 3.101 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/5.838, allocations: 4 kB / 3.101 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001978/5.838, allocations: 215.1 kB / 3.101 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/5.838, allocations: 0 / 3.101 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006341/5.839, allocations: 159.8 kB / 3.101 GB, free: 102.1 MB / 0.9792 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 () * Number of clocked 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.001185/5.84, allocations: 0.7308 MB / 3.102 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000296/5.84, allocations: 161.5 kB / 3.102 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/5.84, allocations: 4.062 kB / 3.102 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/5.841, allocations: 198.6 kB / 3.102 GB, free: 101 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000923/5.842, allocations: 188.6 kB / 3.102 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/5.843, allocations: 0.9507 MB / 3.103 GB, free: 99.87 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/5.843, allocations: 0.7923 MB / 3.104 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003228/5.844, allocations: 54.94 kB / 3.104 GB, free: 98.99 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/5.844, allocations: 27.44 kB / 3.104 GB, free: 98.97 MB / 0.9792 GB Notification: Performance of SimCode: time 2.3e-07/5.844, allocations: 0 / 3.104 GB, free: 98.97 MB / 0.9792 GB Notification: Performance of Templates: time 0.02087/5.865, allocations: 14.96 MB / 3.119 GB, free: 84.09 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)