Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.0009809, allocations: 98.41 kB / 16.02 MB, free: 76 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.001112/0.001112, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9424/0.9424, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 11.98 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001278/0.16, allocations: 0.9822 MB / 0.5896 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.1637, allocations: 2.881 MB / 0.5924 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.1637, allocations: 3.938 kB / 0.5924 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.1637, allocations: 0 / 0.5924 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.1638, allocations: 15.91 kB / 0.5924 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.1643, allocations: 83.69 kB / 0.5925 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.1644, allocations: 43.84 kB / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.1644, allocations: 0 / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.1649, allocations: 143.6 kB / 0.5927 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.165, allocations: 15.92 kB / 0.5927 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.165, allocations: 11.94 kB / 0.5927 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1652, allocations: 63.86 kB / 0.5927 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1652, allocations: 4 kB / 0.5927 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.1652, allocations: 41.62 kB / 0.5928 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1654, allocations: 44.17 kB / 0.5928 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1654, allocations: 4 kB / 0.5928 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1654, allocations: 0 / 0.5928 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1654, allocations: 0 / 0.5928 GB, free: 14.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004287/0.1659, allocations: 331.5 kB / 0.5931 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1659, allocations: 16.03 kB / 0.5932 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.1659, allocations: 4.922 kB / 0.5932 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1661, allocations: 172.3 kB / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1661, allocations: 4.375 kB / 0.5933 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1661, allocations: 8.281 kB / 0.5933 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1663, allocations: 57.8 kB / 0.5934 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1663, allocations: 0 / 0.5934 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1663, allocations: 0 / 0.5934 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1663, allocations: 4 kB / 0.5934 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.1664, allocations: 15.98 kB / 0.5934 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.1666, allocations: 169.7 kB / 0.5936 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.1667, allocations: 50.5 kB / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.1667, allocations: 16.8 kB / 0.5936 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/0.1675, allocations: 0.5988 MB / 0.5942 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1675, allocations: 34.56 kB / 0.5943 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1675, allocations: 0 / 0.5943 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006196/0.1682, allocations: 306.1 kB / 0.5946 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1682, allocations: 55.41 kB / 0.5946 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.1683, allocations: 101.8 kB / 0.5947 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1683, allocations: 25.7 kB / 0.5947 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.1684, allocations: 92.05 kB / 0.5948 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1684, allocations: 27.64 kB / 0.5948 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.1684, allocations: 17.72 kB / 0.5949 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1686, allocations: 314.8 kB / 0.5952 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.1686, allocations: 15.98 kB / 0.5952 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.1687, allocations: 53.08 kB / 0.5952 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.1688, allocations: 77.27 kB / 0.5953 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1688, allocations: 4 kB / 0.5953 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001372/0.1689, allocations: 93.45 kB / 0.5954 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1689, allocations: 8.125 kB / 0.5954 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1689, allocations: 7.938 kB / 0.5954 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.169, allocations: 0 / 0.5954 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.169, allocations: 19.98 kB / 0.5954 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1691, allocations: 4 kB / 0.5954 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.1691, allocations: 7.938 kB / 0.5954 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1691, allocations: 4 kB / 0.5954 GB, free: 11.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.193e-05/0.1692, allocations: 117.8 kB / 0.5956 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1692, allocations: 4 kB / 0.5956 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.1693, allocations: 15.95 kB / 0.5956 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1693, allocations: 0 / 0.5956 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1693, allocations: 0 / 0.5956 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1693, allocations: 3.938 kB / 0.5956 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1695, allocations: 173.7 kB / 0.5957 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1696, allocations: 4 kB / 0.5957 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.1696, allocations: 12.44 kB / 0.5958 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1697, allocations: 0 / 0.5958 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1697, allocations: 7.984 kB / 0.5958 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1697, allocations: 4 kB / 0.5958 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1697, allocations: 4 kB / 0.5958 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1699, allocations: 175.3 kB / 0.5959 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.1699, allocations: 81.14 kB / 0.596 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1699, allocations: 7.938 kB / 0.596 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.17, allocations: 0 / 0.596 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.1701, allocations: 7.984 kB / 0.596 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1701, allocations: 7.938 kB / 0.596 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.1701, allocations: 83.28 kB / 0.5961 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.643e-06/0.1701, allocations: 0 / 0.5961 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002337/0.1704, allocations: 19.94 kB / 0.5961 GB, free: 10.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.000114/0.1705, allocations: 95.25 kB / 0.5962 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.1706, allocations: 48.23 kB / 0.5963 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1706, allocations: 0 / 0.5963 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.1707, allocations: 19.92 kB / 0.5963 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1709, allocations: 12.25 kB / 0.5963 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.1715, allocations: 416.1 kB / 0.5967 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1718, allocations: 0.6887 MB / 0.5974 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.1718, allocations: 11.44 kB / 0.5974 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1718, allocations: 0 / 0.5974 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.002256/0.1741, allocations: 0.7709 MB / 0.5981 GB, free: 8.25 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)