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.00107/0.00107, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.00104/0.00104, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.273/1.273, 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.7199/0.7199, allocations: 122.8 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.27 kB / 0.568 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 77.92 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00285/0.1361, allocations: 2.102 MB / 0.6461 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1376, allocations: 1.045 MB / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.947e-05/0.1377, allocations: 7.938 kB / 0.6471 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.1377, allocations: 23.67 kB / 0.6472 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.138, allocations: 87.22 kB / 0.6473 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.1384, allocations: 191.6 kB / 0.6474 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1387, allocations: 294.7 kB / 0.6477 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1388, allocations: 68.95 kB / 0.6478 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.139, allocations: 107.5 kB / 0.6479 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1392, allocations: 143.4 kB / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.1392, allocations: 20 kB / 0.648 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.1396, allocations: 295.6 kB / 0.6483 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.1396, allocations: 55.77 kB / 0.6484 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.371e-05/0.1397, allocations: 115.3 kB / 0.6485 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1401, allocations: 342.5 kB / 0.6488 GB, free: 4.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1401, allocations: 0 / 0.6488 GB, free: 4.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1401, allocations: 0 / 0.6488 GB, free: 4.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1401, allocations: 0 / 0.6488 GB, free: 4.68 MB / 494.1 MB 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.0009948/0.1411, allocations: 0.6268 MB / 0.6494 GB, free: 4.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1412, allocations: 12.62 kB / 0.6494 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1412, allocations: 46.73 kB / 0.6495 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1414, allocations: 40.73 kB / 0.6495 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1418, allocations: 287.7 kB / 0.6498 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1418, allocations: 16.66 kB / 0.6498 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1419, allocations: 12.38 kB / 0.6498 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.1424, allocations: 232.7 kB / 0.65 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1424, allocations: 4 kB / 0.65 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.1424, allocations: 8 kB / 0.6501 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1424, allocations: 4 kB / 0.6501 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006357/0.1431, allocations: 199.7 kB / 0.6503 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1441, allocations: 0.9307 MB / 0.6512 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007361/0.1448, allocations: 241.4 kB / 0.6514 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.1452, allocations: 117.7 kB / 0.6515 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1452, allocations: 3.938 kB / 0.6515 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.1452, allocations: 38.5 kB / 0.6515 GB, free: 1.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1452, allocations: 0 / 0.6515 GB, free: 1.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001121/0.1464, allocations: 337.2 kB / 0.6519 GB, free: 1.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1464, allocations: 85.09 kB / 0.6519 GB, free: 1.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1467, allocations: 267 kB / 0.6522 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1467, allocations: 29.7 kB / 0.6522 GB, free: 0.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1468, allocations: 160.3 kB / 0.6524 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1469, allocations: 63.42 kB / 0.6524 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.1469, allocations: 37.7 kB / 0.6525 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.147, allocations: 338.8 kB / 0.6528 GB, free: 316 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1474, allocations: 95.77 kB / 0.6529 GB, free: 220 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.1477, allocations: 139.1 kB / 0.653 GB, free: 60 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.1483, allocations: 245.7 kB / 0.6533 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1484, allocations: 0 / 0.6533 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007771/0.1491, allocations: 293.8 kB / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1492, allocations: 4 kB / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1492, allocations: 4 kB / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1492, allocations: 0 / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.1495, allocations: 63.89 kB / 0.6536 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1495, allocations: 8.109 kB / 0.6536 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.1497, allocations: 39.81 kB / 0.6537 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1497, allocations: 12 kB / 0.6537 GB, free: 15.38 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.0001071/0.1498, allocations: 129.8 kB / 0.6538 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.15, allocations: 27.8 kB / 0.6538 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007938/0.1508, allocations: 295.2 kB / 0.6541 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1508, allocations: 4 kB / 0.6541 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1508, allocations: 0 / 0.6541 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1508, allocations: 3.984 kB / 0.6541 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.1511, allocations: 301.4 kB / 0.6544 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1511, allocations: 4 kB / 0.6544 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1514, allocations: 51.95 kB / 0.6544 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1514, allocations: 0 / 0.6544 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1514, allocations: 4 kB / 0.6544 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1514, allocations: 0 / 0.6544 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1514, allocations: 0 / 0.6544 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/0.1523, allocations: 460.2 kB / 0.6549 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.1524, allocations: 108.8 kB / 0.655 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.1524, allocations: 0 / 0.655 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.1527, allocations: 35.95 kB / 0.655 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.1528, allocations: 15.98 kB / 0.655 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1528, allocations: 8 kB / 0.655 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001511/0.1529, allocations: 186 kB / 0.6552 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.153, allocations: 0 / 0.6552 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003331/0.1533, allocations: 59.92 kB / 0.6553 GB, free: 13.62 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.001121/0.1544, allocations: 0.9933 MB / 0.6563 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007011/0.1551, allocations: 224 kB / 0.6565 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1551, allocations: 4.062 kB / 0.6565 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.1555, allocations: 116.3 kB / 0.6566 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.156, allocations: 76.91 kB / 0.6567 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.1597, allocations: 2.71 MB / 0.6593 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.16, allocations: 0.7558 MB / 0.66 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000131/0.1601, allocations: 22.3 kB / 0.6601 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1603, allocations: 91.41 kB / 0.6601 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1603, allocations: 0 / 0.6601 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1841, allocations: 6.562 MB / 0.6666 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.766, allocations: 8.062 kB / 0.6666 GB, free: 2.059 MB / 0.4981 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)