Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_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.004703/0.004703, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001079/0.001079, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7686/0.7686, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.34 kB / 0.5851 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 80.93 MB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002965/0.1421, allocations: 1.581 MB / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1437, allocations: 0.9006 MB / 0.6666 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.1438, allocations: 4 kB / 0.6666 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.1438, allocations: 11.92 kB / 0.6666 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1441, allocations: 19.8 kB / 0.6666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.1445, allocations: 138.5 kB / 0.6668 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1446, allocations: 75.64 kB / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1447, allocations: 16.28 kB / 0.6668 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.043e-05/0.1448, allocations: 35.91 kB / 0.6669 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.145, allocations: 35.84 kB / 0.6669 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.145, allocations: 7.938 kB / 0.6669 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1454, allocations: 283.6 kB / 0.6672 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.1454, allocations: 7.938 kB / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.1455, allocations: 35.84 kB / 0.6672 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1458, allocations: 147.4 kB / 0.6674 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1458, allocations: 0 / 0.6674 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1458, allocations: 4 kB / 0.6674 GB, free: 3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1458, allocations: 0 / 0.6674 GB, free: 3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006074/0.1464, allocations: 414.8 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1465, allocations: 13.11 kB / 0.6678 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.1465, allocations: 30.75 kB / 0.6678 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1466, allocations: 12.88 kB / 0.6678 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1469, allocations: 188.2 kB / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1469, allocations: 12.12 kB / 0.668 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1469, allocations: 0 / 0.668 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1471, allocations: 73.58 kB / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1471, allocations: 0 / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1471, allocations: 4 kB / 0.6681 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1472, allocations: 0 / 0.6681 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1473, allocations: 39.97 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.1478, allocations: 300.8 kB / 0.6684 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1479, allocations: 54.5 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1481, allocations: 28.97 kB / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1481, allocations: 0 / 0.6685 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1481, allocations: 34.56 kB / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1481, allocations: 0 / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003665/0.1485, allocations: 105.6 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1485, allocations: 59.41 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1487, allocations: 131.3 kB / 0.6688 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1487, allocations: 29.64 kB / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.1488, allocations: 104.1 kB / 0.6689 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1488, allocations: 15.83 kB / 0.669 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.1488, allocations: 25.59 kB / 0.669 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1489, allocations: 322.8 kB / 0.6693 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.149, allocations: 19.98 kB / 0.6693 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.1491, allocations: 19.98 kB / 0.6693 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1493, allocations: 60.83 kB / 0.6694 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1493, allocations: 0 / 0.6694 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002158/0.1495, allocations: 94.05 kB / 0.6695 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1495, allocations: 4 kB / 0.6695 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1495, allocations: 4 kB / 0.6695 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1495, allocations: 0 / 0.6695 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1497, allocations: 15.92 kB / 0.6695 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1497, allocations: 0 / 0.6695 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.1497, allocations: 7.938 kB / 0.6695 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1498, allocations: 8 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB 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 8.077e-05/0.1498, allocations: 117.8 kB / 0.6696 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.1499, allocations: 3.953 kB / 0.6696 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1501, allocations: 102 kB / 0.6697 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1502, allocations: 0 / 0.6697 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1502, allocations: 0 / 0.6697 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1502, allocations: 7.922 kB / 0.6697 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1504, allocations: 185.6 kB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1504, allocations: 0 / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.1505, allocations: 19.92 kB / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1505, allocations: 0 / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1506, allocations: 0 / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1506, allocations: 0 / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1506, allocations: 0 / 0.6699 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1508, allocations: 191.4 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.1509, allocations: 89 kB / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1509, allocations: 0 / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.151, allocations: 4 kB / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1511, allocations: 16.05 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1511, allocations: 4 kB / 0.6702 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.1511, allocations: 100.9 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.442e-06/0.1512, allocations: 0 / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002449/0.1514, allocations: 31.89 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB 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.0005836/0.152, allocations: 0.7372 MB / 0.6711 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1522, allocations: 55.91 kB / 0.6711 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1522, allocations: 4 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.1523, allocations: 35.97 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1526, allocations: 11.88 kB / 0.6712 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1542, allocations: 1.453 MB / 0.6726 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1546, allocations: 0.6945 MB / 0.6733 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.1546, allocations: 11.73 kB / 0.6733 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.1547, allocations: 19.44 kB / 0.6733 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1547, allocations: 0 / 0.6733 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.1726, allocations: 2.285 MB / 0.6755 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.284, allocations: 11.17 kB / 0.6755 GB, free: 10.29 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)