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.0009785/0.0009786, allocations: 113.1 kB / 16.37 MB, free: 6.344 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.001056/0.001056, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.176/1.176, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7189/0.7189, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 57.59 kB / 0.5862 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 80.92 MB / 0.6652 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003911/0.1284, allocations: 3.291 MB / 0.6685 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 7.991e-05/0.1285, allocations: 51.73 kB / 0.6685 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.1285, allocations: 0 / 0.6685 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.107e-05/0.1286, allocations: 4 kB / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.107e-05/0.1287, allocations: 11.92 kB / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1292, allocations: 187.2 kB / 0.6687 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.1292, allocations: 31.91 kB / 0.6687 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.019e-05/0.1293, allocations: 4 kB / 0.6687 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.1293, allocations: 19.91 kB / 0.6688 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.1294, allocations: 15.92 kB / 0.6688 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1294, allocations: 0 / 0.6688 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.1297, allocations: 171.6 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.1297, allocations: 15.97 kB / 0.669 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.1298, allocations: 4 kB / 0.669 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.13, allocations: 135.6 kB / 0.6691 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.13, allocations: 0 / 0.6691 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.13, allocations: 0 / 0.6691 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.13, allocations: 0 / 0.6691 GB, free: 1.902 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.0003446/0.1304, allocations: 347.5 kB / 0.6694 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.1304, allocations: 9.109 kB / 0.6694 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1304, allocations: 4.938 kB / 0.6694 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.1305, allocations: 168.4 kB / 0.6696 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.1306, allocations: 30.25 kB / 0.6696 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.1306, allocations: 384 / 0.6696 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.1307, allocations: 53.59 kB / 0.6697 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1308, allocations: 0 / 0.6697 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1308, allocations: 3.938 kB / 0.6697 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.1308, allocations: 0 / 0.6697 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.1308, allocations: 23.92 kB / 0.6697 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.1314, allocations: 0.5832 MB / 0.6703 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.815e-05/0.1314, allocations: 22.52 kB / 0.6703 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.1314, allocations: 8.922 kB / 0.6703 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.1316, allocations: 340.4 kB / 0.6706 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1317, allocations: 42.55 kB / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1317, allocations: 4 kB / 0.6707 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.1318, allocations: 37.64 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.1318, allocations: 51.41 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.1319, allocations: 105.8 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1319, allocations: 25.7 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.132, allocations: 84.05 kB / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.132, allocations: 0 / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.132, allocations: 17.72 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.1321, allocations: 322.9 kB / 0.6713 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.1321, allocations: 4 kB / 0.6713 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.1321, allocations: 21.72 kB / 0.6713 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.1322, allocations: 25.64 kB / 0.6713 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1322, allocations: 0 / 0.6713 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.689e-05/0.1323, allocations: 49.61 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1323, allocations: 9.875 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1323, allocations: 4 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1323, allocations: 3.984 kB / 0.6714 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.1323, allocations: 4 kB / 0.6714 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1323, allocations: 0 / 0.6714 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1324, allocations: 3.938 kB / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1324, allocations: 4 kB / 0.6714 GB, free: 15.14 MB / 0.5137 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.18e-05/0.1325, allocations: 113.8 kB / 0.6715 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1325, allocations: 7.938 kB / 0.6715 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.933e-05/0.1326, allocations: 124.9 kB / 0.6716 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.1326, allocations: 176.3 kB / 0.6718 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-05/0.1327, allocations: 176.3 kB / 0.672 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.841e-05/0.1327, allocations: 184.2 kB / 0.6722 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1329, allocations: 409.2 kB / 0.6725 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.813e-05/0.133, allocations: 112.9 kB / 0.6727 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.133, allocations: 105 kB / 0.6728 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.194e-05/0.133, allocations: 180.3 kB / 0.6729 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.1331, allocations: 180.2 kB / 0.6731 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.406e-05/0.1331, allocations: 176.3 kB / 0.6733 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-05/0.1332, allocations: 188.2 kB / 0.6734 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.1333, allocations: 307.8 kB / 0.6737 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1334, allocations: 182 kB / 0.6739 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.1334, allocations: 176.3 kB / 0.6741 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1336, allocations: 120.9 kB / 0.6742 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.1336, allocations: 184.5 kB / 0.6744 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.1337, allocations: 105 kB / 0.6745 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.1337, allocations: 91.2 kB / 0.6746 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1337, allocations: 0 / 0.6746 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000256/0.134, allocations: 32 kB / 0.6746 GB, free: 11.66 MB / 0.5137 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.000216/0.1342, allocations: 235.7 kB / 0.6748 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.491e-05/0.1343, allocations: 15.98 kB / 0.6748 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1343, allocations: 0 / 0.6748 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.1343, allocations: 4.125 kB / 0.6748 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1346, allocations: 455.7 kB / 0.6753 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.1349, allocations: 211.6 kB / 0.6755 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.1351, allocations: 0.6768 MB / 0.6761 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.1351, allocations: 11.44 kB / 0.6761 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1351, allocations: 3.938 kB / 0.6761 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of Templates: time 0.002309/0.1374, allocations: 1.179 MB / 0.6773 GB, free: 8.824 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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)