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.005228/0.005228, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001243/0.001243, allocations: 196.9 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.363/1.363, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001279/0.001279, allocations: 67.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1848, allocations: 104.7 MB / 0.828 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5563/0.7411, allocations: 163 MB / 0.9872 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.746, allocations: 3.323 MB / 0.9904 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.7467, allocations: 13.97 kB / 0.9904 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008947/0.7477, allocations: 287.1 kB / 0.9907 GB, free: 12.16 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002241/0.75, allocations: 0.8845 MB / 0.9916 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.7511, allocations: 455.4 kB / 0.992 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.7525, allocations: 1.14 MB / 0.9931 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.7531, allocations: 330.8 kB / 0.9934 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008532/0.7539, allocations: 448.4 kB / 0.9939 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.755, allocations: 348.3 kB / 0.9942 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.7551, allocations: 41.47 kB / 0.9942 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.7564, allocations: 0.6955 MB / 0.9949 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.7567, allocations: 171.5 kB / 0.9951 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.7571, allocations: 276.8 kB / 0.9953 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.7587, allocations: 0.9367 MB / 0.9963 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7587, allocations: 0 / 0.9963 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7587, allocations: 0 / 0.9963 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.7587, allocations: 0 / 0.9963 GB, free: 8.508 MB / 0.7481 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.001637/0.7603, allocations: 0.8626 MB / 0.9971 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7604, allocations: 8.25 kB / 0.9971 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.7615, allocations: 157.9 kB / 0.9973 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.7623, allocations: 0.491 MB / 0.9977 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.7623, allocations: 24.91 kB / 0.9978 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.7624, allocations: 32.06 kB / 0.9978 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.763, allocations: 329.2 kB / 0.9981 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.763, allocations: 2.688 kB / 0.9981 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.763, allocations: 14.12 kB / 0.9981 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.7631, allocations: 10.66 kB / 0.9981 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.7635, allocations: 223.2 kB / 0.9983 GB, free: 6.93 MB / 0.7481 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.001883/0.7654, allocations: 1.415 MB / 0.9997 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.7657, allocations: 222 kB / 0.9999 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.7659, allocations: 105.2 kB / 1 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.7659, allocations: 6.969 kB / 1 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.7662, allocations: 176.7 kB / 1 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.7662, allocations: 0 / 1 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002814/0.7691, allocations: 1.141 MB / 1.001 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.7691, allocations: 56.06 kB / 1.001 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.7696, allocations: 457 kB / 1.002 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.7697, allocations: 36.5 kB / 1.002 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.7698, allocations: 239 kB / 1.002 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.7699, allocations: 101.1 kB / 1.002 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.7701, allocations: 76.98 kB / 1.002 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7702, allocations: 359.5 kB / 1.003 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.7704, allocations: 129.8 kB / 1.003 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.7707, allocations: 196.8 kB / 1.003 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.7712, allocations: 324.3 kB / 1.003 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7712, allocations: 0 / 1.003 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009085/0.7721, allocations: 496.9 kB / 1.004 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7721, allocations: 5.844 kB / 1.004 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7721, allocations: 2.406 kB / 1.004 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003362/0.7725, allocations: 84.64 kB / 1.004 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.7728, allocations: 71.84 kB / 1.004 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.7746, allocations: 1.96 MB / 1.006 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.7749, allocations: 10.47 kB / 1.006 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.775, allocations: 14.28 kB / 1.006 GB, free: 0.9336 MB / 0.7481 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.7752, allocations: 195.2 kB / 1.006 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.7753, allocations: 45.84 kB / 1.006 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.895e-05/0.7754, allocations: 61.34 kB / 1.006 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.7754, allocations: 2.406 kB / 1.006 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.7754, allocations: 3.094 kB / 1.006 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.7754, allocations: 0 / 1.006 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.777, allocations: 1.019 MB / 1.007 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.777, allocations: 3.938 kB / 1.007 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.7774, allocations: 71.02 kB / 1.007 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.7776, allocations: 69.2 kB / 1.007 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.7777, allocations: 21.27 kB / 1.007 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.7789, allocations: 1.647 MB / 1.009 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.779, allocations: 0 / 1.009 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.7799, allocations: 0.591 MB / 1.009 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.7801, allocations: 155.5 kB / 1.01 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.7802, allocations: 14.64 kB / 1.01 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.7805, allocations: 8.969 kB / 1.01 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.7806, allocations: 25.69 kB / 1.01 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.7806, allocations: 15.64 kB / 1.01 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002975/0.7809, allocations: 302.9 kB / 1.01 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7809, allocations: 3.938 kB / 1.01 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005361/0.7815, allocations: 124.5 kB / 1.01 GB, free: 13.46 MB / 0.7637 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.001036/0.7825, allocations: 429.1 kB / 1.01 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009359/0.7835, allocations: 467.4 kB / 1.011 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7835, allocations: 0 / 1.011 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.7838, allocations: 259.5 kB / 1.011 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/0.7848, allocations: 241 kB / 1.011 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.7863, allocations: 1.015 MB / 1.012 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.7867, allocations: 0.856 MB / 1.013 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002818/0.787, allocations: 89.66 kB / 1.013 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.7871, allocations: 35.03 kB / 1.013 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of SimCode: time 1.563e-06/0.7871, allocations: 3.938 kB / 1.013 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of Templates: time 0.01399/0.8011, allocations: 8.945 MB / 1.022 GB, free: 5.586 MB / 0.7637 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)