Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") translateModel(Annex60.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4392/0.4392, allocations: 54.42 MB / 61.89 MB, free: 13.72 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001156/0.001155, allocations: 176.1 kB / 75.61 MB, free: 0.7383 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.756/1.756, allocations: 194.3 MB / 283.5 MB, free: 7.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001694/0.001694, allocations: 114.4 kB / 341.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.558e-05, allocations: 4 kB / 405.5 MB, free: 46.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 57.63 MB / 463.1 MB, free: 4.359 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.291, allocations: 309.1 MB / 0.7541 GB, free: 89.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.291, allocations: 70.95 kB / 0.7542 GB, free: 89.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02389/1.315, allocations: 12.25 MB / 0.7662 GB, free: 80.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.315, allocations: 0 / 0.7662 GB, free: 80.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/1.315, allocations: 0 / 0.7662 GB, free: 80.43 MB / 490.7 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.0003886/1.316, allocations: 339 kB / 0.7665 GB, free: 80.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/1.316, allocations: 15.97 kB / 0.7665 GB, free: 80.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/1.316, allocations: 4 kB / 0.7665 GB, free: 80.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/1.316, allocations: 174.5 kB / 0.7667 GB, free: 79.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/1.316, allocations: 0 / 0.7667 GB, free: 79.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/1.316, allocations: 7.984 kB / 0.7667 GB, free: 79.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.275e-05/1.316, allocations: 11.95 kB / 0.7667 GB, free: 79.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/1.316, allocations: 49.55 kB / 0.7667 GB, free: 79.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.316, allocations: 0 / 0.7667 GB, free: 79.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.316, allocations: 0 / 0.7667 GB, free: 79.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.316, allocations: 0 / 0.7667 GB, free: 79.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/1.317, allocations: 142.1 kB / 0.7669 GB, free: 79.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/1.317, allocations: 54.19 kB / 0.7669 GB, free: 79.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/1.317, allocations: 16.73 kB / 0.7669 GB, free: 79.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008531/1.318, allocations: 0.6061 MB / 0.7675 GB, free: 78.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.318, allocations: 42.5 kB / 0.7676 GB, free: 78.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/1.318, allocations: 0 / 0.7676 GB, free: 78.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006376/1.318, allocations: 278.2 kB / 0.7678 GB, free: 78.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/1.318, allocations: 59.16 kB / 0.7679 GB, free: 78.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/1.318, allocations: 88.98 kB / 0.768 GB, free: 78.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/1.318, allocations: 29.7 kB / 0.768 GB, free: 78.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/1.319, allocations: 84.05 kB / 0.7681 GB, free: 78.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/1.319, allocations: 31.12 kB / 0.7681 GB, free: 78.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/1.319, allocations: 0 / 0.7681 GB, free: 78.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/1.319, allocations: 318.8 kB / 0.7684 GB, free: 77.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/1.319, allocations: 11.88 kB / 0.7684 GB, free: 77.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/1.319, allocations: 40.91 kB / 0.7685 GB, free: 77.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/1.319, allocations: 35.92 kB / 0.7685 GB, free: 77.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/1.319, allocations: 0 / 0.7685 GB, free: 77.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000104/1.319, allocations: 77.17 kB / 0.7686 GB, free: 77.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.319, allocations: 7.438 kB / 0.7686 GB, free: 77.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.319, allocations: 4 kB / 0.7686 GB, free: 77.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.319, allocations: 3.938 kB / 0.7686 GB, free: 77.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/1.319, allocations: 23.94 kB / 0.7686 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.319, allocations: 8.109 kB / 0.7686 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/1.319, allocations: 0 / 0.7686 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/1.319, allocations: 7.812 kB / 0.7686 GB, free: 77.61 MB / 490.7 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 () * 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.565e-05/1.319, allocations: 112.9 kB / 0.7687 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/1.319, allocations: 7.906 kB / 0.7688 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/1.319, allocations: 8.219 kB / 0.7688 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/1.319, allocations: 0 / 0.7688 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.319, allocations: 0 / 0.7688 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.319, allocations: 0 / 0.7688 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/1.32, allocations: 154.2 kB / 0.7689 GB, free: 77.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.32, allocations: 0 / 0.7689 GB, free: 77.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/1.32, allocations: 15.98 kB / 0.7689 GB, free: 77.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.32, allocations: 3.953 kB / 0.7689 GB, free: 77.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/1.32, allocations: 4 kB / 0.7689 GB, free: 77.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.32, allocations: 0 / 0.7689 GB, free: 77.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.32, allocations: 0 / 0.7689 GB, free: 77.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/1.32, allocations: 158.9 kB / 0.7691 GB, free: 77.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/1.32, allocations: 89.05 kB / 0.7692 GB, free: 77.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/1.32, allocations: 7.953 kB / 0.7692 GB, free: 77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/1.32, allocations: 4 kB / 0.7692 GB, free: 77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/1.32, allocations: 7.875 kB / 0.7692 GB, free: 77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/1.32, allocations: 7.984 kB / 0.7692 GB, free: 76.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.373e-05/1.32, allocations: 75.28 kB / 0.7693 GB, free: 76.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.32, allocations: 0 / 0.7693 GB, free: 76.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002246/1.32, allocations: 12 kB / 0.7693 GB, free: 76.9 MB / 490.7 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 () * 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.0001893/1.321, allocations: 119.4 kB / 0.7694 GB, free: 76.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/1.321, allocations: 39.72 kB / 0.7694 GB, free: 76.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.321, allocations: 256 / 0.7694 GB, free: 76.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/1.321, allocations: 19.75 kB / 0.7694 GB, free: 76.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/1.321, allocations: 4.312 kB / 0.7695 GB, free: 76.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/1.321, allocations: 268.2 kB / 0.7697 GB, free: 76.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/1.322, allocations: 0.6846 MB / 0.7704 GB, free: 75.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.063e-05/1.322, allocations: 11.86 kB / 0.7704 GB, free: 75.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/1.322, allocations: 11.44 kB / 0.7704 GB, free: 75.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/1.322, allocations: 0 / 0.7704 GB, free: 75.7 MB / 490.7 MB Notification: Performance of Templates: time 0.00294/1.325, allocations: 0.7118 MB / 0.7711 GB, free: 75 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterDerivativeCheck.pipe 2>&1)