Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001525/0.001525, allocations: 108 kB / 15.61 MB, free: 148 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.0019/0.0019, allocations: 194.3 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9429/0.9429, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 68.25 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1489, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005682/0.1546, allocations: 3.712 MB / 0.5881 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001961/0.1548, allocations: 151.5 kB / 0.5882 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.1548, allocations: 3.938 kB / 0.5882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.395e-05/0.1549, allocations: 7.938 kB / 0.5882 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.155, allocations: 15.91 kB / 0.5883 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1554, allocations: 79.47 kB / 0.5883 GB, free: 484 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.1555, allocations: 35.86 kB / 0.5884 GB, free: 448 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1555, allocations: 0 / 0.5884 GB, free: 448 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.1556, allocations: 23.97 kB / 0.5884 GB, free: 424 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.1556, allocations: 11.92 kB / 0.5884 GB, free: 412 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1557, allocations: 4 kB / 0.5884 GB, free: 408 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.1562, allocations: 191.3 kB / 0.5886 GB, free: 216 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1563, allocations: 11.98 kB / 0.5886 GB, free: 204 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.1563, allocations: 7.984 kB / 0.5886 GB, free: 196 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1564, allocations: 44.12 kB / 0.5886 GB, free: 152 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1565, allocations: 0 / 0.5886 GB, free: 152 kB / 494.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1565, allocations: 0 / 0.5886 GB, free: 152 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1565, allocations: 0 / 0.5886 GB, free: 152 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003926/0.1569, allocations: 335.6 kB / 0.589 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1569, allocations: 12.03 kB / 0.589 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.157, allocations: 30.75 kB / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.157, allocations: 4.875 kB / 0.589 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.1571, allocations: 172.3 kB / 0.5892 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.1572, allocations: 26.27 kB / 0.5892 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1572, allocations: 8.109 kB / 0.5892 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1573, allocations: 45.69 kB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1573, allocations: 0 / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1573, allocations: 4 kB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1574, allocations: 7.922 kB / 0.5893 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.1574, allocations: 16 kB / 0.5893 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.1578, allocations: 333.9 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.104e-05/0.1579, allocations: 18.58 kB / 0.5896 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1579, allocations: 4.859 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.158, allocations: 93.16 kB / 0.5897 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.158, allocations: 34.5 kB / 0.5897 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.494e-06/0.158, allocations: 0 / 0.5897 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.1582, allocations: 33.64 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1582, allocations: 63.39 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.1583, allocations: 101.8 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1583, allocations: 25.7 kB / 0.59 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.1583, allocations: 96.17 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.574e-06/0.1584, allocations: 3.984 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.1584, allocations: 13.72 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.1585, allocations: 318.8 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.1585, allocations: 4 kB / 0.5904 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.1586, allocations: 21.64 kB / 0.5904 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.1586, allocations: 21.72 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1586, allocations: 0 / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.715e-05/0.1587, allocations: 53.62 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1587, allocations: 6.969 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1587, allocations: 0 / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1587, allocations: 0 / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.1588, allocations: 4 kB / 0.5905 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1588, allocations: 4 kB / 0.5905 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.1588, allocations: 7.906 kB / 0.5905 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1588, allocations: 4.062 kB / 0.5905 GB, free: 13.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.098e-05/0.1589, allocations: 117.8 kB / 0.5906 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1589, allocations: 0 / 0.5906 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1591, allocations: 120.9 kB / 0.5907 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.232e-05/0.1591, allocations: 176.3 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.74e-05/0.1592, allocations: 180.2 kB / 0.5911 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/0.1593, allocations: 188.2 kB / 0.5912 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1595, allocations: 405.2 kB / 0.5916 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/0.1595, allocations: 112.9 kB / 0.5917 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.1596, allocations: 101 kB / 0.5918 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.417e-05/0.1596, allocations: 180.2 kB / 0.592 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.1597, allocations: 184.2 kB / 0.5922 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-05/0.1598, allocations: 184.3 kB / 0.5924 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.964e-05/0.1598, allocations: 180.2 kB / 0.5925 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.1599, allocations: 307.7 kB / 0.5928 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.16, allocations: 186.1 kB / 0.593 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.1601, allocations: 184.3 kB / 0.5932 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1602, allocations: 108.9 kB / 0.5933 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.1603, allocations: 184.2 kB / 0.5935 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.1603, allocations: 104.9 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.1604, allocations: 83.28 kB / 0.5936 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 0.5936 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.1606, allocations: 23.88 kB / 0.5937 GB, free: 10.52 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 (0): * Single equations (assignments): 0 * 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.0004508/0.1611, allocations: 0.8321 MB / 0.5945 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.235e-05/0.1612, allocations: 11.94 kB / 0.5945 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1612, allocations: 0 / 0.5945 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1612, allocations: 4 kB / 0.5945 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1615, allocations: 459.7 kB / 0.5949 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.1624, allocations: 1.321 MB / 0.5962 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.1626, allocations: 0.6729 MB / 0.5969 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.259e-05/0.1627, allocations: 10.98 kB / 0.5969 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.1627, allocations: 7.438 kB / 0.5969 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1627, allocations: 0 / 0.5969 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1804, allocations: 1.499 MB / 0.5983 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.349, allocations: 8.797 kB / 0.5984 GB, free: 5.691 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)