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.001857/0.001857, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001826/0.001826, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.551/1.551, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8127/0.8127, allocations: 132.2 MB / 423.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 64.03 kB / 0.5024 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3896, allocations: 80.19 MB / 0.5807 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002318/0.392, allocations: 1.254 MB / 0.582 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.3952, allocations: 2.935 MB / 0.5848 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.3952, allocations: 0 / 0.5848 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.3952, allocations: 0.625 kB / 0.5848 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.3953, allocations: 12.36 kB / 0.5848 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.3957, allocations: 102.4 kB / 0.5849 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.073e-05/0.3958, allocations: 35.05 kB / 0.585 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.3959, allocations: 3.875 kB / 0.585 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.3963, allocations: 156.6 kB / 0.5851 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.3964, allocations: 18.23 kB / 0.5851 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3964, allocations: 2.312 kB / 0.5851 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3966, allocations: 60.84 kB / 0.5852 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.3966, allocations: 10.42 kB / 0.5852 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.3966, allocations: 18.7 kB / 0.5852 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.3968, allocations: 64.08 kB / 0.5853 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3968, allocations: 5.281 kB / 0.5853 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3968, allocations: 0 / 0.5853 GB, free: 23.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3968, allocations: 0 / 0.5853 GB, free: 23.71 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.0003551/0.3972, allocations: 340.8 kB / 0.5856 GB, free: 23.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3972, allocations: 10.31 kB / 0.5856 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.3973, allocations: 4.062 kB / 0.5856 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.252e-05/0.3973, allocations: 169.8 kB / 0.5858 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3974, allocations: 6.25 kB / 0.5858 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3974, allocations: 4.188 kB / 0.5858 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3975, allocations: 59.02 kB / 0.5859 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.3975, allocations: 0 / 0.5859 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3975, allocations: 1.281 kB / 0.5859 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.3976, allocations: 2.062 kB / 0.5859 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.3976, allocations: 25.5 kB / 0.5859 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.3978, allocations: 164.4 kB / 0.586 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.3979, allocations: 55.7 kB / 0.5861 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.3979, allocations: 15.48 kB / 0.5861 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/0.3985, allocations: 0.6041 MB / 0.5867 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.3985, allocations: 32.59 kB / 0.5867 GB, free: 22.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.3985, allocations: 1.031 kB / 0.5867 GB, free: 22.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005141/0.399, allocations: 300.7 kB / 0.587 GB, free: 21.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.3991, allocations: 53.19 kB / 0.5871 GB, free: 21.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/0.3991, allocations: 98.3 kB / 0.5872 GB, free: 21.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3992, allocations: 30.84 kB / 0.5872 GB, free: 21.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.3992, allocations: 91.11 kB / 0.5873 GB, free: 21.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.3992, allocations: 19.09 kB / 0.5873 GB, free: 21.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.3992, allocations: 33.52 kB / 0.5873 GB, free: 21.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.3993, allocations: 321.3 kB / 0.5876 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.672e-05/0.3993, allocations: 11.27 kB / 0.5876 GB, free: 21.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.3994, allocations: 58.48 kB / 0.5877 GB, free: 21.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.3995, allocations: 80.77 kB / 0.5878 GB, free: 21.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3995, allocations: 1.312 kB / 0.5878 GB, free: 21.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001229/0.3996, allocations: 97.36 kB / 0.5879 GB, free: 20.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3996, allocations: 4.781 kB / 0.5879 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3996, allocations: 1.406 kB / 0.5879 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3996, allocations: 3.281 kB / 0.5879 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.3997, allocations: 25.86 kB / 0.5879 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3997, allocations: 1.5 kB / 0.5879 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.3998, allocations: 10.22 kB / 0.5879 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3998, allocations: 4.109 kB / 0.5879 GB, free: 20.95 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 5.885e-05/0.3999, allocations: 122.5 kB / 0.588 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3999, allocations: 2.938 kB / 0.588 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.3999, allocations: 8.938 kB / 0.588 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3999, allocations: 7.703 kB / 0.5881 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3999, allocations: 0 / 0.5881 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3999, allocations: 3.938 kB / 0.5881 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.4001, allocations: 173.5 kB / 0.5882 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4001, allocations: 1.375 kB / 0.5882 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.4002, allocations: 12.56 kB / 0.5882 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4002, allocations: 1.906 kB / 0.5882 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.4003, allocations: 0 / 0.5882 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4003, allocations: 7.297 kB / 0.5882 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4003, allocations: 0 / 0.5882 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.4004, allocations: 180.8 kB / 0.5884 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.4005, allocations: 86.02 kB / 0.5885 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4005, allocations: 5.094 kB / 0.5885 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.4006, allocations: 6.312 kB / 0.5885 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.4006, allocations: 1.375 kB / 0.5885 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.4006, allocations: 12.17 kB / 0.5885 GB, free: 20.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.146e-05/0.4007, allocations: 81.59 kB / 0.5886 GB, free: 20.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4007, allocations: 0 / 0.5886 GB, free: 20.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000241/0.4009, allocations: 10.47 kB / 0.5886 GB, free: 20.25 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.000115/0.401, allocations: 104 kB / 0.5887 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.4012, allocations: 46.55 kB / 0.5888 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4012, allocations: 0 / 0.5888 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.4012, allocations: 18.39 kB / 0.5888 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.4015, allocations: 7.219 kB / 0.5888 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.4021, allocations: 359.7 kB / 0.5891 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.4022, allocations: 0.6816 MB / 0.5898 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.4022, allocations: 12.62 kB / 0.5898 GB, free: 19.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4022, allocations: 0 / 0.5898 GB, free: 19.16 MB / 446.1 MB Notification: Performance of Templates: time 0.002178/0.4044, allocations: 0.7682 MB / 0.5906 GB, free: 18.78 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)