Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.84/2.84, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001522/0.001522, allocations: 166.5 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 100.8 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 11.12 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.8881/1.098, allocations: 136.3 MB / 1.111 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006646/1.105, allocations: 2.841 MB / 1.114 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/1.106, allocations: 11.62 kB / 1.114 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/1.107, allocations: 215.8 kB / 1.114 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003731/1.111, allocations: 0.7212 MB / 1.115 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/1.113, allocations: 431 kB / 1.115 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001839/1.115, allocations: 0.5413 MB / 1.116 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/1.115, allocations: 184.1 kB / 1.116 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009534/1.116, allocations: 257.1 kB / 1.116 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008566/1.117, allocations: 187.4 kB / 1.117 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/1.117, allocations: 11.84 kB / 1.117 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/1.119, allocations: 279.9 kB / 1.117 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/1.12, allocations: 97.59 kB / 1.117 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/1.12, allocations: 100.8 kB / 1.117 GB, free: 16.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/1.121, allocations: 480.4 kB / 1.117 GB, free: 16.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.121, allocations: 4 kB / 1.117 GB, free: 16.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.826e-06/1.121, allocations: 0 / 1.117 GB, free: 16.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.566e-05/1.121, allocations: 0 / 1.117 GB, free: 16.74 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001768/1.123, allocations: 0.6287 MB / 1.118 GB, free: 16.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.123, allocations: 17.64 kB / 1.118 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.125, allocations: 140.9 kB / 1.118 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.126, allocations: 386.1 kB / 1.119 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/1.126, allocations: 20.69 kB / 1.119 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/1.126, allocations: 26.88 kB / 1.119 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/1.127, allocations: 274.1 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.127, allocations: 3.359 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/1.127, allocations: 10.38 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/1.127, allocations: 12.81 kB / 1.119 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/1.128, allocations: 193.2 kB / 1.119 GB, free: 15.92 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.003656/1.132, allocations: 1.315 MB / 1.12 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/1.133, allocations: 198.8 kB / 1.121 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/1.133, allocations: 0 / 1.121 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/1.133, allocations: 36.91 kB / 1.121 GB, free: 15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.437e-06/1.133, allocations: 0 / 1.121 GB, free: 15 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00277/1.136, allocations: 405.3 kB / 1.121 GB, free: 14.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.803e-05/1.136, allocations: 54.19 kB / 1.121 GB, free: 14.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009292/1.137, allocations: 293.3 kB / 1.121 GB, free: 14.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/1.137, allocations: 28.77 kB / 1.121 GB, free: 14.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/1.137, allocations: 187.5 kB / 1.122 GB, free: 14.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/1.138, allocations: 69.23 kB / 1.122 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/1.138, allocations: 3.25 kB / 1.122 GB, free: 14.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002577/1.138, allocations: 349.3 kB / 1.122 GB, free: 14.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/1.138, allocations: 61.41 kB / 1.122 GB, free: 14.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/1.139, allocations: 123.3 kB / 1.122 GB, free: 14.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/1.14, allocations: 80.77 kB / 1.122 GB, free: 14.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.14, allocations: 0 / 1.122 GB, free: 14.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001218/1.142, allocations: 245.2 kB / 1.122 GB, free: 14.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/1.142, allocations: 15.3 kB / 1.122 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.142, allocations: 2.906 kB / 1.122 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/1.142, allocations: 2.531 kB / 1.122 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/1.142, allocations: 45.83 kB / 1.123 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/1.142, allocations: 6.438 kB / 1.123 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.144, allocations: 24.89 kB / 1.123 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.144, allocations: 14.55 kB / 1.123 GB, free: 13.99 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.0007457/1.145, allocations: 157.1 kB / 1.123 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/1.145, allocations: 31.62 kB / 1.123 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/1.145, allocations: 32.77 kB / 1.123 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.145, allocations: 9.062 kB / 1.123 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.145, allocations: 3.938 kB / 1.123 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/1.145, allocations: 0 / 1.123 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/1.147, allocations: 410.6 kB / 1.123 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/1.147, allocations: 1.859 kB / 1.123 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006433/1.148, allocations: 33.34 kB / 1.123 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00056/1.149, allocations: 46.14 kB / 1.123 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/1.149, allocations: 2.062 kB / 1.123 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003016/1.152, allocations: 1.41 MB / 1.125 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.152, allocations: 0 / 1.125 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/1.154, allocations: 419 kB / 1.125 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/1.154, allocations: 130.5 kB / 1.125 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.154, allocations: 7.281 kB / 1.125 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.156, allocations: 9.125 kB / 1.125 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.156, allocations: 23.08 kB / 1.125 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.156, allocations: 6.922 kB / 1.125 GB, free: 12.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001024/1.157, allocations: 212.8 kB / 1.125 GB, free: 12.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.122e-06/1.157, allocations: 0 / 1.125 GB, free: 12.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001443/1.159, allocations: 110.4 kB / 1.126 GB, free: 12 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.0003445/1.159, allocations: 116.5 kB / 1.126 GB, free: 11.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007115/1.16, allocations: 159.2 kB / 1.126 GB, free: 11.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.16, allocations: 0 / 1.126 GB, free: 11.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004854/1.16, allocations: 204.1 kB / 1.126 GB, free: 11.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.162, allocations: 188.5 kB / 1.126 GB, free: 11.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/1.164, allocations: 0.9426 MB / 1.127 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/1.165, allocations: 0.8016 MB / 1.128 GB, free: 10.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005467/1.165, allocations: 58.88 kB / 1.128 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.165, allocations: 27.5 kB / 1.128 GB, free: 10.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.165, allocations: 0 / 1.128 GB, free: 10.49 MB / 0.698 GB Notification: Performance of Templates: time 0.01784/1.183, allocations: 5.659 MB / 1.133 GB, free: 9.023 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)