Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001656/0.001656, allocations: 102.5 kB / 16.35 MB, free: 5.828 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.001865/0.001865, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 423.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.09 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.356, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002007/0.358, allocations: 1.26 MB / 0.5827 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.3609, allocations: 2.923 MB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.3609, allocations: 1.812 kB / 0.5856 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.3609, allocations: 7.922 kB / 0.5856 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.361, allocations: 3.938 kB / 0.5856 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.3615, allocations: 98.39 kB / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.3616, allocations: 50.52 kB / 0.5857 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.3616, allocations: 2.375 kB / 0.5857 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004331/0.3621, allocations: 154.8 kB / 0.5859 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.3621, allocations: 13.48 kB / 0.5859 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3621, allocations: 3.594 kB / 0.5859 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3623, allocations: 63.94 kB / 0.5859 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.3623, allocations: 6.703 kB / 0.586 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.3623, allocations: 20.77 kB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.3625, allocations: 68.78 kB / 0.586 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3625, allocations: 0.7812 kB / 0.586 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.077e-05/0.3625, allocations: 0 / 0.586 GB, free: 23.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3626, allocations: 4.219 kB / 0.586 GB, free: 23.93 MB / 446.1 MB 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.0003442/0.3629, allocations: 343.3 kB / 0.5864 GB, free: 23.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.363, allocations: 9.656 kB / 0.5864 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.363, allocations: 3.5 kB / 0.5864 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/0.3631, allocations: 167.4 kB / 0.5865 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3631, allocations: 1.938 kB / 0.5865 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3631, allocations: 7.438 kB / 0.5866 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.3632, allocations: 54.39 kB / 0.5866 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3633, allocations: 0.5938 kB / 0.5866 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3633, allocations: 5.172 kB / 0.5866 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3633, allocations: 2.156 kB / 0.5866 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.3634, allocations: 26.31 kB / 0.5866 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.3635, allocations: 166.5 kB / 0.5868 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.3636, allocations: 49.81 kB / 0.5868 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.3636, allocations: 16.53 kB / 0.5869 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.3642, allocations: 0.602 MB / 0.5874 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.3642, allocations: 37.09 kB / 0.5875 GB, free: 22.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3642, allocations: 1.156 kB / 0.5875 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004633/0.3647, allocations: 299.9 kB / 0.5878 GB, free: 22.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.3647, allocations: 56.58 kB / 0.5878 GB, free: 21.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.015e-05/0.3647, allocations: 96.05 kB / 0.5879 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3648, allocations: 31.05 kB / 0.5879 GB, free: 21.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.3648, allocations: 87.98 kB / 0.588 GB, free: 21.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.3648, allocations: 28.89 kB / 0.5881 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.3649, allocations: 29.5 kB / 0.5881 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.3649, allocations: 321.5 kB / 0.5884 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.3649, allocations: 12.53 kB / 0.5884 GB, free: 21.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.365, allocations: 54 kB / 0.5885 GB, free: 21.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.618e-05/0.365, allocations: 86.86 kB / 0.5885 GB, free: 21.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3651, allocations: 1.375 kB / 0.5885 GB, free: 21.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001145/0.3652, allocations: 92.11 kB / 0.5886 GB, free: 21.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3652, allocations: 4.781 kB / 0.5886 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3652, allocations: 4.469 kB / 0.5886 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3652, allocations: 2.625 kB / 0.5886 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.3653, allocations: 21.36 kB / 0.5887 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3653, allocations: 1.031 kB / 0.5887 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.3654, allocations: 10.69 kB / 0.5887 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3654, allocations: 2.906 kB / 0.5887 GB, free: 21.17 MB / 446.1 MB 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 4.842e-05/0.3654, allocations: 125.3 kB / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.3654, allocations: 4.5 kB / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.3655, allocations: 9.125 kB / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3655, allocations: 1.469 kB / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3655, allocations: 0 / 0.5888 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3655, allocations: 5.219 kB / 0.5888 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.3657, allocations: 170 kB / 0.589 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3657, allocations: 3.984 kB / 0.589 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-05/0.3658, allocations: 17.23 kB / 0.589 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3658, allocations: 2.062 kB / 0.589 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3658, allocations: 4.562 kB / 0.589 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3658, allocations: 1.5 kB / 0.589 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3658, allocations: 1.969 kB / 0.589 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.366, allocations: 176.9 kB / 0.5892 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.366, allocations: 80.39 kB / 0.5892 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.366, allocations: 2.719 kB / 0.5892 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3661, allocations: 7 kB / 0.5893 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.3661, allocations: 5.188 kB / 0.5893 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3662, allocations: 10.28 kB / 0.5893 GB, free: 20.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.802e-05/0.3662, allocations: 78.25 kB / 0.5893 GB, free: 20.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3662, allocations: 0 / 0.5893 GB, free: 20.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.3664, allocations: 18.36 kB / 0.5894 GB, free: 20.47 MB / 446.1 MB 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.0001162/0.3665, allocations: 104.2 kB / 0.5895 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.3667, allocations: 46.2 kB / 0.5895 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3667, allocations: 1.156 kB / 0.5895 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.3667, allocations: 11.28 kB / 0.5895 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.367, allocations: 15.11 kB / 0.5895 GB, free: 20.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.3675, allocations: 325.8 kB / 0.5898 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3676, allocations: 0.6863 MB / 0.5905 GB, free: 19.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.014e-05/0.3677, allocations: 10.45 kB / 0.5905 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.3677, allocations: 11.34 kB / 0.5905 GB, free: 19.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3677, allocations: 0 / 0.5905 GB, free: 19.41 MB / 446.1 MB Notification: Performance of Templates: time 0.002428/0.3702, allocations: 0.6223 MB / 0.5911 GB, free: 19.09 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)