Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.0009972/0.0009973, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009089/0.009089, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9301/0.9301, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 11.98 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003494/0.1688, allocations: 2.996 MB / 0.591 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 8.758e-05/0.1689, allocations: 51.86 kB / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.169, allocations: 0 / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.92e-05/0.1691, allocations: 0 / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.1691, allocations: 15.91 kB / 0.5911 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.1696, allocations: 171.4 kB / 0.5912 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.75e-05/0.1697, allocations: 59.81 kB / 0.5913 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.1697, allocations: 0 / 0.5913 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.1698, allocations: 19.92 kB / 0.5913 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1699, allocations: 15.97 kB / 0.5913 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1699, allocations: 0 / 0.5913 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.1702, allocations: 171.5 kB / 0.5915 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1702, allocations: 4 kB / 0.5915 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.1703, allocations: 45.61 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1705, allocations: 136 kB / 0.5917 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1705, allocations: 0 / 0.5917 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1705, allocations: 3.938 kB / 0.5917 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.1706, allocations: 0 / 0.5917 GB, free: 14.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000364/0.1709, allocations: 343.5 kB / 0.592 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.171, allocations: 8.031 kB / 0.592 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.171, allocations: 38.75 kB / 0.592 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.171, allocations: 0.9375 kB / 0.592 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1712, allocations: 164.4 kB / 0.5922 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.1712, allocations: 30.27 kB / 0.5922 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1712, allocations: 4.125 kB / 0.5922 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1714, allocations: 41.69 kB / 0.5923 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1714, allocations: 0 / 0.5923 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1714, allocations: 4 kB / 0.5923 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.1714, allocations: 4 kB / 0.5923 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.1715, allocations: 15.92 kB / 0.5923 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.172, allocations: 0.5833 MB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/0.1721, allocations: 14.58 kB / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.1721, allocations: 4.859 kB / 0.5929 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.1723, allocations: 352.4 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.1724, allocations: 34.56 kB / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.455e-06/0.1724, allocations: 0 / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.1725, allocations: 41.58 kB / 0.5933 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.1726, allocations: 51.41 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.1726, allocations: 105.9 kB / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1727, allocations: 25.7 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.1727, allocations: 88.08 kB / 0.5935 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.1727, allocations: 8.031 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.1728, allocations: 13.72 kB / 0.5936 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.1729, allocations: 318.8 kB / 0.5939 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.1729, allocations: 4 kB / 0.5939 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.1729, allocations: 21.75 kB / 0.5939 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.173, allocations: 25.64 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.173, allocations: 0 / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.855e-05/0.173, allocations: 49.64 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1731, allocations: 4 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1731, allocations: 0 / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1731, allocations: 4 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.1731, allocations: 7.984 kB / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1731, allocations: 0 / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.1732, allocations: 3.938 kB / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1732, allocations: 4 kB / 0.594 GB, free: 12.03 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 6.422e-05/0.1732, allocations: 117.8 kB / 0.5941 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1733, allocations: 4 kB / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1734, allocations: 124.8 kB / 0.5942 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.525e-05/0.1734, allocations: 180.3 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.934e-05/0.1735, allocations: 180.3 kB / 0.5946 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.1736, allocations: 180.2 kB / 0.5947 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1738, allocations: 409.2 kB / 0.5951 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/0.1738, allocations: 112.9 kB / 0.5952 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.1738, allocations: 105 kB / 0.5953 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.833e-05/0.1739, allocations: 180.3 kB / 0.5955 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.1739, allocations: 180.2 kB / 0.5957 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-05/0.174, allocations: 180.4 kB / 0.5959 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.773e-05/0.174, allocations: 180.2 kB / 0.596 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.1742, allocations: 315.8 kB / 0.5963 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.1743, allocations: 182 kB / 0.5965 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.1743, allocations: 184.2 kB / 0.5967 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.1745, allocations: 116.9 kB / 0.5968 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.1745, allocations: 184.3 kB / 0.597 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1746, allocations: 105 kB / 0.5971 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.1746, allocations: 83.28 kB / 0.5971 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.493e-06/0.1746, allocations: 0 / 0.5971 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002713/0.1749, allocations: 35.88 kB / 0.5972 GB, free: 8.543 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.0004802/0.1754, allocations: 0.8634 MB / 0.598 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.463e-05/0.1755, allocations: 15.98 kB / 0.598 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1755, allocations: 7.875 kB / 0.598 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1755, allocations: 0 / 0.598 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.1759, allocations: 0.5257 MB / 0.5986 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009204/0.1769, allocations: 1.326 MB / 0.5998 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1771, allocations: 0.677 MB / 0.6005 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.1771, allocations: 11.94 kB / 0.6005 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1772, allocations: 15.42 kB / 0.6005 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1772, allocations: 0 / 0.6005 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.2805, allocations: 1.949 MB / 0.6024 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.2808, allocations: 252 kB / 0.6027 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.984, allocations: 4 kB / 0.6027 GB, free: 2.977 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)