Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.807/0.807, allocations: 130.7 MB / 138.7 MB, free: 3.617 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 391.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008631/0.0008631, allocations: 102.3 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.82e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5378/0.5379, allocations: 81.56 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8121/1.35, allocations: 339.5 MB / 0.9597 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.35, allocations: 80 kB / 0.9598 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03601/1.386, allocations: 13.28 MB / 0.9727 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/1.386, allocations: 0 / 0.9727 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.386, allocations: 0 / 0.9727 GB, free: 9.488 MB / 0.6042 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.0003347/1.387, allocations: 341.8 kB / 0.9731 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.387, allocations: 12.03 kB / 0.9731 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/1.387, allocations: 15.84 kB / 0.9731 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.387, allocations: 159.1 kB / 0.9732 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/1.387, allocations: 4 kB / 0.9732 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/1.387, allocations: 4 kB / 0.9732 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.977e-05/1.387, allocations: 19.67 kB / 0.9733 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/1.387, allocations: 45.12 kB / 0.9733 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.387, allocations: 0 / 0.9733 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/1.387, allocations: 0 / 0.9733 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.387, allocations: 4 kB / 0.9733 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/1.388, allocations: 141.8 kB / 0.9734 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/1.388, allocations: 45.64 kB / 0.9735 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/1.388, allocations: 16.84 kB / 0.9735 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007518/1.389, allocations: 0.6082 MB / 0.9741 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.389, allocations: 34.56 kB / 0.9741 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/1.389, allocations: 0 / 0.9741 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005198/1.389, allocations: 283.8 kB / 0.9744 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/1.389, allocations: 55.41 kB / 0.9745 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/1.389, allocations: 92.44 kB / 0.9745 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/1.389, allocations: 29.7 kB / 0.9746 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/1.389, allocations: 84.05 kB / 0.9747 GB, free: 7.234 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/1.389, allocations: 30.98 kB / 0.9747 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/1.389, allocations: 0 / 0.9747 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.389, allocations: 318.8 kB / 0.975 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/1.389, allocations: 11.75 kB / 0.975 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/1.39, allocations: 44.33 kB / 0.975 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/1.39, allocations: 19.44 kB / 0.9751 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/1.39, allocations: 3.938 kB / 0.9751 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001102/1.39, allocations: 79.92 kB / 0.9751 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.39, allocations: 4 kB / 0.9751 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.39, allocations: 4 kB / 0.9751 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.39, allocations: 288 / 0.9751 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/1.39, allocations: 35.81 kB / 0.9752 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/1.39, allocations: 4.062 kB / 0.9752 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/1.39, allocations: 256 / 0.9752 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/1.39, allocations: 8.125 kB / 0.9752 GB, free: 6.676 MB / 0.6042 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 () * 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.784e-05/1.39, allocations: 105 kB / 0.9753 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/1.39, allocations: 3.984 kB / 0.9753 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/1.39, allocations: 15.97 kB / 0.9753 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.39, allocations: 3.984 kB / 0.9753 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.39, allocations: 3.953 kB / 0.9753 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.39, allocations: 0 / 0.9753 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/1.39, allocations: 150.2 kB / 0.9755 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.39, allocations: 0 / 0.9755 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/1.39, allocations: 23.92 kB / 0.9755 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.39, allocations: 0 / 0.9755 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/1.39, allocations: 0 / 0.9755 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.39, allocations: 4 kB / 0.9755 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.39, allocations: 0 / 0.9755 GB, free: 6.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/1.391, allocations: 169.8 kB / 0.9757 GB, free: 6.168 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/1.391, allocations: 85.02 kB / 0.9757 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/1.391, allocations: 0 / 0.9757 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/1.391, allocations: 8 kB / 0.9757 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/1.391, allocations: 3.984 kB / 0.9757 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/1.391, allocations: 7.312 kB / 0.9757 GB, free: 6.051 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.757e-05/1.391, allocations: 75.28 kB / 0.9758 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.314e-06/1.391, allocations: 0 / 0.9758 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002442/1.391, allocations: 15.94 kB / 0.9758 GB, free: 5.961 MB / 0.6042 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 () * 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.0001685/1.391, allocations: 121.9 kB / 0.976 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001033/1.391, allocations: 35.56 kB / 0.976 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.391, allocations: 0 / 0.976 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/1.391, allocations: 11.38 kB / 0.976 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/1.392, allocations: 16.19 kB / 0.976 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/1.392, allocations: 275.9 kB / 0.9763 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/1.393, allocations: 0.6846 MB / 0.9769 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.387e-05/1.393, allocations: 8 kB / 0.977 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/1.393, allocations: 11.44 kB / 0.977 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/1.393, allocations: 3.938 kB / 0.977 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of Templates: time 0.002599/1.395, allocations: 0.7076 MB / 0.9777 GB, free: 4.07 MB / 0.6042 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)