Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001864/0.001864, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6851/0.6851, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 60.19 kB / 0.5013 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1631, allocations: 80.2 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006527/0.1697, allocations: 4.061 MB / 0.5836 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.17, allocations: 159.5 kB / 0.5838 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.17, allocations: 0 / 0.5838 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.127e-05/0.1701, allocations: 0 / 0.5838 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.1702, allocations: 11.92 kB / 0.5838 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1705, allocations: 78.64 kB / 0.5839 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.1706, allocations: 35.91 kB / 0.5839 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.1707, allocations: 3.984 kB / 0.5839 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.1707, allocations: 19.88 kB / 0.5839 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.1708, allocations: 15.97 kB / 0.5839 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1708, allocations: 4 kB / 0.5839 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.171, allocations: 51.81 kB / 0.584 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1711, allocations: 11.98 kB / 0.584 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.1711, allocations: 11.92 kB / 0.584 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1713, allocations: 48.23 kB / 0.5841 GB, free: 4.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1713, allocations: 0 / 0.5841 GB, free: 4.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1713, allocations: 0 / 0.5841 GB, free: 4.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1713, allocations: 0 / 0.5841 GB, free: 4.496 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004288/0.1717, allocations: 335.4 kB / 0.5844 GB, free: 4.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1718, allocations: 12.03 kB / 0.5844 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.1718, allocations: 34.73 kB / 0.5844 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1718, allocations: 4.875 kB / 0.5844 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.172, allocations: 168.3 kB / 0.5846 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.1721, allocations: 30.27 kB / 0.5846 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.1721, allocations: 4.125 kB / 0.5846 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1722, allocations: 45.69 kB / 0.5847 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1722, allocations: 0 / 0.5847 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1722, allocations: 3.984 kB / 0.5847 GB, free: 3.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.1723, allocations: 4 kB / 0.5847 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.1723, allocations: 19.94 kB / 0.5847 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.1728, allocations: 341.9 kB / 0.585 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.1729, allocations: 18.52 kB / 0.585 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.1729, allocations: 8.844 kB / 0.585 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-05/0.173, allocations: 85.17 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.173, allocations: 30.56 kB / 0.5852 GB, free: 3.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.173, allocations: 0 / 0.5852 GB, free: 3.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.1732, allocations: 37.69 kB / 0.5852 GB, free: 3.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1733, allocations: 67.34 kB / 0.5853 GB, free: 3.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.1733, allocations: 94 kB / 0.5853 GB, free: 2.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1734, allocations: 25.7 kB / 0.5854 GB, free: 2.906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.1734, allocations: 99.97 kB / 0.5855 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.1735, allocations: 0 / 0.5855 GB, free: 2.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.1735, allocations: 13.72 kB / 0.5855 GB, free: 2.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1736, allocations: 318.8 kB / 0.5858 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.1737, allocations: 8.125 kB / 0.5858 GB, free: 2.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.1737, allocations: 21.73 kB / 0.5858 GB, free: 2.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.1737, allocations: 17.72 kB / 0.5858 GB, free: 2.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1737, allocations: 0 / 0.5858 GB, free: 2.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.35e-05/0.1738, allocations: 53.62 kB / 0.5859 GB, free: 2.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1738, allocations: 4 kB / 0.5859 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1739, allocations: 4.062 kB / 0.5859 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1739, allocations: 0 / 0.5859 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.55e-05/0.1739, allocations: 4 kB / 0.5859 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1739, allocations: 4 kB / 0.5859 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.174, allocations: 3.906 kB / 0.5859 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.174, allocations: 3.984 kB / 0.5859 GB, free: 2.324 MB / 494.1 MB 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 9.642e-05/0.1741, allocations: 117.7 kB / 0.586 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1741, allocations: 3.938 kB / 0.586 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.1742, allocations: 121 kB / 0.5861 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-05/0.1743, allocations: 184.2 kB / 0.5863 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.055e-05/0.1744, allocations: 180.3 kB / 0.5865 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/0.1744, allocations: 176.3 kB / 0.5866 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.1747, allocations: 413.1 kB / 0.587 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/0.1747, allocations: 105 kB / 0.5871 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.1748, allocations: 104.9 kB / 0.5872 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.651e-05/0.1749, allocations: 176.3 kB / 0.5874 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.175, allocations: 192.2 kB / 0.5876 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.236e-05/0.175, allocations: 180.2 kB / 0.5878 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-05/0.1751, allocations: 176.3 kB / 0.5879 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.1753, allocations: 311.7 kB / 0.5882 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.1754, allocations: 182.1 kB / 0.5884 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/0.1755, allocations: 188.2 kB / 0.5886 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1757, allocations: 113.2 kB / 0.5887 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.1757, allocations: 184.2 kB / 0.5889 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.1758, allocations: 105 kB / 0.589 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.1758, allocations: 83.28 kB / 0.589 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1758, allocations: 0 / 0.589 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002543/0.1761, allocations: 19.92 kB / 0.5891 GB, free: 14.86 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.0005592/0.1767, allocations: 0.8398 MB / 0.5899 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.328e-05/0.1767, allocations: 8 kB / 0.5899 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1768, allocations: 0 / 0.5899 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.1768, allocations: 0 / 0.5899 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.1772, allocations: 467.8 kB / 0.5903 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1782, allocations: 1.309 MB / 0.5916 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.1785, allocations: 0.6729 MB / 0.5923 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.1785, allocations: 11.98 kB / 0.5923 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1786, allocations: 11.44 kB / 0.5923 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/0.1786, allocations: 0 / 0.5923 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/0.2869, allocations: 1.394 MB / 0.5937 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/0.2872, allocations: 192.4 kB / 0.5938 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.027, allocations: 3.938 kB / 0.5938 GB, free: 9.902 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)