Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_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.007661/0.007661, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.002057/0.002058, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8065/0.8065, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.001791, allocations: 74 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1338, allocations: 80.19 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003179/0.137, allocations: 2.122 MB / 0.6613 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1386, allocations: 1.037 MB / 0.6623 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1388, allocations: 7.938 kB / 0.6623 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.1388, allocations: 27.61 kB / 0.6623 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1391, allocations: 79.28 kB / 0.6624 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1395, allocations: 199.5 kB / 0.6626 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1399, allocations: 286.8 kB / 0.6629 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.14, allocations: 78.42 kB / 0.6629 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1402, allocations: 107.6 kB / 0.663 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1404, allocations: 139.3 kB / 0.6632 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.1405, allocations: 24 kB / 0.6632 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.1409, allocations: 303.6 kB / 0.6635 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.141, allocations: 43.78 kB / 0.6635 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.1411, allocations: 115.3 kB / 0.6636 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.1415, allocations: 342.5 kB / 0.664 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1415, allocations: 0 / 0.664 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1415, allocations: 0 / 0.664 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1415, allocations: 0 / 0.664 GB, free: 5.879 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.001087/0.1426, allocations: 0.6307 MB / 0.6646 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1427, allocations: 12.03 kB / 0.6646 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.1427, allocations: 46.73 kB / 0.6646 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.1429, allocations: 40.75 kB / 0.6647 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1433, allocations: 283.7 kB / 0.6649 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1434, allocations: 16.41 kB / 0.665 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1434, allocations: 15.98 kB / 0.665 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.1439, allocations: 228.6 kB / 0.6652 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.144, allocations: 0 / 0.6652 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.144, allocations: 11.94 kB / 0.6652 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.144, allocations: 4 kB / 0.6652 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.1447, allocations: 195.8 kB / 0.6654 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1459, allocations: 0.9424 MB / 0.6663 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.1467, allocations: 241.2 kB / 0.6665 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.1471, allocations: 109.9 kB / 0.6666 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1471, allocations: 3.984 kB / 0.6666 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1472, allocations: 38.5 kB / 0.6667 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1472, allocations: 0 / 0.6667 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001244/0.1484, allocations: 337.2 kB / 0.667 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1485, allocations: 85.11 kB / 0.6671 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1488, allocations: 267 kB / 0.6673 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1488, allocations: 25.7 kB / 0.6674 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1489, allocations: 160.3 kB / 0.6675 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.149, allocations: 55.53 kB / 0.6676 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.1491, allocations: 37.7 kB / 0.6676 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.1492, allocations: 342.8 kB / 0.6679 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.1496, allocations: 91.91 kB / 0.668 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.15, allocations: 141.9 kB / 0.6682 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.1507, allocations: 237.8 kB / 0.6684 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1507, allocations: 0 / 0.6684 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008969/0.1516, allocations: 297.8 kB / 0.6687 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1517, allocations: 7.984 kB / 0.6687 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1517, allocations: 4 kB / 0.6687 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1517, allocations: 3.984 kB / 0.6687 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.152, allocations: 64.05 kB / 0.6687 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.152, allocations: 4.094 kB / 0.6687 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.1522, allocations: 43.78 kB / 0.6688 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.1523, allocations: 12 kB / 0.6688 GB, free: 0.5898 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.0001233/0.1524, allocations: 133.7 kB / 0.6689 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1525, allocations: 27.81 kB / 0.669 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008768/0.1534, allocations: 291.1 kB / 0.6692 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1534, allocations: 4 kB / 0.6692 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1534, allocations: 4 kB / 0.6692 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1534, allocations: 0 / 0.6692 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.1538, allocations: 301.3 kB / 0.6695 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1539, allocations: 0 / 0.6695 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.1541, allocations: 55.89 kB / 0.6696 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1542, allocations: 0 / 0.6696 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1542, allocations: 8 kB / 0.6696 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1542, allocations: 80 / 0.6696 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1542, allocations: 3.984 kB / 0.6696 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.1551, allocations: 444.4 kB / 0.67 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.1552, allocations: 116.8 kB / 0.6701 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.1552, allocations: 0 / 0.6701 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.1555, allocations: 27.97 kB / 0.6702 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.1556, allocations: 19.91 kB / 0.6702 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1556, allocations: 8 kB / 0.6702 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001894/0.1558, allocations: 190 kB / 0.6704 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1558, allocations: 0 / 0.6704 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003431/0.1561, allocations: 55.89 kB / 0.6704 GB, free: 14.83 MB / 0.5137 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.001313/0.1575, allocations: 0.9966 MB / 0.6714 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007946/0.1583, allocations: 228.1 kB / 0.6716 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1583, allocations: 0 / 0.6716 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.1587, allocations: 119.8 kB / 0.6717 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.1592, allocations: 71.59 kB / 0.6718 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.1635, allocations: 2.705 MB / 0.6744 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.1639, allocations: 0.748 MB / 0.6752 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000141/0.164, allocations: 42.27 kB / 0.6752 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.1642, allocations: 87.41 kB / 0.6753 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of SimCode: time 2.094e-06/0.1642, allocations: 0 / 0.6753 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.1918, allocations: 6.542 MB / 0.6817 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.207, allocations: 7.391 kB / 0.6817 GB, free: 3.332 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)