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.0008297/0.0008298, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0008787/0.0008787, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6641/0.6641, allocations: 132.4 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 8 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.331, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001117/0.3321, allocations: 0.9803 MB / 0.584 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.3351, allocations: 2.737 MB / 0.5867 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.3352, allocations: 3.938 kB / 0.5867 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.3352, allocations: 1.312 kB / 0.5867 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.3353, allocations: 5.828 kB / 0.5867 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3356, allocations: 83.14 kB / 0.5868 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.3357, allocations: 28.73 kB / 0.5868 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.066e-05/0.3357, allocations: 6.953 kB / 0.5868 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.3362, allocations: 145.2 kB / 0.587 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.3363, allocations: 22.77 kB / 0.587 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3363, allocations: 2.75 kB / 0.587 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3364, allocations: 34.83 kB / 0.587 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.3364, allocations: 11.45 kB / 0.587 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.3365, allocations: 33.53 kB / 0.5871 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.3366, allocations: 33.92 kB / 0.5871 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3366, allocations: 4 kB / 0.5871 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3366, allocations: 1.125 kB / 0.5871 GB, free: 1.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.3366, allocations: 3.938 kB / 0.5871 GB, free: 1.109 MB / 430.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.0002908/0.3369, allocations: 335.2 kB / 0.5874 GB, free: 0.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3369, allocations: 10.03 kB / 0.5874 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.337, allocations: 5.703 kB / 0.5874 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.035e-05/0.337, allocations: 161.4 kB / 0.5876 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3371, allocations: 6.594 kB / 0.5876 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.3371, allocations: 7.766 kB / 0.5876 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.3372, allocations: 53.09 kB / 0.5876 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3372, allocations: 0.875 kB / 0.5876 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3372, allocations: 0.8125 kB / 0.5877 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3373, allocations: 0.8438 kB / 0.5877 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.3373, allocations: 26.75 kB / 0.5877 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.3374, allocations: 164.1 kB / 0.5878 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.3375, allocations: 49.06 kB / 0.5879 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.3376, allocations: 21.38 kB / 0.5879 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000626/0.3382, allocations: 0.5927 MB / 0.5885 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3383, allocations: 45.2 kB / 0.5885 GB, free: 15.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3383, allocations: 0 / 0.5885 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000527/0.3388, allocations: 298.8 kB / 0.5888 GB, free: 15.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.3388, allocations: 53.28 kB / 0.5889 GB, free: 15.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/0.3389, allocations: 103.5 kB / 0.589 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3389, allocations: 27.34 kB / 0.589 GB, free: 15.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.339, allocations: 85.98 kB / 0.5891 GB, free: 15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.339, allocations: 29.2 kB / 0.5891 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.339, allocations: 1 kB / 0.5891 GB, free: 14.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.3391, allocations: 313.5 kB / 0.5894 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.3391, allocations: 25.23 kB / 0.5894 GB, free: 14.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/0.3392, allocations: 55.78 kB / 0.5895 GB, free: 14.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.3392, allocations: 19.53 kB / 0.5895 GB, free: 14.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3392, allocations: 1.156 kB / 0.5895 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001347/0.3394, allocations: 105.6 kB / 0.5896 GB, free: 14.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3394, allocations: 6.75 kB / 0.5896 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3394, allocations: 1.375 kB / 0.5896 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3394, allocations: 1.25 kB / 0.5896 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.3395, allocations: 23.89 kB / 0.5896 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3395, allocations: 1.594 kB / 0.5896 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.3396, allocations: 2.656 kB / 0.5896 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3396, allocations: 7.969 kB / 0.5896 GB, free: 14.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.3396, allocations: 119.9 kB / 0.5897 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.3397, allocations: 10.39 kB / 0.5898 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.3397, allocations: 9.766 kB / 0.5898 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3397, allocations: 1.719 kB / 0.5898 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3397, allocations: 0 / 0.5898 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3397, allocations: 0.75 kB / 0.5898 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.34, allocations: 176.9 kB / 0.5899 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.34, allocations: 0.5 kB / 0.5899 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.3401, allocations: 15.17 kB / 0.59 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3401, allocations: 5.938 kB / 0.59 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3401, allocations: 3.953 kB / 0.59 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3401, allocations: 1.781 kB / 0.59 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3401, allocations: 0 / 0.59 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.3403, allocations: 167.1 kB / 0.5901 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.3403, allocations: 89.95 kB / 0.5902 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3403, allocations: 2.156 kB / 0.5902 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.3404, allocations: 6.625 kB / 0.5902 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.3404, allocations: 8.312 kB / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3405, allocations: 2.375 kB / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.407e-05/0.3405, allocations: 86.14 kB / 0.5903 GB, free: 13.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3405, allocations: 1.188 kB / 0.5903 GB, free: 13.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.3407, allocations: 9.344 kB / 0.5903 GB, free: 13.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001068/0.3408, allocations: 102.1 kB / 0.5904 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3409, allocations: 51.14 kB / 0.5905 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.341, allocations: 0 / 0.5905 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.341, allocations: 17 kB / 0.5905 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.3412, allocations: 7.625 kB / 0.5905 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.3418, allocations: 401.4 kB / 0.5909 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.342, allocations: 0.6835 MB / 0.5915 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.3421, allocations: 9.719 kB / 0.5915 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3421, allocations: 10.97 kB / 0.5916 GB, free: 12.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3421, allocations: 0 / 0.5916 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Templates: time 0.002575/0.3447, allocations: 0.571 MB / 0.5921 GB, free: 12.62 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)