Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.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.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 99.31 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.001145/0.001145, allocations: 177.3 kB / 15.94 MB, free: 228 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.856/1.856, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.708/1.708, allocations: 251.9 MB / 0.51 GB, free: 4.844 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.0005711/0.0005714, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6587, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.199/0.8578, allocations: 136.9 MB / 0.8616 GB, free: 2.215 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006644/0.8645, allocations: 3.221 MB / 0.8648 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.8656, allocations: 15.88 kB / 0.8648 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.867, allocations: 274.8 kB / 0.865 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.8705, allocations: 0.7946 MB / 0.8658 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.8725, allocations: 0.5048 MB / 0.8663 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.8742, allocations: 0.6715 MB / 0.867 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.8747, allocations: 256.4 kB / 0.8672 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.8754, allocations: 330.8 kB / 0.8675 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.8759, allocations: 235 kB / 0.8678 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.8759, allocations: 16 kB / 0.8678 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.877, allocations: 307.5 kB / 0.8681 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.8772, allocations: 135.5 kB / 0.8682 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.8774, allocations: 121.5 kB / 0.8683 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0007936/0.8782, allocations: 0.6156 MB / 0.8689 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.8782, allocations: 0 / 0.8689 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8782, allocations: 0 / 0.8689 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8783, allocations: 0 / 0.8689 GB, free: 10.73 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001654/0.8799, allocations: 0.7632 MB / 0.8697 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.88, allocations: 8.031 kB / 0.8697 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.8811, allocations: 159.2 kB / 0.8698 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.8819, allocations: 465.4 kB / 0.8703 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.882, allocations: 20.66 kB / 0.8703 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.882, allocations: 32 kB / 0.8703 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.8826, allocations: 328.8 kB / 0.8706 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.8826, allocations: 0 / 0.8706 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.8827, allocations: 12 kB / 0.8706 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.8827, allocations: 12.56 kB / 0.8706 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.8831, allocations: 218.1 kB / 0.8709 GB, free: 8.641 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.002292/0.8854, allocations: 1.422 MB / 0.8722 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.8858, allocations: 217.6 kB / 0.8724 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.8859, allocations: 4 kB / 0.8725 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.8862, allocations: 163.7 kB / 0.8726 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.8862, allocations: 4 kB / 0.8726 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30): time 0.002924/0.8892, allocations: 1.143 MB / 0.8737 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.8892, allocations: 59.41 kB / 0.8738 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.8898, allocations: 461.8 kB / 0.8742 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.8898, allocations: 33.7 kB / 0.8743 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.89, allocations: 236.2 kB / 0.8745 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.8901, allocations: 106.5 kB / 0.8746 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.8901, allocations: 12 kB / 0.8746 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.8903, allocations: 346.8 kB / 0.8749 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.8905, allocations: 128.8 kB / 0.8751 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.8908, allocations: 194.1 kB / 0.8752 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.8911, allocations: 159.9 kB / 0.8754 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8911, allocations: 0 / 0.8754 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009615/0.892, allocations: 497.1 kB / 0.8759 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8921, allocations: 4 kB / 0.8759 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8921, allocations: 0 / 0.8759 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.8924, allocations: 76.8 kB / 0.8759 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.8927, allocations: 75.84 kB / 0.876 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.8947, allocations: 1.772 MB / 0.8777 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.8951, allocations: 31.03 kB / 0.8778 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.8951, allocations: 16 kB / 0.8778 GB, free: 1.125 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.8954, allocations: 195.9 kB / 0.878 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.8955, allocations: 51.38 kB / 0.878 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.8956, allocations: 60.56 kB / 0.8781 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.8956, allocations: 4 kB / 0.8781 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8956, allocations: 0 / 0.8781 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.8956, allocations: 0 / 0.8781 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.8975, allocations: 1.024 MB / 0.8791 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8975, allocations: 0 / 0.8791 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.8979, allocations: 67.95 kB / 0.8791 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.8982, allocations: 68.8 kB / 0.8792 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.8983, allocations: 23.95 kB / 0.8792 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.9, allocations: 1.562 MB / 0.8808 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.9, allocations: 11.95 kB / 0.8808 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.9011, allocations: 0.5811 MB / 0.8813 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.9013, allocations: 156.6 kB / 0.8815 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.9014, allocations: 11.98 kB / 0.8815 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.9018, allocations: 35.91 kB / 0.8815 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.9019, allocations: 19.97 kB / 0.8816 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.9019, allocations: 8 kB / 0.8816 GB, free: 13 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004152/0.9023, allocations: 303.1 kB / 0.8819 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9023, allocations: 0 / 0.8819 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005818/0.9029, allocations: 128 kB / 0.882 GB, free: 12.58 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001159/0.9041, allocations: 435.1 kB / 0.8824 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000788/0.9049, allocations: 430.5 kB / 0.8828 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.173e-05/0.9049, allocations: 4 kB / 0.8828 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.9053, allocations: 250.5 kB / 0.883 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.9063, allocations: 232 kB / 0.8833 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.9085, allocations: 1.263 MB / 0.8845 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.9091, allocations: 0.8736 MB / 0.8854 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0003717/0.9095, allocations: 88.31 kB / 0.8854 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.9096, allocations: 39.44 kB / 0.8855 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of SimCode: time 9.82e-07/0.9097, allocations: 0 / 0.8855 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of Templates: time 0.01566/0.9253, allocations: 8.333 MB / 0.8936 GB, free: 0.8633 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: