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.001111/0.00111, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.002055/0.002055, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7874/0.7874, allocations: 132.2 MB / 423.3 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3284, allocations: 80.18 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002257/0.3307, allocations: 1.261 MB / 0.5827 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.3338, allocations: 2.941 MB / 0.5856 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.3338, allocations: 1.125 kB / 0.5856 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.3338, allocations: 2.031 kB / 0.5856 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.328e-05/0.3339, allocations: 5.188 kB / 0.5856 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.3345, allocations: 100.6 kB / 0.5857 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.3346, allocations: 33.7 kB / 0.5857 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.3346, allocations: 3.75 kB / 0.5857 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.3352, allocations: 154.9 kB / 0.5859 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.3353, allocations: 17.8 kB / 0.5859 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3353, allocations: 5.359 kB / 0.5859 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3355, allocations: 66.98 kB / 0.586 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.3355, allocations: 5.297 kB / 0.586 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.3356, allocations: 18.92 kB / 0.586 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3358, allocations: 65.59 kB / 0.586 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3358, allocations: 3.25 kB / 0.586 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3358, allocations: 0 / 0.586 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3358, allocations: 0 / 0.586 GB, free: 23.86 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.0004668/0.3363, allocations: 337.7 kB / 0.5864 GB, free: 23.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.3364, allocations: 9.062 kB / 0.5864 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.3364, allocations: 3.906 kB / 0.5864 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.476e-05/0.3365, allocations: 177.8 kB / 0.5865 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3365, allocations: 6.25 kB / 0.5866 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.3366, allocations: 5.938 kB / 0.5866 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3367, allocations: 62 kB / 0.5866 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3368, allocations: 0 / 0.5866 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.3368, allocations: 5.031 kB / 0.5866 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3368, allocations: 1.25 kB / 0.5866 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.3369, allocations: 19.08 kB / 0.5866 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.3371, allocations: 169.3 kB / 0.5868 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.3372, allocations: 49.88 kB / 0.5868 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.3373, allocations: 16.08 kB / 0.5869 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008184/0.3381, allocations: 0.6005 MB / 0.5875 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.3381, allocations: 32.78 kB / 0.5875 GB, free: 22.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.3381, allocations: 3.938 kB / 0.5875 GB, free: 22.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007303/0.3389, allocations: 296.8 kB / 0.5878 GB, free: 21.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3389, allocations: 52.84 kB / 0.5878 GB, free: 21.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.339, allocations: 102.2 kB / 0.5879 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.339, allocations: 27.36 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3391, allocations: 94.3 kB / 0.588 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3391, allocations: 18.44 kB / 0.588 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.3392, allocations: 34.61 kB / 0.5881 GB, free: 21.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.3393, allocations: 320.1 kB / 0.5884 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.3393, allocations: 17.05 kB / 0.5884 GB, free: 21.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.3394, allocations: 51.11 kB / 0.5885 GB, free: 21.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.3395, allocations: 72.78 kB / 0.5885 GB, free: 21.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3395, allocations: 1.281 kB / 0.5885 GB, free: 21.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001736/0.3397, allocations: 95.7 kB / 0.5886 GB, free: 21.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3397, allocations: 7.625 kB / 0.5886 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3397, allocations: 8.359 kB / 0.5886 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3397, allocations: 2.375 kB / 0.5886 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.3398, allocations: 24.83 kB / 0.5887 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3398, allocations: 5.141 kB / 0.5887 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.3399, allocations: 10.62 kB / 0.5887 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3399, allocations: 8.375 kB / 0.5887 GB, free: 21.09 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 6.161e-05/0.34, allocations: 113.6 kB / 0.5888 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.34, allocations: 11.42 kB / 0.5888 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.34, allocations: 12.8 kB / 0.5888 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3401, allocations: 1.344 kB / 0.5888 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3401, allocations: 0.5312 kB / 0.5888 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3401, allocations: 9.25 kB / 0.5888 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3403, allocations: 175.3 kB / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3403, allocations: 0 / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.3404, allocations: 12.69 kB / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3404, allocations: 1.375 kB / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3404, allocations: 1.438 kB / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3404, allocations: 6.922 kB / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3404, allocations: 0 / 0.589 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.3406, allocations: 169.6 kB / 0.5892 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.3407, allocations: 87.7 kB / 0.5893 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3407, allocations: 1.594 kB / 0.5893 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3408, allocations: 1.75 kB / 0.5893 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.3408, allocations: 11.02 kB / 0.5893 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3408, allocations: 11.31 kB / 0.5893 GB, free: 20.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.919e-05/0.3409, allocations: 82.88 kB / 0.5894 GB, free: 20.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3409, allocations: 1.094 kB / 0.5894 GB, free: 20.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.3411, allocations: 9.875 kB / 0.5894 GB, free: 20.4 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.000134/0.3413, allocations: 100.3 kB / 0.5895 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.3414, allocations: 44.8 kB / 0.5895 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3414, allocations: 0 / 0.5895 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.3415, allocations: 19.61 kB / 0.5895 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3417, allocations: 9.625 kB / 0.5895 GB, free: 20.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.3423, allocations: 334.1 kB / 0.5899 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.3424, allocations: 0.6823 MB / 0.5905 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.844e-05/0.3425, allocations: 10.61 kB / 0.5905 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.3425, allocations: 15.72 kB / 0.5905 GB, free: 19.33 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3425, allocations: 0 / 0.5905 GB, free: 19.33 MB / 446.1 MB Notification: Performance of Templates: time 0.003499/0.346, allocations: 0.6104 MB / 0.5911 GB, free: 19.02 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)