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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000822/0.000822, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008461/0.0008462, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8442/0.8442, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003188, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 82.31 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002868/0.1447, allocations: 2.47 MB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002938/0.145, allocations: 323.3 kB / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.145, allocations: 0 / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.606e-05/0.1451, allocations: 4 kB / 0.5899 GB, free: 344 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.035e-05/0.1452, allocations: 11.97 kB / 0.5899 GB, free: 332 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1456, allocations: 154 kB / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.1456, allocations: 19.97 kB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.1457, allocations: 0 / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.1457, allocations: 11.98 kB / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.1458, allocations: 11.92 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.1458, allocations: 0 / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.146, allocations: 107.8 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.1461, allocations: 0 / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.1461, allocations: 29.7 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1462, allocations: 60.16 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1462, allocations: 4 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1463, allocations: 0 / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1463, allocations: 0 / 0.5903 GB, free: 15.93 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.0003287/0.1466, allocations: 351.2 kB / 0.5906 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1466, allocations: 8.031 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1467, allocations: 0 / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1468, allocations: 163 kB / 0.5908 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.1469, allocations: 33.69 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1469, allocations: 4 kB / 0.5908 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.147, allocations: 45.69 kB / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.147, allocations: 0 / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.147, allocations: 0 / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.147, allocations: 0 / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.1471, allocations: 11.98 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.1476, allocations: 0.5832 MB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.394e-05/0.1477, allocations: 22.61 kB / 0.5915 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.1479, allocations: 328.5 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1479, allocations: 38.5 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1479, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.00015/0.1481, allocations: 37.62 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1481, allocations: 59.36 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.1482, allocations: 101.8 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1483, allocations: 29.83 kB / 0.5921 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.1483, allocations: 88.05 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-06/0.1483, allocations: 3.906 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.1483, allocations: 4 kB / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.1484, allocations: 310.8 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.1484, allocations: 0 / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.1485, allocations: 21.7 kB / 0.5925 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.1485, allocations: 8 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1485, allocations: 0 / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.256e-05/0.1486, allocations: 53.62 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1486, allocations: 7.938 kB / 0.5925 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1486, allocations: 0 / 0.5925 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1486, allocations: 0 / 0.5925 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.1487, allocations: 8 kB / 0.5925 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1487, allocations: 3.953 kB / 0.5925 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.1487, allocations: 3.938 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1487, allocations: 64 / 0.5925 GB, free: 13.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.1488, allocations: 117.8 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1488, allocations: 4 kB / 0.5927 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.46e-05/0.1489, allocations: 120.8 kB / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/0.149, allocations: 176.5 kB / 0.5929 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.785e-05/0.149, allocations: 188.2 kB / 0.5931 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/0.1491, allocations: 192.2 kB / 0.5933 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1493, allocations: 405.2 kB / 0.5937 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/0.1494, allocations: 105 kB / 0.5938 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.1494, allocations: 105 kB / 0.5939 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.654e-05/0.1495, allocations: 184.2 kB / 0.5941 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.1495, allocations: 184.3 kB / 0.5942 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-05/0.1496, allocations: 184.2 kB / 0.5944 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.482e-05/0.1496, allocations: 176.3 kB / 0.5946 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.1498, allocations: 307.7 kB / 0.5949 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-05/0.1498, allocations: 190 kB / 0.5951 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.1499, allocations: 184.2 kB / 0.5952 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1501, allocations: 109 kB / 0.5953 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.1501, allocations: 180.3 kB / 0.5955 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.1502, allocations: 104.9 kB / 0.5956 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.1502, allocations: 87.27 kB / 0.5957 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1502, allocations: 0 / 0.5957 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002849/0.1505, allocations: 32 kB / 0.5957 GB, free: 9.777 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000223/0.1508, allocations: 222.7 kB / 0.5959 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.166e-05/0.1508, allocations: 16 kB / 0.596 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1508, allocations: 7.938 kB / 0.596 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.1508, allocations: 0 / 0.596 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1512, allocations: 0.5185 MB / 0.5965 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.1514, allocations: 195.8 kB / 0.5967 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1516, allocations: 0.677 MB / 0.5973 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.406e-05/0.1517, allocations: 11.22 kB / 0.5973 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.1517, allocations: 7.438 kB / 0.5973 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.1517, allocations: 0 / 0.5973 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.003022/0.1547, allocations: 1.125 MB / 0.5984 GB, free: 6.984 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: