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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001323, allocations: 182.8 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009855/0.0009857, allocations: 88.23 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004648, allocations: 11.64 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2636, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1636/0.4272, allocations: 158.6 MB / 1.056 GB, free: 284 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5198/0.9471, allocations: 3.299 MB / 1.06 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/0.9478, allocations: 17.11 kB / 1.06 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.9486, allocations: 247.1 kB / 1.06 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.9509, allocations: 0.7957 MB / 1.061 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.9521, allocations: 421.4 kB / 1.061 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.9541, allocations: 1.423 MB / 1.062 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005136/0.9546, allocations: 277.1 kB / 1.063 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007191/0.9554, allocations: 362.4 kB / 1.063 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.9564, allocations: 333.3 kB / 1.063 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.9565, allocations: 17.53 kB / 1.063 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.9582, allocations: 0.7732 MB / 1.064 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.9584, allocations: 147.5 kB / 1.064 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.9589, allocations: 275.9 kB / 1.065 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.9601, allocations: 0.6962 MB / 1.065 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9601, allocations: 0 / 1.065 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9601, allocations: 0 / 1.065 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.9601, allocations: 0 / 1.065 GB, free: 17.86 MB / 0.7136 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.001364/0.9615, allocations: 0.768 MB / 1.066 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.9615, allocations: 9.656 kB / 1.066 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.9626, allocations: 151.6 kB / 1.066 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.9633, allocations: 488.1 kB / 1.067 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.9634, allocations: 26.91 kB / 1.067 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.9634, allocations: 31.55 kB / 1.067 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.964, allocations: 329 kB / 1.067 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.9641, allocations: 0 / 1.067 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.9641, allocations: 18.19 kB / 1.067 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.9642, allocations: 12.94 kB / 1.067 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.9646, allocations: 216.4 kB / 1.067 GB, free: 16.94 MB / 0.7136 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.002205/0.9668, allocations: 1.426 MB / 1.069 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.9672, allocations: 215.3 kB / 1.069 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.9675, allocations: 108.3 kB / 1.069 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.9675, allocations: 4.281 kB / 1.069 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.9679, allocations: 166.1 kB / 1.069 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 2.996e-06/0.9679, allocations: 7.938 kB / 1.069 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.003298/0.9712, allocations: 1.15 MB / 1.07 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.9713, allocations: 55.19 kB / 1.07 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.9721, allocations: 458 kB / 1.071 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.9721, allocations: 32.2 kB / 1.071 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.9723, allocations: 236.7 kB / 1.071 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.9724, allocations: 109.8 kB / 1.071 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.9725, allocations: 9.156 kB / 1.071 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.9727, allocations: 353.9 kB / 1.071 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.9729, allocations: 131.1 kB / 1.071 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.9733, allocations: 195.8 kB / 1.072 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.9738, allocations: 320.4 kB / 1.072 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9738, allocations: 0.7188 kB / 1.072 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001114/0.975, allocations: 495.9 kB / 1.072 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.975, allocations: 6.172 kB / 1.072 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.975, allocations: 2.219 kB / 1.072 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.9755, allocations: 83.41 kB / 1.073 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.9759, allocations: 75.14 kB / 1.073 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.9784, allocations: 1.746 MB / 1.074 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.9789, allocations: 31.09 kB / 1.074 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.9789, allocations: 15.3 kB / 1.074 GB, free: 13.41 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004471/0.9794, allocations: 205.4 kB / 1.075 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.9795, allocations: 46.33 kB / 1.075 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.9796, allocations: 54.41 kB / 1.075 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9796, allocations: 2.844 kB / 1.075 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.9796, allocations: 1.75 kB / 1.075 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.9797, allocations: 1.828 kB / 1.075 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.9819, allocations: 1.017 MB / 1.076 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.9819, allocations: 4.688 kB / 1.076 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.9823, allocations: 69.23 kB / 1.076 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003348/0.9827, allocations: 77.92 kB / 1.076 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.9827, allocations: 10.62 kB / 1.076 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.9843, allocations: 1.559 MB / 1.077 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9843, allocations: 0 / 1.077 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.9855, allocations: 0.5903 MB / 1.078 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.9857, allocations: 154.2 kB / 1.078 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.9858, allocations: 10 kB / 1.078 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.9862, allocations: 23.97 kB / 1.078 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.9863, allocations: 24.05 kB / 1.078 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.9863, allocations: 12.14 kB / 1.078 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004229/0.9867, allocations: 312.5 kB / 1.078 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9867, allocations: 1 kB / 1.078 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006603/0.9874, allocations: 128.5 kB / 1.079 GB, free: 11.25 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.9885, allocations: 428.8 kB / 1.079 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.9893, allocations: 430 kB / 1.079 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9893, allocations: 5.531 kB / 1.079 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.9897, allocations: 256.3 kB / 1.08 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.9908, allocations: 233 kB / 1.08 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.9928, allocations: 1.309 MB / 1.081 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.9933, allocations: 0.849 MB / 1.082 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.9934, allocations: 44.84 kB / 1.082 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/0.9934, allocations: 0 / 1.082 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of Templates: time 0.01429/1.008, allocations: 9.168 MB / 1.091 GB, free: 8.613 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (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)