Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001669/0.001669, allocations: 104.7 kB / 16.4 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.002018/0.002018, 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.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7089/0.7089, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 72 kB / 0.568 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.129, allocations: 77.93 MB / 0.6441 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002925/0.132, allocations: 1.56 MB / 0.6456 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1334, allocations: 0.9095 MB / 0.6465 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.1335, allocations: 0 / 0.6465 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.1336, allocations: 7.938 kB / 0.6465 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1338, allocations: 23.78 kB / 0.6465 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1342, allocations: 139.3 kB / 0.6466 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1344, allocations: 83.62 kB / 0.6467 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.1345, allocations: 15.98 kB / 0.6467 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.1346, allocations: 31.92 kB / 0.6468 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1347, allocations: 43.77 kB / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1348, allocations: 4 kB / 0.6468 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.1351, allocations: 283.6 kB / 0.6471 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.1352, allocations: 15.92 kB / 0.6471 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.1352, allocations: 27.81 kB / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1355, allocations: 159.7 kB / 0.6473 GB, free: 6.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1355, allocations: 0 / 0.6473 GB, free: 6.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1355, allocations: 4 kB / 0.6473 GB, free: 6.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1355, allocations: 0 / 0.6473 GB, free: 6.238 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005605/0.1361, allocations: 406.8 kB / 0.6477 GB, free: 5.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1361, allocations: 8.625 kB / 0.6477 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1362, allocations: 34.73 kB / 0.6477 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1363, allocations: 12.89 kB / 0.6477 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1366, allocations: 196.2 kB / 0.6479 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.1366, allocations: 384 / 0.6479 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1366, allocations: 12.31 kB / 0.6479 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1368, allocations: 65.78 kB / 0.648 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1369, allocations: 0 / 0.648 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1369, allocations: 0 / 0.648 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1369, allocations: 4 kB / 0.648 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.137, allocations: 39.97 kB / 0.648 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.1375, allocations: 296.8 kB / 0.6483 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1376, allocations: 58.5 kB / 0.6484 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.1377, allocations: 28.95 kB / 0.6484 GB, free: 4.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1377, allocations: 4 kB / 0.6484 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1378, allocations: 38.56 kB / 0.6484 GB, free: 4.887 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1378, allocations: 0 / 0.6484 GB, free: 4.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003636/0.1381, allocations: 101.6 kB / 0.6485 GB, free: 4.781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.1382, allocations: 55.34 kB / 0.6486 GB, free: 4.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1383, allocations: 127.1 kB / 0.6487 GB, free: 4.582 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1383, allocations: 37.64 kB / 0.6487 GB, free: 4.539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.1384, allocations: 96.12 kB / 0.6488 GB, free: 4.441 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1384, allocations: 15.92 kB / 0.6488 GB, free: 4.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.1384, allocations: 21.7 kB / 0.6489 GB, free: 4.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.1385, allocations: 322.8 kB / 0.6492 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.1386, allocations: 19.98 kB / 0.6492 GB, free: 4.055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.1387, allocations: 28.34 kB / 0.6492 GB, free: 4.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1388, allocations: 56.84 kB / 0.6493 GB, free: 3.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1389, allocations: 0 / 0.6493 GB, free: 3.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002132/0.1391, allocations: 93.55 kB / 0.6494 GB, free: 3.871 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1391, allocations: 4 kB / 0.6494 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1391, allocations: 0 / 0.6494 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1391, allocations: 0 / 0.6494 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1392, allocations: 15.98 kB / 0.6494 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1393, allocations: 0 / 0.6494 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.62e-05/0.1393, allocations: 15.94 kB / 0.6494 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1393, allocations: 7.938 kB / 0.6494 GB, free: 3.828 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 7.813e-05/0.1394, allocations: 117.8 kB / 0.6495 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.1395, allocations: 7.953 kB / 0.6495 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1397, allocations: 105.9 kB / 0.6496 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1397, allocations: 0 / 0.6496 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1397, allocations: 0 / 0.6496 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1398, allocations: 0 / 0.6496 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.1399, allocations: 189.6 kB / 0.6498 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1399, allocations: 0 / 0.6498 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.49e-05/0.14, allocations: 15.98 kB / 0.6498 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.14, allocations: 0 / 0.6498 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1401, allocations: 0 / 0.6498 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1401, allocations: 4.125 kB / 0.6498 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1401, allocations: 4 kB / 0.6498 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1403, allocations: 191.4 kB / 0.65 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.1404, allocations: 85.06 kB / 0.6501 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.1404, allocations: 4 kB / 0.6501 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.1405, allocations: 11.92 kB / 0.6501 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1405, allocations: 0 / 0.6501 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1405, allocations: 4 kB / 0.6501 GB, free: 2.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.1406, allocations: 109.2 kB / 0.6502 GB, free: 2.891 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 0 / 0.6502 GB, free: 2.891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1409, allocations: 23.94 kB / 0.6502 GB, free: 2.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0005418/0.1414, allocations: 0.7358 MB / 0.651 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1416, allocations: 59.89 kB / 0.651 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1417, allocations: 4 kB / 0.651 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.1417, allocations: 27.98 kB / 0.6511 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.142, allocations: 12 kB / 0.6511 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1435, allocations: 1.456 MB / 0.6525 GB, free: 480 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1438, allocations: 0.6963 MB / 0.6532 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.1438, allocations: 4.438 kB / 0.6532 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.1439, allocations: 27.42 kB / 0.6532 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.1439, allocations: 0 / 0.6532 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.1619, allocations: 2.305 MB / 0.6554 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.481, allocations: 0 / 0.6554 GB, free: 13.53 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)