Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001267/0.001267, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.001529/0.001529, allocations: 177.3 kB / 15.95 MB, free: 216 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.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.559/1.559, allocations: 251.9 MB / 0.51 GB, free: 4.824 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005162/0.0005163, allocations: 15.98 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4031, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.155/0.5581, allocations: 136.4 MB / 0.8612 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004739/0.5629, allocations: 2.863 MB / 0.864 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004569/0.5634, allocations: 11.94 kB / 0.864 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.5641, allocations: 219 kB / 0.8642 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.5659, allocations: 0.7284 MB / 0.8649 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.567, allocations: 443.9 kB / 0.8653 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000936/0.568, allocations: 0.5741 MB / 0.8659 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.5683, allocations: 203.5 kB / 0.8661 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004965/0.5688, allocations: 271 kB / 0.8663 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.5692, allocations: 191.2 kB / 0.8665 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.5692, allocations: 16 kB / 0.8665 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.5699, allocations: 283.6 kB / 0.8668 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.5701, allocations: 99.69 kB / 0.8669 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.5702, allocations: 109.5 kB / 0.867 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.5708, allocations: 498.7 kB / 0.8675 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.5708, allocations: 0 / 0.8675 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5708, allocations: 0 / 0.8675 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5708, allocations: 0 / 0.8675 GB, free: 12.18 MB / 0.6856 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.001029/0.5718, allocations: 0.6388 MB / 0.8681 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5719, allocations: 8.031 kB / 0.8681 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.5729, allocations: 143.4 kB / 0.8682 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.5735, allocations: 390.6 kB / 0.8686 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.5736, allocations: 24.5 kB / 0.8686 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.5736, allocations: 28 kB / 0.8687 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.5741, allocations: 279.6 kB / 0.8689 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5741, allocations: 0 / 0.8689 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.5742, allocations: 16 kB / 0.869 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.5742, allocations: 8.562 kB / 0.869 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.5745, allocations: 194.1 kB / 0.8691 GB, free: 10.38 MB / 0.6856 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.00174/0.5763, allocations: 1.33 MB / 0.8704 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.5767, allocations: 202.9 kB / 0.8706 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.5768, allocations: 4 kB / 0.8706 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.5768, allocations: 34.56 kB / 0.8707 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.5768, allocations: 4 kB / 0.8707 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.0009142/0.5777, allocations: 394 kB / 0.8711 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.5778, allocations: 55.41 kB / 0.8711 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.5781, allocations: 304.5 kB / 0.8714 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.5782, allocations: 29.7 kB / 0.8714 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.5783, allocations: 192.3 kB / 0.8716 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.5784, allocations: 70.94 kB / 0.8717 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.5784, allocations: 4 kB / 0.8717 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5786, allocations: 342.8 kB / 0.872 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.5787, allocations: 59.97 kB / 0.8721 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.5788, allocations: 126.7 kB / 0.8722 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.5789, allocations: 71.98 kB / 0.8723 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.579, allocations: 0 / 0.8723 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003682/0.5793, allocations: 245.1 kB / 0.8725 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5794, allocations: 9.875 kB / 0.8725 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5794, allocations: 0 / 0.8725 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5794, allocations: 4 kB / 0.8725 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.5796, allocations: 43.92 kB / 0.8725 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5796, allocations: 0 / 0.8725 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.5799, allocations: 35.95 kB / 0.8726 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.58, allocations: 4 kB / 0.8726 GB, free: 6.602 MB / 0.6856 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.0001653/0.5801, allocations: 168.2 kB / 0.8727 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.5802, allocations: 31.62 kB / 0.8728 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.5803, allocations: 39.08 kB / 0.8728 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5803, allocations: 0 / 0.8728 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5803, allocations: 0 / 0.8728 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5803, allocations: 4 kB / 0.8728 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.5808, allocations: 409.2 kB / 0.8732 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5808, allocations: 11.94 kB / 0.8732 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.581, allocations: 39.92 kB / 0.8733 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.5812, allocations: 44.81 kB / 0.8733 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5812, allocations: 4 kB / 0.8733 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.5824, allocations: 1.417 MB / 0.8747 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5825, allocations: 0 / 0.8747 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.583, allocations: 403.9 kB / 0.8751 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5832, allocations: 140.6 kB / 0.8752 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.5832, allocations: 0 / 0.8752 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.5835, allocations: 17.41 kB / 0.8752 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.5836, allocations: 11.94 kB / 0.8752 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.5836, allocations: 8 kB / 0.8752 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001987/0.5838, allocations: 215.1 kB / 0.8754 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.333e-06/0.5838, allocations: 0 / 0.8754 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004058/0.5842, allocations: 115.7 kB / 0.8756 GB, free: 3.328 MB / 0.6856 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.0001597/0.5844, allocations: 119.2 kB / 0.8757 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.5847, allocations: 154.6 kB / 0.8758 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5847, allocations: 4 kB / 0.8758 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.585, allocations: 202.6 kB / 0.876 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008931/0.5859, allocations: 192.1 kB / 0.8762 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5872, allocations: 0.9526 MB / 0.8771 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.5875, allocations: 0.8037 MB / 0.8779 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.5878, allocations: 70.92 kB / 0.878 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.5879, allocations: 23.44 kB / 0.878 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of SimCode: time 3.81e-07/0.5879, allocations: 7.938 kB / 0.878 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of Templates: time 0.01026/0.5982, allocations: 5.768 MB / 0.8836 GB, free: 11.09 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) Environment - environmentSimulation: