Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9056/0.9056, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.41 kB / 0.5055 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1451, allocations: 80.92 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006082/0.1512, allocations: 4.542 MB / 0.5889 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1523, allocations: 0.8146 MB / 0.5897 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1524, allocations: 0 / 0.5897 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1525, allocations: 31.77 kB / 0.5897 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.1527, allocations: 35.7 kB / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.1532, allocations: 167.4 kB / 0.5899 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1534, allocations: 175.4 kB / 0.5901 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.1535, allocations: 17.12 kB / 0.5901 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1537, allocations: 91.69 kB / 0.5902 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1538, allocations: 75.72 kB / 0.5903 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1539, allocations: 12 kB / 0.5903 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.1542, allocations: 147.8 kB / 0.5904 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.1542, allocations: 39.83 kB / 0.5905 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.1543, allocations: 67.72 kB / 0.5905 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.1547, allocations: 239.6 kB / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1547, allocations: 4 kB / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1547, allocations: 0 / 0.5908 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.1547, allocations: 0 / 0.5908 GB, free: 13.95 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000845/0.1556, allocations: 474.9 kB / 0.5912 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1556, allocations: 12.03 kB / 0.5912 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1557, allocations: 42.75 kB / 0.5913 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.1557, allocations: 16.75 kB / 0.5913 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1559, allocations: 191.4 kB / 0.5915 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1559, allocations: 12.12 kB / 0.5915 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1559, allocations: 4 kB / 0.5915 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.1562, allocations: 113.6 kB / 0.5916 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1563, allocations: 0 / 0.5916 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1563, allocations: 11.92 kB / 0.5916 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1563, allocations: 7.938 kB / 0.5916 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.1567, allocations: 143.8 kB / 0.5917 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009863/0.1577, allocations: 464.4 kB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.158, allocations: 118.5 kB / 0.5923 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1582, allocations: 80.8 kB / 0.5924 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.1596, allocations: 0.9606 MB / 0.5933 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1596, allocations: 38.5 kB / 0.5934 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1596, allocations: 0 / 0.5934 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006622/0.1603, allocations: 209.4 kB / 0.5936 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1604, allocations: 55.41 kB / 0.5936 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1605, allocations: 161.8 kB / 0.5938 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1605, allocations: 33.7 kB / 0.5938 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.1606, allocations: 108.4 kB / 0.5939 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1606, allocations: 39.45 kB / 0.5939 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.1607, allocations: 53.7 kB / 0.594 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.1608, allocations: 318.8 kB / 0.5943 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.1611, allocations: 75.94 kB / 0.5944 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1613, allocations: 107.3 kB / 0.5945 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.1618, allocations: 175.3 kB / 0.5946 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1618, allocations: 0 / 0.5946 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005854/0.1624, allocations: 252.8 kB / 0.5949 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1624, allocations: 6.5 kB / 0.5949 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1624, allocations: 0 / 0.5949 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1624, allocations: 4 kB / 0.5949 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.1627, allocations: 55.89 kB / 0.5949 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1627, allocations: 0 / 0.5949 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1629, allocations: 43.77 kB / 0.595 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1629, allocations: 11.98 kB / 0.595 GB, free: 9.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.112e-05/0.163, allocations: 121.8 kB / 0.5951 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.163, allocations: 11.84 kB / 0.5951 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.1635, allocations: 181 kB / 0.5953 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1636, allocations: 3.984 kB / 0.5953 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1636, allocations: 0 / 0.5953 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1636, allocations: 4 kB / 0.5953 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1638, allocations: 221.4 kB / 0.5955 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1638, allocations: 0 / 0.5955 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.164, allocations: 39.78 kB / 0.5955 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.164, allocations: 0 / 0.5955 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.164, allocations: 8 kB / 0.5956 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.164, allocations: 4 kB / 0.5956 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.164, allocations: 0 / 0.5956 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1645, allocations: 247.3 kB / 0.5958 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.1646, allocations: 108.8 kB / 0.5959 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1646, allocations: 0 / 0.5959 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1647, allocations: 19.98 kB / 0.5959 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1648, allocations: 7.984 kB / 0.5959 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1648, allocations: 4 kB / 0.5959 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.011e-05/0.1649, allocations: 116.9 kB / 0.596 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1649, allocations: 0 / 0.596 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000343/0.1652, allocations: 68.31 kB / 0.5961 GB, free: 7.992 MB / 0.4981 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 (12): * Single equations (assignments): 12 * 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.0008551/0.1661, allocations: 0.8485 MB / 0.5969 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005105/0.1666, allocations: 171.8 kB / 0.5971 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1666, allocations: 0 / 0.5971 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.1668, allocations: 64.14 kB / 0.5972 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1672, allocations: 27.92 kB / 0.5972 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.1697, allocations: 1.931 MB / 0.5991 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.17, allocations: 0.7045 MB / 0.5998 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.1701, allocations: 25 kB / 0.5998 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.1702, allocations: 35.42 kB / 0.5998 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1702, allocations: 7.938 kB / 0.5998 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2369/0.407, allocations: 4.211 MB / 0.6039 GB, free: 53.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.611, allocations: 7.797 kB / 0.6039 GB, free: 53.43 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)