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.001131/0.001131, allocations: 101.4 kB / 15.7 MB, free: 28 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.001094/0.001094, allocations: 191.3 kB / 16.64 MB, free: 6.445 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.383/1.383, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.679/1.679, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001403/0.001403, allocations: 66.44 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2001, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6299/0.8301, allocations: 162.9 MB / 0.9427 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00545/0.8356, allocations: 3.327 MB / 0.946 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008933/0.8366, allocations: 18.75 kB / 0.946 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.8376, allocations: 277.1 kB / 0.9462 GB, free: 1.656 MB / 0.7169 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.00301/0.8406, allocations: 0.8483 MB / 0.9471 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.8421, allocations: 448.7 kB / 0.9475 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.8443, allocations: 1.084 MB / 0.9486 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000855/0.8452, allocations: 331.8 kB / 0.9489 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.8463, allocations: 411.6 kB / 0.9493 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.8476, allocations: 349.1 kB / 0.9496 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.8477, allocations: 39.88 kB / 0.9496 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.8498, allocations: 0.694 MB / 0.9503 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.8501, allocations: 162.2 kB / 0.9505 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.8505, allocations: 275.1 kB / 0.9507 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.8522, allocations: 0.9269 MB / 0.9516 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8522, allocations: 5.344 kB / 0.9516 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8522, allocations: 0 / 0.9516 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.8522, allocations: 0 / 0.9516 GB, free: 0.9922 MB / 0.7169 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.001444/0.8537, allocations: 0.8645 MB / 0.9525 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.8537, allocations: 14.03 kB / 0.9525 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/0.8538, allocations: 64.17 kB / 0.9526 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.8548, allocations: 148.8 kB / 0.9527 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.8555, allocations: 0.4928 MB / 0.9532 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.8556, allocations: 25.7 kB / 0.9532 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.8556, allocations: 28.62 kB / 0.9532 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.8562, allocations: 325.4 kB / 0.9535 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.8562, allocations: 0 / 0.9535 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.8562, allocations: 14.06 kB / 0.9536 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.8563, allocations: 11.69 kB / 0.9536 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.8566, allocations: 213.7 kB / 0.9538 GB, free: 16 MB / 0.7325 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.001844/0.8585, allocations: 1.409 MB / 0.9552 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.8589, allocations: 221 kB / 0.9554 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.859, allocations: 110.1 kB / 0.9555 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.8591, allocations: 2.594 kB / 0.9555 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.8594, allocations: 173.8 kB / 0.9556 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.8594, allocations: 0 / 0.9556 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002844/0.8622, allocations: 1.159 MB / 0.9568 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.8623, allocations: 59.56 kB / 0.9568 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.8628, allocations: 458.5 kB / 0.9573 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.8629, allocations: 34.98 kB / 0.9573 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.8631, allocations: 233.3 kB / 0.9575 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.8632, allocations: 105.6 kB / 0.9576 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.8633, allocations: 83.23 kB / 0.9577 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8634, allocations: 353 kB / 0.958 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.8637, allocations: 133.9 kB / 0.9582 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.8639, allocations: 195.8 kB / 0.9584 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.8644, allocations: 329.9 kB / 0.9587 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8644, allocations: 7.875 kB / 0.9587 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009618/0.8654, allocations: 498.7 kB / 0.9591 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8654, allocations: 6.438 kB / 0.9592 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8654, allocations: 2.75 kB / 0.9592 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.8658, allocations: 88.34 kB / 0.9592 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.8661, allocations: 66.84 kB / 0.9593 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.8681, allocations: 1.953 MB / 0.9612 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.8685, allocations: 12.02 kB / 0.9612 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.8686, allocations: 13.69 kB / 0.9612 GB, free: 12.23 MB / 0.7325 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.0002687/0.8689, allocations: 195.9 kB / 0.9614 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/0.869, allocations: 44.97 kB / 0.9615 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.8691, allocations: 54.16 kB / 0.9615 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.8691, allocations: 3.75 kB / 0.9615 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.8691, allocations: 4.062 kB / 0.9615 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8691, allocations: 3.891 kB / 0.9615 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.8708, allocations: 1.008 MB / 0.9625 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8708, allocations: 0 / 0.9625 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.8712, allocations: 72.58 kB / 0.9626 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.8715, allocations: 80.11 kB / 0.9627 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.8716, allocations: 12.98 kB / 0.9627 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.873, allocations: 1.647 MB / 0.9643 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8731, allocations: 1.094 kB / 0.9643 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.8744, allocations: 0.5953 MB / 0.9649 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.8746, allocations: 149.9 kB / 0.965 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.8747, allocations: 17.92 kB / 0.965 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.8751, allocations: 12.31 kB / 0.965 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.8751, allocations: 21.83 kB / 0.9651 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.8752, allocations: 13.58 kB / 0.9651 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004/0.8756, allocations: 309.9 kB / 0.9654 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8756, allocations: 0 / 0.9654 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006247/0.8762, allocations: 124.3 kB / 0.9655 GB, free: 9.965 MB / 0.7325 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.002569/0.8788, allocations: 1.467 MB / 0.9669 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.8799, allocations: 468.8 kB / 0.9674 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8799, allocations: 1.125 kB / 0.9674 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.8802, allocations: 256.5 kB / 0.9676 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.8815, allocations: 245.1 kB / 0.9678 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.8875, allocations: 4.187 MB / 0.9719 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.8879, allocations: 0.8492 MB / 0.9728 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004107/0.8884, allocations: 87.56 kB / 0.9728 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.8886, allocations: 156.8 kB / 0.973 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.8886, allocations: 4 kB / 0.973 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.9254, allocations: 12.87 MB / 0.9856 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.15, allocations: 5.797 kB / 0.9856 GB, free: 0.9922 MB / 0.7325 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)