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.2792/0.2792, allocations: 54.34 MB / 66.9 MB, free: 6.086 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.001216/0.001216, allocations: 182.6 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.825/1.825, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00219/0.002191, allocations: 123.1 kB / 346.9 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.535e-05, allocations: 4 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 57.65 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.148, allocations: 309.5 MB / 0.7612 GB, free: 68.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.148, allocations: 72.27 kB / 0.7613 GB, free: 68.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02414/1.172, allocations: 12.32 MB / 0.7733 GB, free: 59.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.172, allocations: 0 / 0.7733 GB, free: 59.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.393e-06/1.172, allocations: 0 / 0.7733 GB, free: 59.03 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.0002908/1.173, allocations: 342.8 kB / 0.7736 GB, free: 58.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/1.173, allocations: 8.031 kB / 0.7736 GB, free: 58.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/1.173, allocations: 7.984 kB / 0.7736 GB, free: 58.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/1.173, allocations: 174.9 kB / 0.7738 GB, free: 58.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/1.173, allocations: 7.312 kB / 0.7738 GB, free: 58.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/1.173, allocations: 4 kB / 0.7738 GB, free: 58.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/1.173, allocations: 56.38 kB / 0.7739 GB, free: 58.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.173, allocations: 0 / 0.7739 GB, free: 58.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/1.173, allocations: 3.25 kB / 0.7739 GB, free: 58.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/1.173, allocations: 0 / 0.7739 GB, free: 58.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/1.173, allocations: 15.98 kB / 0.7739 GB, free: 58.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/1.174, allocations: 168.2 kB / 0.7741 GB, free: 58.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.816e-05/1.174, allocations: 58 kB / 0.7741 GB, free: 58.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/1.174, allocations: 16.23 kB / 0.7741 GB, free: 58.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/1.174, allocations: 0.6091 MB / 0.7747 GB, free: 57.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/1.174, allocations: 34.56 kB / 0.7748 GB, free: 57.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/1.174, allocations: 0 / 0.7748 GB, free: 57.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005146/1.175, allocations: 302.4 kB / 0.775 GB, free: 56.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/1.175, allocations: 55.34 kB / 0.7751 GB, free: 56.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/1.175, allocations: 91.52 kB / 0.7752 GB, free: 56.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/1.175, allocations: 27.08 kB / 0.7752 GB, free: 56.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/1.175, allocations: 91.23 kB / 0.7753 GB, free: 56.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/1.175, allocations: 33.92 kB / 0.7753 GB, free: 56.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.175, allocations: 6.812 kB / 0.7753 GB, free: 56.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/1.175, allocations: 314.8 kB / 0.7756 GB, free: 56.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/1.175, allocations: 10.69 kB / 0.7756 GB, free: 56.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/1.175, allocations: 55.55 kB / 0.7757 GB, free: 56.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/1.175, allocations: 26.45 kB / 0.7757 GB, free: 56.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/1.175, allocations: 0 / 0.7757 GB, free: 56.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001143/1.176, allocations: 93.48 kB / 0.7758 GB, free: 56.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.176, allocations: 4 kB / 0.7758 GB, free: 56.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.176, allocations: 0 / 0.7758 GB, free: 56.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.176, allocations: 4 kB / 0.7758 GB, free: 56.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/1.176, allocations: 20.06 kB / 0.7758 GB, free: 56.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.176, allocations: 8 kB / 0.7758 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.551e-05/1.176, allocations: 3.438 kB / 0.7759 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/1.176, allocations: 7.938 kB / 0.7759 GB, free: 56.14 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 7.559e-05/1.176, allocations: 124 kB / 0.776 GB, free: 56.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/1.176, allocations: 3.906 kB / 0.776 GB, free: 56.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/1.176, allocations: 11.47 kB / 0.776 GB, free: 56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.176, allocations: 0 / 0.776 GB, free: 56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.176, allocations: 0 / 0.776 GB, free: 56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.176, allocations: 0 / 0.776 GB, free: 56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/1.176, allocations: 178.9 kB / 0.7762 GB, free: 55.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.176, allocations: 0 / 0.7762 GB, free: 55.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/1.176, allocations: 18.61 kB / 0.7762 GB, free: 55.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.176, allocations: 4 kB / 0.7762 GB, free: 55.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/1.176, allocations: 0 / 0.7762 GB, free: 55.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/1.176, allocations: 0 / 0.7762 GB, free: 55.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.176, allocations: 0 / 0.7762 GB, free: 55.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/1.176, allocations: 173.9 kB / 0.7763 GB, free: 55.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/1.176, allocations: 89.05 kB / 0.7764 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/1.176, allocations: 6.688 kB / 0.7764 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/1.177, allocations: 3.938 kB / 0.7764 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/1.177, allocations: 7.984 kB / 0.7765 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/1.177, allocations: 1.5 kB / 0.7765 GB, free: 55.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.158e-05/1.177, allocations: 82.16 kB / 0.7765 GB, free: 55.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.177, allocations: 0 / 0.7765 GB, free: 55.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002249/1.177, allocations: 14.62 kB / 0.7765 GB, free: 55.38 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.0001674/1.177, allocations: 122 kB / 0.7767 GB, free: 55.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.553e-05/1.177, allocations: 41.86 kB / 0.7767 GB, free: 55.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.177, allocations: 4 kB / 0.7767 GB, free: 55.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/1.177, allocations: 18.31 kB / 0.7767 GB, free: 55.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/1.177, allocations: 6.812 kB / 0.7767 GB, free: 55.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/1.178, allocations: 267.8 kB / 0.777 GB, free: 54.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/1.178, allocations: 0.6887 MB / 0.7777 GB, free: 54.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.34e-05/1.178, allocations: 15.84 kB / 0.7777 GB, free: 54.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/1.178, allocations: 11.44 kB / 0.7777 GB, free: 54.17 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/1.178, allocations: 0 / 0.7777 GB, free: 54.17 MB / 490.7 MB Notification: Performance of Templates: time 0.002712/1.181, allocations: 0.9099 MB / 0.7786 GB, free: 53.27 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)