Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001103/0.001103, allocations: 101.5 kB / 16.27 MB, free: 6.418 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.001094/0.001095, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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.00162/0.00162, allocations: 70.41 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2625, allocations: 114.5 MB / 0.784 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7148/0.9773, allocations: 162.9 MB / 0.9431 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006322/0.9837, allocations: 3.34 MB / 0.9464 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008522/0.9846, allocations: 23.88 kB / 0.9464 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.9856, allocations: 274.5 kB / 0.9466 GB, free: 4.055 MB / 0.7325 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.002523/0.9882, allocations: 0.8477 MB / 0.9475 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.9896, allocations: 444.1 kB / 0.9479 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.9912, allocations: 1.083 MB / 0.9489 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.9917, allocations: 329.9 kB / 0.9493 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007404/0.9925, allocations: 402.3 kB / 0.9496 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.9934, allocations: 345.2 kB / 0.95 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.9935, allocations: 40 kB / 0.95 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.9951, allocations: 0.6976 MB / 0.9507 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.9953, allocations: 163.5 kB / 0.9509 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.9956, allocations: 270.6 kB / 0.9511 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.997, allocations: 0.9193 MB / 0.952 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.997, allocations: 3.984 kB / 0.952 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.254e-06/0.997, allocations: 0 / 0.952 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.9971, allocations: 0 / 0.952 GB, free: 14.54 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001448/0.9985, allocations: 0.8708 MB / 0.9529 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.9986, allocations: 8.031 kB / 0.9529 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.9997, allocations: 147.2 kB / 0.953 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/1, allocations: 488.9 kB / 0.9535 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/1, allocations: 28.56 kB / 0.9535 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/1.001, allocations: 31.91 kB / 0.9535 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/1.001, allocations: 317.1 kB / 0.9538 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/1.001, allocations: 3.938 kB / 0.9538 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/1.001, allocations: 16 kB / 0.9539 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.001, allocations: 8.562 kB / 0.9539 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/1.002, allocations: 214.1 kB / 0.9541 GB, free: 12.34 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.001959/1.004, allocations: 1.414 MB / 0.9554 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/1.004, allocations: 226.7 kB / 0.9557 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/1.004, allocations: 104.8 kB / 0.9558 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/1.004, allocations: 4 kB / 0.9558 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/1.004, allocations: 161.3 kB / 0.9559 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/1.004, allocations: 4 kB / 0.9559 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.003011/1.007, allocations: 1.157 MB / 0.9571 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/1.008, allocations: 67.27 kB / 0.9571 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/1.008, allocations: 457.9 kB / 0.9576 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/1.008, allocations: 33.7 kB / 0.9576 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/1.008, allocations: 233.5 kB / 0.9578 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/1.008, allocations: 114.4 kB / 0.9579 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/1.009, allocations: 74.14 kB / 0.958 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.009, allocations: 354.8 kB / 0.9583 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/1.009, allocations: 132.8 kB / 0.9585 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/1.009, allocations: 198.3 kB / 0.9586 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/1.01, allocations: 323.1 kB / 0.959 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.01, allocations: 0 / 0.959 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009579/1.011, allocations: 0.4972 MB / 0.9594 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.011, allocations: 8 kB / 0.9594 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.011, allocations: 0 / 0.9594 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/1.011, allocations: 88.95 kB / 0.9595 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/1.011, allocations: 63.91 kB / 0.9596 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.013, allocations: 1.959 MB / 0.9615 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/1.014, allocations: 16.86 kB / 0.9615 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/1.014, allocations: 12.05 kB / 0.9615 GB, free: 4.254 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.0002781/1.014, allocations: 203.5 kB / 0.9617 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/1.014, allocations: 47.44 kB / 0.9618 GB, free: 4 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/1.014, allocations: 52.58 kB / 0.9618 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/1.014, allocations: 4 kB / 0.9618 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.014, allocations: 0 / 0.9618 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.014, allocations: 3.984 kB / 0.9618 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/1.016, allocations: 1.006 MB / 0.9628 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.016, allocations: 0 / 0.9628 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/1.016, allocations: 75.89 kB / 0.9629 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/1.017, allocations: 88.66 kB / 0.963 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/1.017, allocations: 16.94 kB / 0.963 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.018, allocations: 1.644 MB / 0.9646 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.018, allocations: 4.031 kB / 0.9646 GB, free: 0.9062 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/1.019, allocations: 0.5919 MB / 0.9652 GB, free: 300 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/1.019, allocations: 152.6 kB / 0.9653 GB, free: 128 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/1.02, allocations: 17.89 kB / 0.9653 GB, free: 112 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/1.02, allocations: 12 kB / 0.9653 GB, free: 100 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/1.02, allocations: 19.97 kB / 0.9654 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/1.02, allocations: 15.98 kB / 0.9654 GB, free: 64 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003622/1.02, allocations: 307.1 kB / 0.9657 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.41e-07/1.02, allocations: 0 / 0.9657 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005562/1.021, allocations: 124 kB / 0.9658 GB, free: 15.64 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.001086/1.022, allocations: 438.3 kB / 0.9662 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.023, allocations: 490.2 kB / 0.9667 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.023, allocations: 3.938 kB / 0.9667 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/1.023, allocations: 254.6 kB / 0.9669 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.025, allocations: 244.8 kB / 0.9672 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/1.026, allocations: 1.061 MB / 0.9682 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/1.027, allocations: 0.8504 MB / 0.969 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/1.027, allocations: 39.44 kB / 0.9691 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of SimCode: time 2.5e-07/1.027, allocations: 0 / 0.9691 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of Templates: time 0.01609/1.043, allocations: 9.265 MB / 0.9781 GB, free: 3.309 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)