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.001089/0.001089, allocations: 109.2 kB / 16.41 MB, free: 6.461 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.001234/0.001234, allocations: 193.3 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7138/0.7138, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.31 kB / 0.5726 GB, free: 27.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 78.71 MB / 0.6495 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00343/0.1307, allocations: 2.107 MB / 0.6515 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1325, allocations: 1.037 MB / 0.6525 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1327, allocations: 4 kB / 0.6525 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.377e-05/0.1328, allocations: 31.66 kB / 0.6526 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.1332, allocations: 83.17 kB / 0.6526 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.1337, allocations: 199.4 kB / 0.6528 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.1341, allocations: 294.8 kB / 0.6531 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1343, allocations: 60.98 kB / 0.6532 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1344, allocations: 115.5 kB / 0.6533 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1347, allocations: 139.4 kB / 0.6534 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.1348, allocations: 20 kB / 0.6534 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.1352, allocations: 295.6 kB / 0.6537 GB, free: 324 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.1352, allocations: 51.78 kB / 0.6538 GB, free: 272 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.1354, allocations: 119.3 kB / 0.6539 GB, free: 152 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.1358, allocations: 338.6 kB / 0.6542 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1358, allocations: 0 / 0.6542 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1358, allocations: 0 / 0.6542 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.1359, allocations: 4 kB / 0.6542 GB, free: 15.81 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.001067/0.1369, allocations: 0.6346 MB / 0.6548 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.137, allocations: 12.03 kB / 0.6548 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.137, allocations: 46.73 kB / 0.6549 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.1373, allocations: 40.69 kB / 0.6549 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.1376, allocations: 283.6 kB / 0.6552 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1377, allocations: 24.39 kB / 0.6552 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1377, allocations: 12 kB / 0.6552 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000511/0.1382, allocations: 228.5 kB / 0.6554 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.1382, allocations: 4 kB / 0.6555 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1383, allocations: 8 kB / 0.6555 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1383, allocations: 4 kB / 0.6555 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.1389, allocations: 196.9 kB / 0.6557 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1401, allocations: 0.9423 MB / 0.6566 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007463/0.1408, allocations: 237.2 kB / 0.6568 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.1412, allocations: 105.6 kB / 0.6569 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1412, allocations: 12.23 kB / 0.6569 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1412, allocations: 42.56 kB / 0.6569 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.1413, allocations: 3.938 kB / 0.657 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001114/0.1424, allocations: 333.7 kB / 0.6573 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1424, allocations: 85.09 kB / 0.6574 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1427, allocations: 267 kB / 0.6576 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1427, allocations: 25.7 kB / 0.6576 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1428, allocations: 160.3 kB / 0.6578 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.1429, allocations: 59.53 kB / 0.6578 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.1429, allocations: 41.66 kB / 0.6579 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1431, allocations: 342.8 kB / 0.6582 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.1434, allocations: 87.91 kB / 0.6583 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.1437, allocations: 146.1 kB / 0.6584 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.1444, allocations: 241.7 kB / 0.6587 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1444, allocations: 4 kB / 0.6587 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007963/0.1452, allocations: 293.3 kB / 0.6589 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1452, allocations: 11.98 kB / 0.659 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1452, allocations: 4 kB / 0.659 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1453, allocations: 0 / 0.659 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1455, allocations: 59.89 kB / 0.659 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.1456, allocations: 4 kB / 0.659 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1458, allocations: 43.8 kB / 0.6591 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1458, allocations: 12 kB / 0.6591 GB, free: 10.5 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.0001151/0.1459, allocations: 137.7 kB / 0.6592 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.146, allocations: 27.84 kB / 0.6592 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007998/0.1469, allocations: 283.2 kB / 0.6595 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.1469, allocations: 4 kB / 0.6595 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1469, allocations: 3.938 kB / 0.6595 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1469, allocations: 0 / 0.6595 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.1473, allocations: 301.3 kB / 0.6598 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.1473, allocations: 4 kB / 0.6598 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.1475, allocations: 47.95 kB / 0.6598 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1475, allocations: 4 kB / 0.6599 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1476, allocations: 8 kB / 0.6599 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1476, allocations: 4 kB / 0.6599 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1476, allocations: 0 / 0.6599 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.1484, allocations: 452.2 kB / 0.6603 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.1484, allocations: 108.9 kB / 0.6604 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.1485, allocations: 3.938 kB / 0.6604 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.1487, allocations: 27.97 kB / 0.6604 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.1488, allocations: 16.25 kB / 0.6604 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1488, allocations: 12 kB / 0.6605 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001605/0.149, allocations: 190 kB / 0.6606 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.149, allocations: 3.938 kB / 0.6606 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003353/0.1493, allocations: 51.94 kB / 0.6607 GB, free: 8.746 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.001064/0.1504, allocations: 0.9925 MB / 0.6617 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006867/0.1511, allocations: 231.6 kB / 0.6619 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1511, allocations: 0 / 0.6619 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.1515, allocations: 120.2 kB / 0.662 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.152, allocations: 70.27 kB / 0.6621 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.1556, allocations: 2.708 MB / 0.6647 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1559, allocations: 0.7556 MB / 0.6654 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000129/0.1561, allocations: 26.28 kB / 0.6655 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.1562, allocations: 91.34 kB / 0.6656 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1562, allocations: 0 / 0.6656 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1803, allocations: 6.539 MB / 0.6719 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.539, allocations: 12.05 kB / 0.672 GB, free: 13.2 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)