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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 100.1 kB / 15.88 MB, free: 12 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.001678/0.001678, allocations: 199.6 kB / 16.79 MB, free: 6.809 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.362/1.362, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8912/0.8912, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 58.72 kB / 0.5053 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 80.93 MB / 0.5843 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005171/0.1484, allocations: 3.772 MB / 0.588 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.1486, allocations: 155.5 kB / 0.5882 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.1487, allocations: 4 kB / 0.5882 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.1487, allocations: 3.938 kB / 0.5882 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.1489, allocations: 19.91 kB / 0.5882 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1491, allocations: 75.19 kB / 0.5883 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.1492, allocations: 59.77 kB / 0.5883 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.1493, allocations: 3.984 kB / 0.5883 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.1493, allocations: 19.98 kB / 0.5883 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.1494, allocations: 11.98 kB / 0.5884 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1494, allocations: 4 kB / 0.5884 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005133/0.1499, allocations: 187.4 kB / 0.5885 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.15, allocations: 15.92 kB / 0.5886 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.15, allocations: 4 kB / 0.5886 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.1501, allocations: 40.17 kB / 0.5886 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1501, allocations: 4 kB / 0.5886 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1501, allocations: 0 / 0.5886 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1501, allocations: 4 kB / 0.5886 GB, free: 0.6406 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.0003808/0.1505, allocations: 323.6 kB / 0.5889 GB, free: 284 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1506, allocations: 8.031 kB / 0.5889 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1506, allocations: 8.875 kB / 0.5889 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1507, allocations: 172.3 kB / 0.5891 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.1508, allocations: 30.27 kB / 0.5891 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1508, allocations: 4.375 kB / 0.5891 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.151, allocations: 45.66 kB / 0.5892 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.151, allocations: 4 kB / 0.5892 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.151, allocations: 0 / 0.5892 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.151, allocations: 7.984 kB / 0.5892 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.1511, allocations: 12 kB / 0.5892 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.1515, allocations: 341.9 kB / 0.5895 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.1515, allocations: 22.45 kB / 0.5895 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.1516, allocations: 12.92 kB / 0.5896 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.804e-05/0.1517, allocations: 85.09 kB / 0.5896 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.1517, allocations: 34.56 kB / 0.5897 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.1517, allocations: 0 / 0.5897 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001335/0.1518, allocations: 33.7 kB / 0.5897 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1519, allocations: 59.33 kB / 0.5898 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.1519, allocations: 97.86 kB / 0.5899 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.152, allocations: 33.83 kB / 0.5899 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.152, allocations: 84.05 kB / 0.59 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.152, allocations: 3.984 kB / 0.59 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.1521, allocations: 17.72 kB / 0.59 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1522, allocations: 314.8 kB / 0.5903 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.1522, allocations: 4 kB / 0.5903 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.1522, allocations: 21.7 kB / 0.5903 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.1523, allocations: 21.72 kB / 0.5903 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1523, allocations: 0 / 0.5903 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.329e-05/0.1523, allocations: 53.53 kB / 0.5904 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1524, allocations: 4 kB / 0.5904 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1524, allocations: 0 / 0.5904 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1524, allocations: 4 kB / 0.5904 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.1524, allocations: 4 kB / 0.5904 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1524, allocations: 0 / 0.5904 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.1525, allocations: 4.062 kB / 0.5904 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1525, allocations: 4 kB / 0.5904 GB, free: 14.52 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.479e-05/0.1526, allocations: 121.7 kB / 0.5905 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.1526, allocations: 7.938 kB / 0.5905 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.1527, allocations: 109 kB / 0.5906 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.005e-05/0.1528, allocations: 184.2 kB / 0.5908 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.098e-05/0.1528, allocations: 188.2 kB / 0.591 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/0.1529, allocations: 176.3 kB / 0.5912 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1531, allocations: 409.1 kB / 0.5915 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.1531, allocations: 101 kB / 0.5916 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.1532, allocations: 108.9 kB / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-05/0.1532, allocations: 180.3 kB / 0.5919 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.1533, allocations: 180.3 kB / 0.5921 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.888e-05/0.1534, allocations: 188.2 kB / 0.5923 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-05/0.1534, allocations: 176.3 kB / 0.5924 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1536, allocations: 307.7 kB / 0.5927 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.1536, allocations: 190.1 kB / 0.5929 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.1537, allocations: 188.1 kB / 0.5931 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1539, allocations: 105 kB / 0.5932 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.1539, allocations: 196.2 kB / 0.5934 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.154, allocations: 101 kB / 0.5935 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.154, allocations: 83.28 kB / 0.5935 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.154, allocations: 4 kB / 0.5936 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002452/0.1543, allocations: 19.94 kB / 0.5936 GB, free: 11.05 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.0002439/0.1545, allocations: 202.4 kB / 0.5938 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.1546, allocations: 15.92 kB / 0.5938 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1546, allocations: 0 / 0.5938 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1546, allocations: 128 / 0.5938 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.155, allocations: 0.5263 MB / 0.5943 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.1553, allocations: 205.7 kB / 0.5945 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1555, allocations: 0.6731 MB / 0.5951 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.1555, allocations: 15.44 kB / 0.5952 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1555, allocations: 3.938 kB / 0.5952 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of Templates: time 0.001967/0.1575, allocations: 0.7381 MB / 0.5959 GB, free: 8.617 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)