Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6973/0.6973, allocations: 95.63 MB / 366 MB, free: 10.35 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000723/0.0007236, allocations: 16 kB / 446.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3658, allocations: 70.34 MB / 0.5051 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.7336/1.099, allocations: 161.7 MB / 0.663 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/1.103, allocations: 1.326 MB / 0.6643 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/1.104, allocations: 12.81 kB / 0.6643 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000668/1.104, allocations: 121.1 kB / 0.6644 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/1.107, allocations: 0.7056 MB / 0.6651 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/1.109, allocations: 323 kB / 0.6654 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001706/1.111, allocations: 0.9872 MB / 0.6664 GB, free: 380 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/1.111, allocations: 174.2 kB / 0.6665 GB, free: 356 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/1.112, allocations: 291.9 kB / 0.6668 GB, free: 288 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/1.112, allocations: 267.2 kB / 0.6671 GB, free: 236 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/1.112, allocations: 11.31 kB / 0.6671 GB, free: 236 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/1.115, allocations: 0.5614 MB / 0.6676 GB, free: 184 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/1.115, allocations: 104.5 kB / 0.6677 GB, free: 172 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001707/1.115, allocations: 102.1 kB / 0.6678 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009717/1.116, allocations: 0.6379 MB / 0.6684 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/1.116, allocations: 0 / 0.6684 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.996e-06/1.116, allocations: 0 / 0.6684 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.417e-06/1.116, allocations: 4 kB / 0.6684 GB, free: 16.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001276/1.117, allocations: 0.6977 MB / 0.6691 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.117, allocations: 12.7 kB / 0.6691 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/1.117, allocations: 45.03 kB / 0.6692 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/1.118, allocations: 436.5 kB / 0.6696 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/1.118, allocations: 22.92 kB / 0.6696 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/1.118, allocations: 23.12 kB / 0.6696 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/1.119, allocations: 257.6 kB / 0.6699 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.119, allocations: 0 / 0.6699 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/1.119, allocations: 8.156 kB / 0.6699 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.119, allocations: 5.281 kB / 0.6699 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/1.119, allocations: 244.2 kB / 0.6701 GB, free: 15.22 MB / 0.4981 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.001797/1.121, allocations: 1.281 MB / 0.6714 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/1.122, allocations: 213 kB / 0.6716 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/1.122, allocations: 126.2 kB / 0.6717 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005776/1.122, allocations: 458.8 kB / 0.6721 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.122, allocations: 42.25 kB / 0.6722 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/1.122, allocations: 0 / 0.6722 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.005222/1.128, allocations: 1.583 MB / 0.6737 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.128, allocations: 54.56 kB / 0.6738 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/1.128, allocations: 313.9 kB / 0.6741 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/1.128, allocations: 35.39 kB / 0.6741 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.128, allocations: 178.6 kB / 0.6743 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/1.129, allocations: 117.2 kB / 0.6744 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/1.129, allocations: 3.375 kB / 0.6744 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002023/1.129, allocations: 352.6 kB / 0.6747 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/1.129, allocations: 132.4 kB / 0.6749 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/1.129, allocations: 167.2 kB / 0.675 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/1.13, allocations: 149.4 kB / 0.6752 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/1.13, allocations: 0 / 0.6752 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009958/1.131, allocations: 464.8 kB / 0.6756 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.131, allocations: 10.42 kB / 0.6756 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.131, allocations: 2.578 kB / 0.6756 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/1.131, allocations: 75.56 kB / 0.6757 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/1.132, allocations: 80.36 kB / 0.6758 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/1.134, allocations: 1.753 MB / 0.6775 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/1.134, allocations: 30.38 kB / 0.6775 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/1.134, allocations: 8.031 kB / 0.6775 GB, free: 11.25 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 33 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005963/1.135, allocations: 222.8 kB / 0.6777 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.735e-05/1.135, allocations: 37.28 kB / 0.6778 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.136, allocations: 477 kB / 0.6782 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/1.136, allocations: 6.344 kB / 0.6782 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.136, allocations: 1.75 kB / 0.6782 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.136, allocations: 2.484 kB / 0.6782 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/1.138, allocations: 1.081 MB / 0.6793 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.138, allocations: 0 / 0.6793 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/1.138, allocations: 77.03 kB / 0.6794 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003146/1.139, allocations: 76.77 kB / 0.6794 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/1.139, allocations: 15.59 kB / 0.6794 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/1.14, allocations: 1.559 MB / 0.681 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.14, allocations: 2.578 kB / 0.681 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.142, allocations: 0.6471 MB / 0.6816 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/1.142, allocations: 164 kB / 0.6818 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/1.142, allocations: 11.72 kB / 0.6818 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/1.142, allocations: 16.45 kB / 0.6818 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/1.142, allocations: 30.48 kB / 0.6818 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/1.142, allocations: 17.16 kB / 0.6818 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000332/1.143, allocations: 225.7 kB / 0.682 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.143, allocations: 0 / 0.682 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009314/1.144, allocations: 203.7 kB / 0.6822 GB, free: 8.938 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * 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 (33): * Single equations (assignments): 32 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005875/1.144, allocations: 279.2 kB / 0.6825 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001009/1.145, allocations: 476 kB / 0.683 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.145, allocations: 0 / 0.683 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/1.146, allocations: 285.2 kB / 0.6832 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.147, allocations: 228.7 kB / 0.6835 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/1.149, allocations: 1.188 MB / 0.6846 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/1.149, allocations: 0.807 MB / 0.6854 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004112/1.15, allocations: 82.34 kB / 0.6855 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.15, allocations: 33.47 kB / 0.6855 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/1.15, allocations: 0 / 0.6855 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of Templates: time 0.01826/1.168, allocations: 9.838 MB / 0.6951 GB, free: 1.941 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) Environment - environmentSimulation: