Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001292/0.001292, allocations: 106 kB / 16.4 MB, free: 6.465 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.001204/0.001204, allocations: 193.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7893/0.7893, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 73.36 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1397, allocations: 78.87 MB / 0.6506 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003093/0.1428, allocations: 2.111 MB / 0.6526 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1444, allocations: 1.033 MB / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1446, allocations: 7.938 kB / 0.6536 GB, free: 412 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.878e-05/0.1446, allocations: 27.66 kB / 0.6537 GB, free: 384 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1449, allocations: 83.23 kB / 0.6537 GB, free: 300 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1453, allocations: 191.4 kB / 0.6539 GB, free: 108 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.1457, allocations: 298.9 kB / 0.6542 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1459, allocations: 60.98 kB / 0.6543 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.146, allocations: 115.4 kB / 0.6544 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1462, allocations: 139.4 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.1463, allocations: 16 kB / 0.6545 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.1467, allocations: 299.6 kB / 0.6548 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1468, allocations: 51.77 kB / 0.6549 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1469, allocations: 123.3 kB / 0.655 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.1473, allocations: 346.4 kB / 0.6553 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1473, allocations: 0 / 0.6553 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1473, allocations: 0 / 0.6553 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.1473, allocations: 0 / 0.6553 GB, free: 14.68 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001073/0.1484, allocations: 0.6268 MB / 0.6559 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1484, allocations: 8.031 kB / 0.6559 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.814e-05/0.1485, allocations: 50.73 kB / 0.656 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.1487, allocations: 36.75 kB / 0.656 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1491, allocations: 299.7 kB / 0.6563 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1491, allocations: 12.41 kB / 0.6563 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1492, allocations: 16 kB / 0.6563 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.1497, allocations: 228.5 kB / 0.6565 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1497, allocations: 0 / 0.6565 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1497, allocations: 7.984 kB / 0.6566 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1498, allocations: 4 kB / 0.6566 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.1504, allocations: 201 kB / 0.6568 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1516, allocations: 0.9384 MB / 0.6577 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/0.1523, allocations: 245.2 kB / 0.6579 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.1527, allocations: 109.6 kB / 0.658 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1527, allocations: 3.938 kB / 0.658 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1528, allocations: 38.81 kB / 0.658 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1528, allocations: 0 / 0.658 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001177/0.154, allocations: 341.7 kB / 0.6584 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.154, allocations: 77.11 kB / 0.6584 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1543, allocations: 267 kB / 0.6587 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1543, allocations: 33.7 kB / 0.6587 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1544, allocations: 164.3 kB / 0.6589 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1545, allocations: 47.53 kB / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.1546, allocations: 45.7 kB / 0.659 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1547, allocations: 338.7 kB / 0.6593 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1551, allocations: 95.92 kB / 0.6594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.1554, allocations: 139.6 kB / 0.6595 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/0.1561, allocations: 249.7 kB / 0.6598 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1561, allocations: 0 / 0.6598 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008429/0.157, allocations: 293.2 kB / 0.66 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.157, allocations: 9.875 kB / 0.6601 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.157, allocations: 0 / 0.6601 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.157, allocations: 4 kB / 0.6601 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.1573, allocations: 67.89 kB / 0.6601 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1574, allocations: 0 / 0.6601 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1576, allocations: 47.97 kB / 0.6602 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1576, allocations: 4 kB / 0.6602 GB, free: 9.383 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.1577, allocations: 137.7 kB / 0.6603 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1579, allocations: 27.81 kB / 0.6603 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/0.1587, allocations: 291.1 kB / 0.6606 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1587, allocations: 0 / 0.6606 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1587, allocations: 4 kB / 0.6606 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1587, allocations: 0 / 0.6606 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.1591, allocations: 301.3 kB / 0.6609 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1591, allocations: 4 kB / 0.6609 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.1594, allocations: 51.95 kB / 0.661 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1594, allocations: 0 / 0.661 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1594, allocations: 8 kB / 0.661 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1594, allocations: 0 / 0.661 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1594, allocations: 0 / 0.661 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.1603, allocations: 450.5 kB / 0.6614 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1604, allocations: 104.8 kB / 0.6615 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.1604, allocations: 8 kB / 0.6615 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.1607, allocations: 27.97 kB / 0.6615 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.1608, allocations: 19.97 kB / 0.6615 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1608, allocations: 4 kB / 0.6615 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001954/0.161, allocations: 190 kB / 0.6617 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.161, allocations: 0 / 0.6617 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003485/0.1613, allocations: 59.89 kB / 0.6618 GB, free: 7.629 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.1626, allocations: 0.9943 MB / 0.6628 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007532/0.1634, allocations: 219.7 kB / 0.663 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1634, allocations: 4.312 kB / 0.663 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.1637, allocations: 123.8 kB / 0.6631 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.1643, allocations: 65.58 kB / 0.6632 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.1684, allocations: 2.716 MB / 0.6658 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1687, allocations: 0.7517 MB / 0.6665 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.1689, allocations: 38.27 kB / 0.6666 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.169, allocations: 87.41 kB / 0.6667 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.169, allocations: 4 kB / 0.6667 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.1963, allocations: 6.538 MB / 0.673 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/7.895, allocations: 17.28 kB / 0.6731 GB, free: 12.07 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)