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.005768/0.005768, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001303/0.001303, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.2/1.2, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.027 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.001264/0.001264, allocations: 67.89 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1866, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5581/0.7447, allocations: 163 MB / 0.9872 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004398/0.7491, allocations: 3.316 MB / 0.9904 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.7495, allocations: 14.38 kB / 0.9904 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.7502, allocations: 283.7 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.001606/0.7518, allocations: 0.8522 MB / 0.9915 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008102/0.7526, allocations: 464.6 kB / 0.992 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.7536, allocations: 1.139 MB / 0.9931 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.754, allocations: 334.4 kB / 0.9934 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.7545, allocations: 423.5 kB / 0.9938 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.7552, allocations: 351.7 kB / 0.9941 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.389e-05/0.7552, allocations: 43.31 kB / 0.9942 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008935/0.7561, allocations: 0.6879 MB / 0.9948 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.7563, allocations: 175.8 kB / 0.995 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.7565, allocations: 270.1 kB / 0.9953 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009416/0.7575, allocations: 0.9396 MB / 0.9962 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7575, allocations: 0 / 0.9962 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7575, allocations: 0 / 0.9962 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.7575, allocations: 0 / 0.9962 GB, free: 8.555 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.00117/0.7587, allocations: 0.8654 MB / 0.997 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.7587, allocations: 10.38 kB / 0.997 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009235/0.7597, allocations: 152.2 kB / 0.9972 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.7603, allocations: 0.4913 MB / 0.9977 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.7603, allocations: 29.47 kB / 0.9977 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.7604, allocations: 27.5 kB / 0.9977 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.7609, allocations: 329.2 kB / 0.998 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.7609, allocations: 2.531 kB / 0.998 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.7609, allocations: 10.84 kB / 0.9981 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.761, allocations: 14.66 kB / 0.9981 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.7613, allocations: 214.7 kB / 0.9983 GB, free: 6.984 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.001585/0.7629, allocations: 1.423 MB / 0.9997 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.7632, allocations: 214.1 kB / 0.9999 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.7634, allocations: 115 kB / 1 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.7634, allocations: 6.438 kB / 1 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.7637, allocations: 174.2 kB / 1 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.7637, allocations: 0 / 1 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002545/0.7663, allocations: 1.146 MB / 1.001 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.7663, allocations: 56.16 kB / 1.001 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.7668, allocations: 458.4 kB / 1.002 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.7668, allocations: 32.27 kB / 1.002 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.767, allocations: 233.1 kB / 1.002 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.767, allocations: 105.1 kB / 1.002 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.7672, allocations: 80.94 kB / 1.002 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7673, allocations: 355.4 kB / 1.003 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.7675, allocations: 129.8 kB / 1.003 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.7678, allocations: 196.3 kB / 1.003 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.7682, allocations: 324.9 kB / 1.003 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7682, allocations: 0.875 kB / 1.003 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008801/0.7691, allocations: 489.5 kB / 1.004 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7691, allocations: 5.062 kB / 1.004 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7691, allocations: 6.75 kB / 1.004 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.7695, allocations: 85.02 kB / 1.004 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.7698, allocations: 78.88 kB / 1.004 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.7716, allocations: 1.95 MB / 1.006 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.7719, allocations: 20.86 kB / 1.006 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.7719, allocations: 13.59 kB / 1.006 GB, free: 0.9766 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.0002037/0.7721, allocations: 199.3 kB / 1.006 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.7722, allocations: 46.44 kB / 1.006 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.7723, allocations: 52.77 kB / 1.006 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.7723, allocations: 3.031 kB / 1.006 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7723, allocations: 2.719 kB / 1.006 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7723, allocations: 3.984 kB / 1.006 GB, free: 0.7422 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.7738, allocations: 1.012 MB / 1.007 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7739, allocations: 6.469 kB / 1.007 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.7742, allocations: 69.86 kB / 1.007 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.7745, allocations: 80.09 kB / 1.007 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.7745, allocations: 10.09 kB / 1.007 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.7758, allocations: 1.646 MB / 1.009 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7758, allocations: 1.562 kB / 1.009 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.7767, allocations: 0.5919 MB / 1.009 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.7769, allocations: 156.2 kB / 1.009 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.777, allocations: 13.38 kB / 1.01 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.7773, allocations: 12.77 kB / 1.01 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.7774, allocations: 26.25 kB / 1.01 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.7774, allocations: 11.81 kB / 1.01 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002912/0.7777, allocations: 306.4 kB / 1.01 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7777, allocations: 4 kB / 1.01 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004524/0.7782, allocations: 124.2 kB / 1.01 GB, free: 13.51 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.0009107/0.7791, allocations: 427.9 kB / 1.01 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008178/0.7799, allocations: 467.1 kB / 1.011 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7799, allocations: 2.156 kB / 1.011 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.7802, allocations: 260.7 kB / 1.011 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7812, allocations: 238.9 kB / 1.011 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.7826, allocations: 1.014 MB / 1.012 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.783, allocations: 0.8599 MB / 1.013 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002402/0.7832, allocations: 88.89 kB / 1.013 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.7833, allocations: 39.61 kB / 1.013 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of SimCode: time 2.3e-07/0.7833, allocations: 0 / 1.013 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of Templates: time 0.01237/0.7957, allocations: 8.938 MB / 1.022 GB, free: 5.672 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)