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.001168/0.001168, allocations: 108 kB / 15.6 MB, free: 132 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.00117/0.00117, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.95 kB / 0.5053 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1904, allocations: 80.92 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002704/0.1932, allocations: 1.256 MB / 0.5856 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.1973, allocations: 2.928 MB / 0.5884 GB, free: 336 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.1974, allocations: 3.938 kB / 0.5884 GB, free: 332 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.1975, allocations: 3.938 kB / 0.5885 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.1975, allocations: 3.984 kB / 0.5885 GB, free: 324 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.1982, allocations: 95.55 kB / 0.5885 GB, free: 228 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.1983, allocations: 43.84 kB / 0.5886 GB, free: 184 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.1983, allocations: 8 kB / 0.5886 GB, free: 176 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.1989, allocations: 147.5 kB / 0.5887 GB, free: 28 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.1989, allocations: 23.91 kB / 0.5888 GB, free: 4 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.199, allocations: 3.938 kB / 0.5888 GB, free: 0 / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.1992, allocations: 63.88 kB / 0.5888 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.1992, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.1993, allocations: 27.84 kB / 0.5889 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1995, allocations: 68.08 kB / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1995, allocations: 4 kB / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1995, allocations: 0 / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.1995, allocations: 0 / 0.5889 GB, free: 15.84 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.000458/0.2, allocations: 339.5 kB / 0.5892 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2, allocations: 12.03 kB / 0.5893 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.2001, allocations: 0.9375 kB / 0.5893 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2002, allocations: 168.3 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2002, allocations: 4.375 kB / 0.5894 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2003, allocations: 12.28 kB / 0.5894 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2004, allocations: 61.8 kB / 0.5895 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2004, allocations: 0 / 0.5895 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2004, allocations: 3.938 kB / 0.5895 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2005, allocations: 0 / 0.5895 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.2005, allocations: 23.92 kB / 0.5895 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.2007, allocations: 161.7 kB / 0.5897 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.2008, allocations: 46.56 kB / 0.5897 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.2009, allocations: 24.84 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.2016, allocations: 0.5987 MB / 0.5903 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2017, allocations: 30.56 kB / 0.5904 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2017, allocations: 0 / 0.5904 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006471/0.2023, allocations: 306.1 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2024, allocations: 51.41 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.2025, allocations: 105.8 kB / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2025, allocations: 25.7 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.2025, allocations: 88.05 kB / 0.5909 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.2026, allocations: 27.64 kB / 0.5909 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.2026, allocations: 21.72 kB / 0.591 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2027, allocations: 326.8 kB / 0.5913 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.2028, allocations: 16 kB / 0.5913 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.2028, allocations: 52.75 kB / 0.5913 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.2029, allocations: 77.02 kB / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2029, allocations: 0 / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001455/0.2031, allocations: 97.45 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2031, allocations: 8 kB / 0.5915 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2031, allocations: 0 / 0.5915 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2031, allocations: 4 kB / 0.5915 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.2032, allocations: 23.88 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2032, allocations: 3.938 kB / 0.5915 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.2033, allocations: 12.06 kB / 0.5915 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2033, allocations: 7.984 kB / 0.5916 GB, free: 12.73 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 8.347e-05/0.2034, allocations: 113.8 kB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.2034, allocations: 0 / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.2035, allocations: 7.969 kB / 0.5917 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.2035, allocations: 4 kB / 0.5917 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2035, allocations: 0 / 0.5917 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2035, allocations: 4.375 kB / 0.5917 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.2038, allocations: 177.7 kB / 0.5918 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2038, allocations: 4 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.2039, allocations: 19.98 kB / 0.5919 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2039, allocations: 0 / 0.5919 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2039, allocations: 4 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2039, allocations: 3.938 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2039, allocations: 0 / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.2041, allocations: 171.4 kB / 0.592 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.2042, allocations: 85.11 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2042, allocations: 4 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2043, allocations: 4.047 kB / 0.5921 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.2043, allocations: 3.984 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2043, allocations: 7.938 kB / 0.5921 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.77e-05/0.2044, allocations: 79.66 kB / 0.5922 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.2044, allocations: 4 kB / 0.5922 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.2046, allocations: 8 kB / 0.5922 GB, free: 11.95 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.0001505/0.2048, allocations: 115.3 kB / 0.5923 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.2049, allocations: 48.05 kB / 0.5924 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.2049, allocations: 0 / 0.5924 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.206e-05/0.205, allocations: 15.98 kB / 0.5924 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.2053, allocations: 8 kB / 0.5924 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.2059, allocations: 318.5 kB / 0.5927 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.2062, allocations: 0.6885 MB / 0.5934 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.735e-05/0.2062, allocations: 4 kB / 0.5934 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.2063, allocations: 15.38 kB / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of SimCode: time 1.663e-06/0.2063, allocations: 0 / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.003036/0.2093, allocations: 0.6271 MB / 0.594 GB, free: 10.05 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)