Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005856/0.005857, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001373/0.001374, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.335/1.335, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9001/0.9001, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.69 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 80.92 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005665/0.143, allocations: 4.47 MB / 0.5887 GB, free: 500 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.1457, allocations: 2.718 MB / 0.5913 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1458, allocations: 0 / 0.5913 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1461, allocations: 43.78 kB / 0.5914 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1463, allocations: 91.5 kB / 0.5915 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.1473, allocations: 449.5 kB / 0.5919 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1476, allocations: 307.9 kB / 0.5922 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1476, allocations: 9.562 kB / 0.5922 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.1485, allocations: 398.8 kB / 0.5926 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1486, allocations: 91.61 kB / 0.5927 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1487, allocations: 8 kB / 0.5927 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.1496, allocations: 0.4988 MB / 0.5932 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1497, allocations: 39.81 kB / 0.5932 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/0.1498, allocations: 75.66 kB / 0.5933 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1501, allocations: 243.7 kB / 0.5935 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1502, allocations: 0 / 0.5935 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1502, allocations: 0 / 0.5935 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1502, allocations: 0 / 0.5935 GB, free: 11.54 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006745/0.1508, allocations: 0.4915 MB / 0.594 GB, free: 11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1509, allocations: 19.97 kB / 0.594 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.1511, allocations: 20.83 kB / 0.594 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1513, allocations: 212.1 kB / 0.5942 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1513, allocations: 12.7 kB / 0.5942 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1513, allocations: 12.38 kB / 0.5943 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.1517, allocations: 245.1 kB / 0.5945 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1517, allocations: 8 kB / 0.5945 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1517, allocations: 12 kB / 0.5945 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.1517, allocations: 4 kB / 0.5945 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.1522, allocations: 435.5 kB / 0.5949 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.1532, allocations: 0.9998 MB / 0.5959 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1535, allocations: 159.7 kB / 0.5961 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.1536, allocations: 64.88 kB / 0.5961 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.1549, allocations: 1.825 MB / 0.5979 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1549, allocations: 34.56 kB / 0.5979 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1549, allocations: 0 / 0.5979 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003224/0.1553, allocations: 145.4 kB / 0.5981 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.1553, allocations: 59.34 kB / 0.5981 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.1555, allocations: 178.5 kB / 0.5983 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1555, allocations: 29.7 kB / 0.5983 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.1556, allocations: 143.8 kB / 0.5985 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1556, allocations: 47.2 kB / 0.5985 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.1557, allocations: 57.7 kB / 0.5986 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1558, allocations: 322.8 kB / 0.5989 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1559, allocations: 39.97 kB / 0.5989 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.156, allocations: 139.4 kB / 0.599 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.1562, allocations: 197.5 kB / 0.5992 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1562, allocations: 3.984 kB / 0.5992 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003169/0.1566, allocations: 219.3 kB / 0.5994 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1566, allocations: 8 kB / 0.5995 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1566, allocations: 0 / 0.5995 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1566, allocations: 8 kB / 0.5995 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1568, allocations: 51.86 kB / 0.5995 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1568, allocations: 8.453 kB / 0.5995 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1569, allocations: 35.69 kB / 0.5995 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.157, allocations: 15.98 kB / 0.5996 GB, free: 4.602 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001038/0.1571, allocations: 130.4 kB / 0.5997 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1571, allocations: 23.75 kB / 0.5997 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.1574, allocations: 151 kB / 0.5999 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.1575, allocations: 7.938 kB / 0.5999 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1575, allocations: 0 / 0.5999 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1575, allocations: 4 kB / 0.5999 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1577, allocations: 217.5 kB / 0.6001 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1577, allocations: 3.984 kB / 0.6001 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.1578, allocations: 24 kB / 0.6001 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1578, allocations: 0 / 0.6001 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1578, allocations: 3.984 kB / 0.6001 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1579, allocations: 7.938 kB / 0.6001 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1579, allocations: 0 / 0.6001 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1581, allocations: 222.2 kB / 0.6003 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.1582, allocations: 108.9 kB / 0.6004 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1582, allocations: 11.94 kB / 0.6004 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1584, allocations: 19.92 kB / 0.6005 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.1585, allocations: 15.92 kB / 0.6005 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1585, allocations: 7.984 kB / 0.6005 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.923e-05/0.1586, allocations: 121.8 kB / 0.6006 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 0 / 0.6006 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003662/0.159, allocations: 76 kB / 0.6007 GB, free: 3.375 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003229/0.1593, allocations: 175.2 kB / 0.6008 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1595, allocations: 116.6 kB / 0.6009 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1595, allocations: 0 / 0.6009 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.1596, allocations: 55.97 kB / 0.601 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.16, allocations: 46.31 kB / 0.601 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.1607, allocations: 426.2 kB / 0.6015 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.161, allocations: 0.7131 MB / 0.6021 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.161, allocations: 27.44 kB / 0.6022 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.161, allocations: 3.938 kB / 0.6022 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.2223/0.3833, allocations: 3.121 MB / 0.6052 GB, free: 52.18 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)