Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.193/2.193, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 190.7 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.333/2.333, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009492/0.0009488, allocations: 92.17 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004629, allocations: 14.34 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1967, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2862/0.483, allocations: 147.5 MB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008204/0.4913, allocations: 2.726 MB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000698/0.492, allocations: 11.94 kB / 1.046 GB, free: 10.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009328/0.493, allocations: 143.1 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.4962, allocations: 0.5714 MB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.4977, allocations: 246.9 kB / 1.047 GB, free: 9.738 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.5004, allocations: 1.103 MB / 1.048 GB, free: 8.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.5011, allocations: 213.6 kB / 1.048 GB, free: 8.422 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000989/0.5021, allocations: 302.7 kB / 1.048 GB, free: 8.125 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.503, allocations: 278.8 kB / 1.049 GB, free: 7.852 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.5031, allocations: 12 kB / 1.049 GB, free: 7.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.5048, allocations: 315.2 kB / 1.049 GB, free: 7.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.5052, allocations: 115.6 kB / 1.049 GB, free: 7.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.5054, allocations: 105.5 kB / 1.049 GB, free: 7.309 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5069, allocations: 0.5146 MB / 1.05 GB, free: 6.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.5069, allocations: 4 kB / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5069, allocations: 0 / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5069, allocations: 0 / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.002021/0.509, allocations: 0.6505 MB / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.5091, allocations: 12.03 kB / 1.05 GB, free: 6.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.5114, allocations: 135.4 kB / 1.05 GB, free: 5.945 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.5126, allocations: 394.5 kB / 1.051 GB, free: 5.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.5127, allocations: 20.56 kB / 1.051 GB, free: 5.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5128, allocations: 27.98 kB / 1.051 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.5138, allocations: 283.6 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.5139, allocations: 0 / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.5139, allocations: 12 kB / 1.051 GB, free: 5.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.514, allocations: 8.562 kB / 1.051 GB, free: 5.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.5148, allocations: 202.1 kB / 1.051 GB, free: 4.965 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.5183, allocations: 1.33 MB / 1.053 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.5193, allocations: 202.9 kB / 1.053 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.5196, allocations: 80.83 kB / 1.053 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.5197, allocations: 4 kB / 1.053 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.5197, allocations: 34.56 kB / 1.053 GB, free: 3.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.286e-06/0.5197, allocations: 0 / 1.053 GB, free: 3.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001967/0.5217, allocations: 398.2 kB / 1.053 GB, free: 2.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.5218, allocations: 55.41 kB / 1.053 GB, free: 2.676 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.5225, allocations: 308.5 kB / 1.054 GB, free: 2.367 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.5225, allocations: 25.7 kB / 1.054 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.5228, allocations: 200.3 kB / 1.054 GB, free: 2.137 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.5229, allocations: 67 kB / 1.054 GB, free: 2.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.523, allocations: 4 kB / 1.054 GB, free: 2.066 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.5232, allocations: 338.8 kB / 1.054 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.5235, allocations: 59.97 kB / 1.054 GB, free: 1.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.5238, allocations: 127.4 kB / 1.054 GB, free: 1.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.5242, allocations: 75.98 kB / 1.054 GB, free: 1.445 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.5242, allocations: 0 / 1.054 GB, free: 1.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008805/0.5251, allocations: 249.9 kB / 1.055 GB, free: 1.195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.5251, allocations: 13.97 kB / 1.055 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.5251, allocations: 0 / 1.055 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.5252, allocations: 4 kB / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.5257, allocations: 39.98 kB / 1.055 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.5258, allocations: 7.938 kB / 1.055 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/0.5266, allocations: 24.03 kB / 1.055 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.5266, allocations: 4 kB / 1.055 GB, free: 1.105 MB / 0.698 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.0003564/0.527, allocations: 165.8 kB / 1.055 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.5271, allocations: 35.56 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.5273, allocations: 35.08 kB / 1.055 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5273, allocations: 0 / 1.055 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.5274, allocations: 7.938 kB / 1.055 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5274, allocations: 0 / 1.055 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.5285, allocations: 413.1 kB / 1.055 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5286, allocations: 4 kB / 1.055 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.5291, allocations: 39.92 kB / 1.055 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.5295, allocations: 40.83 kB / 1.055 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.5295, allocations: 7.938 kB / 1.055 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6002/1.13, allocations: 1.4 MB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.13, allocations: 3.469 kB / 1.057 GB, free: 157.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009165/1.131, allocations: 407.5 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/1.131, allocations: 133.6 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/1.131, allocations: 3.344 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/1.132, allocations: 24.94 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/1.132, allocations: 14.31 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/1.132, allocations: 6.828 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003398/1.132, allocations: 219 kB / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/1.132, allocations: 0 / 1.058 GB, free: 156.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006417/1.133, allocations: 104.2 kB / 1.058 GB, free: 156.7 MB / 0.698 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.0002343/1.133, allocations: 117.8 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004487/1.133, allocations: 156.4 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.133, allocations: 2.844 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/1.134, allocations: 194.5 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.136, allocations: 186.9 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/1.138, allocations: 0.9633 MB / 1.059 GB, free: 156.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/1.138, allocations: 0.7955 MB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000524/1.138, allocations: 57.28 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/1.139, allocations: 26.06 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/1.139, allocations: 4 kB / 1.06 GB, free: 155.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03121/1.17, allocations: 5.791 MB / 1.066 GB, free: 155 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)