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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.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.638/1.638, allocations: 292.3 MB / 0.5489 GB, free: 13.5 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.001514/0.001514, allocations: 72.28 kB / 0.6716 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2199, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5719/0.7918, allocations: 162.9 MB / 0.9425 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004355/0.7962, allocations: 3.34 MB / 0.9458 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005057/0.7968, allocations: 17.98 kB / 0.9458 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008075/0.7976, allocations: 276 kB / 0.9461 GB, free: 5.598 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.002027/0.7996, allocations: 0.8539 MB / 0.9469 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.8008, allocations: 441.9 kB / 0.9473 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.802, allocations: 1.076 MB / 0.9484 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.8024, allocations: 329.4 kB / 0.9487 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.8029, allocations: 405.8 kB / 0.9491 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.8038, allocations: 347.6 kB / 0.9494 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.8039, allocations: 41.56 kB / 0.9495 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.8053, allocations: 0.6992 MB / 0.9501 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.8055, allocations: 163.9 kB / 0.9503 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.8058, allocations: 268.7 kB / 0.9506 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.8071, allocations: 0.9216 MB / 0.9515 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8071, allocations: 0.5625 kB / 0.9515 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8071, allocations: 0.7812 kB / 0.9515 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.8071, allocations: 0 / 0.9515 GB, free: 5.434 MB / 0.7325 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.00153/0.8086, allocations: 0.8634 MB / 0.9523 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.8087, allocations: 11.67 kB / 0.9523 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.706e-05/0.8088, allocations: 64.89 kB / 0.9524 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.8098, allocations: 150.5 kB / 0.9525 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006979/0.8106, allocations: 493.5 kB / 0.953 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.8106, allocations: 19.34 kB / 0.953 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.8107, allocations: 30.59 kB / 0.953 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.8112, allocations: 323.1 kB / 0.9533 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.8112, allocations: 0.8125 kB / 0.9533 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.8113, allocations: 10.06 kB / 0.9534 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.8113, allocations: 10.16 kB / 0.9534 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.8117, allocations: 226.4 kB / 0.9536 GB, free: 20.46 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.001885/0.8136, allocations: 1.418 MB / 0.955 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.814, allocations: 223.7 kB / 0.9552 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.8142, allocations: 111.2 kB / 0.9553 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.8142, allocations: 3.062 kB / 0.9553 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.8145, allocations: 169 kB / 0.9554 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.8145, allocations: 0 / 0.9554 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.003027/0.8175, allocations: 1.158 MB / 0.9566 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.8176, allocations: 59.16 kB / 0.9566 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.8182, allocations: 456.3 kB / 0.9571 GB, free: 19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.8182, allocations: 35.08 kB / 0.9571 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.8184, allocations: 233.7 kB / 0.9573 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.8185, allocations: 105.5 kB / 0.9574 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.8186, allocations: 85.03 kB / 0.9575 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8188, allocations: 357 kB / 0.9579 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.819, allocations: 130.7 kB / 0.958 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.8194, allocations: 200.7 kB / 0.9582 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.8199, allocations: 326.5 kB / 0.9585 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8199, allocations: 4.438 kB / 0.9585 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009522/0.8209, allocations: 0.4914 MB / 0.959 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.8209, allocations: 7.391 kB / 0.959 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8209, allocations: 1.375 kB / 0.959 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.8212, allocations: 91.06 kB / 0.9591 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.8215, allocations: 69.25 kB / 0.9591 GB, free: 18.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.8234, allocations: 1.946 MB / 0.961 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.8238, allocations: 11.84 kB / 0.961 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.8238, allocations: 16.31 kB / 0.9611 GB, free: 16.73 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.0002285/0.824, allocations: 204.2 kB / 0.9612 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.8241, allocations: 45.44 kB / 0.9613 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.281e-05/0.8242, allocations: 51.83 kB / 0.9613 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8242, allocations: 5.125 kB / 0.9613 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8242, allocations: 2.312 kB / 0.9613 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8243, allocations: 2.906 kB / 0.9613 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.8258, allocations: 1.009 MB / 0.9623 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8258, allocations: 2.562 kB / 0.9623 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.8262, allocations: 67.97 kB / 0.9624 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.8265, allocations: 85.19 kB / 0.9625 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.8265, allocations: 14.31 kB / 0.9625 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.8279, allocations: 1.639 MB / 0.9641 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8279, allocations: 1.391 kB / 0.9641 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.829, allocations: 0.6027 MB / 0.9647 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.8292, allocations: 151.1 kB / 0.9648 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/0.8293, allocations: 14.59 kB / 0.9648 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.8296, allocations: 14.73 kB / 0.9649 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.8297, allocations: 24.53 kB / 0.9649 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.8297, allocations: 16.47 kB / 0.9649 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003161/0.83, allocations: 303 kB / 0.9652 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.83, allocations: 0 / 0.9652 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005448/0.8306, allocations: 129.2 kB / 0.9653 GB, free: 14.49 MB / 0.7481 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.00215/0.8327, allocations: 1.467 MB / 0.9667 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.8338, allocations: 473.4 kB / 0.9672 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.8338, allocations: 4.312 kB / 0.9672 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.8341, allocations: 255.9 kB / 0.9674 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.8352, allocations: 240.5 kB / 0.9677 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.8409, allocations: 4.242 MB / 0.9718 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.8414, allocations: 0.8528 MB / 0.9726 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004334/0.8418, allocations: 90.44 kB / 0.9727 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.842, allocations: 157.9 kB / 0.9729 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of SimCode: time 7.61e-07/0.842, allocations: 0 / 0.9729 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.8764, allocations: 12.84 MB / 0.9854 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.91, allocations: 16.12 kB / 0.9854 GB, free: 9.266 MB / 0.7481 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)