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.0008348/0.0008348, allocations: 100.1 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.0008473/0.0008472, allocations: 177.3 kB / 15.95 MB, free: 216 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.174/1.174, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8418/0.8418, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 8 kB / 0.5068 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 82.32 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003835/0.1492, allocations: 3.133 MB / 0.5903 GB, free: 0 / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002193/0.1495, allocations: 127.8 kB / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.1495, allocations: 0 / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.168e-05/0.1496, allocations: 3.938 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.1496, allocations: 7.984 kB / 0.5904 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1499, allocations: 67.83 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.1499, allocations: 19.95 kB / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.15, allocations: 0 / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.15, allocations: 15.94 kB / 0.5905 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.1501, allocations: 7.984 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1501, allocations: 3.938 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.1505, allocations: 155.7 kB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.1506, allocations: 7.984 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.1506, allocations: 29.7 kB / 0.5907 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.241e-05/0.1507, allocations: 27.97 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1507, allocations: 0 / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1507, allocations: 0 / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1507, allocations: 0 / 0.5907 GB, free: 15.53 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.000341/0.151, allocations: 338 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1511, allocations: 15.97 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1511, allocations: 0 / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1513, allocations: 171 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.1513, allocations: 25.7 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.1514, allocations: 0 / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1515, allocations: 45.69 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.1515, allocations: 0 / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1515, allocations: 0 / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1515, allocations: 3.984 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.1516, allocations: 19.98 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.152, allocations: 334 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.399e-05/0.152, allocations: 18.58 kB / 0.5916 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.1521, allocations: 89.16 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1522, allocations: 34.56 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1522, allocations: 4 kB / 0.5918 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.1523, allocations: 37.64 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1523, allocations: 55.36 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1525, allocations: 105.8 kB / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1525, allocations: 29.64 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.1525, allocations: 87.98 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.1526, allocations: 3.906 kB / 0.5921 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.1526, allocations: 4 kB / 0.5921 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1528, allocations: 323 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.1528, allocations: 0 / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.1528, allocations: 13.72 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.88e-05/0.1528, allocations: 8 kB / 0.5924 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1528, allocations: 0 / 0.5924 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.744e-05/0.1529, allocations: 49.62 kB / 0.5924 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1529, allocations: 8 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1529, allocations: 4.062 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1529, allocations: 0 / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.153, allocations: 7.984 kB / 0.5925 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.153, allocations: 3.953 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.153, allocations: 7.938 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.153, allocations: 0 / 0.5925 GB, free: 13.46 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.53e-05/0.1531, allocations: 109.8 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.1531, allocations: 0 / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.1532, allocations: 132.8 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/0.1533, allocations: 176.3 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/0.1534, allocations: 184.2 kB / 0.593 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.279e-05/0.1535, allocations: 184.2 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.1537, allocations: 405.2 kB / 0.5936 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.405e-05/0.1538, allocations: 109 kB / 0.5937 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.1538, allocations: 101 kB / 0.5938 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.545e-05/0.1538, allocations: 184.2 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.1539, allocations: 176.3 kB / 0.5942 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.623e-05/0.154, allocations: 188.2 kB / 0.5943 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.611e-05/0.154, allocations: 176.3 kB / 0.5945 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.1542, allocations: 311.7 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.1542, allocations: 182.1 kB / 0.595 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.1543, allocations: 184.2 kB / 0.5951 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1545, allocations: 109 kB / 0.5952 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.1545, allocations: 180.3 kB / 0.5954 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.1546, allocations: 104.9 kB / 0.5955 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.1546, allocations: 91.2 kB / 0.5956 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1547, allocations: 0 / 0.5956 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1549, allocations: 16 kB / 0.5956 GB, free: 10 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.0001637/0.155, allocations: 194.4 kB / 0.5958 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.076e-05/0.1551, allocations: 16 kB / 0.5958 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1551, allocations: 4 kB / 0.5958 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.1551, allocations: 3.938 kB / 0.5958 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1556, allocations: 0.5227 MB / 0.5963 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.1558, allocations: 196 kB / 0.5965 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.156, allocations: 0.677 MB / 0.5972 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.1561, allocations: 7.984 kB / 0.5972 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.1561, allocations: 7.438 kB / 0.5972 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1561, allocations: 0 / 0.5972 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.002522/0.1586, allocations: 0.5548 MB / 0.5977 GB, free: 7.781 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: