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.001955/0.001955, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 130.6 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 396.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008951, allocations: 110.9 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.18e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1817, allocations: 81.57 MB / 0.6347 GB, free: 12.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.811/0.9928, allocations: 340.2 MB / 0.9669 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.993, allocations: 73.94 kB / 0.967 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4544/1.447, allocations: 13.33 MB / 0.98 GB, free: 265.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.943e-06/1.448, allocations: 3.938 kB / 0.98 GB, free: 265.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.153e-06/1.448, allocations: 2.469 kB / 0.98 GB, free: 265.5 MB / 0.6823 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.0003327/1.448, allocations: 343.4 kB / 0.9804 GB, free: 265.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.448, allocations: 8.031 kB / 0.9804 GB, free: 265.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/1.448, allocations: 12.97 kB / 0.9804 GB, free: 265.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/1.448, allocations: 164.1 kB / 0.9805 GB, free: 265 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.448, allocations: 3.516 kB / 0.9805 GB, free: 265 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/1.448, allocations: 10.84 kB / 0.9805 GB, free: 265 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/1.448, allocations: 51.2 kB / 0.9806 GB, free: 264.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.448, allocations: 3.984 kB / 0.9806 GB, free: 264.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/1.448, allocations: 0 / 0.9806 GB, free: 264.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/1.448, allocations: 0 / 0.9806 GB, free: 264.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/1.448, allocations: 22.8 kB / 0.9806 GB, free: 264.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/1.449, allocations: 168.7 kB / 0.9808 GB, free: 264.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.476e-05/1.449, allocations: 46.08 kB / 0.9808 GB, free: 264.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/1.449, allocations: 19.3 kB / 0.9808 GB, free: 264.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/1.45, allocations: 0.6208 MB / 0.9814 GB, free: 264 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/1.45, allocations: 30.56 kB / 0.9815 GB, free: 264 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/1.45, allocations: 0 / 0.9815 GB, free: 264 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000567/1.45, allocations: 299.8 kB / 0.9818 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.45, allocations: 51.97 kB / 0.9818 GB, free: 263.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/1.45, allocations: 97.22 kB / 0.9819 GB, free: 263.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/1.45, allocations: 25.7 kB / 0.9819 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/1.45, allocations: 84.66 kB / 0.982 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/1.45, allocations: 31.33 kB / 0.982 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.45, allocations: 4 kB / 0.982 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/1.45, allocations: 316.5 kB / 0.9823 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/1.45, allocations: 13.16 kB / 0.9824 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/1.451, allocations: 50.09 kB / 0.9824 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/1.451, allocations: 24.53 kB / 0.9824 GB, free: 263 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.451, allocations: 1.906 kB / 0.9824 GB, free: 263 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001183/1.451, allocations: 90.78 kB / 0.9825 GB, free: 263 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.451, allocations: 5.547 kB / 0.9825 GB, free: 263 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.451, allocations: 10.33 kB / 0.9825 GB, free: 263 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.451, allocations: 7.938 kB / 0.9825 GB, free: 263 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/1.451, allocations: 16.33 kB / 0.9826 GB, free: 263 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/1.451, allocations: 2.219 kB / 0.9826 GB, free: 263 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/1.451, allocations: 6.906 kB / 0.9826 GB, free: 263 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/1.451, allocations: 7.688 kB / 0.9826 GB, free: 263 MB / 0.6823 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 5.267e-05/1.451, allocations: 116.1 kB / 0.9827 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/1.451, allocations: 2.719 kB / 0.9827 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/1.451, allocations: 10.17 kB / 0.9827 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.451, allocations: 5.297 kB / 0.9827 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/1.451, allocations: 0 / 0.9827 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.451, allocations: 0.5625 kB / 0.9827 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/1.451, allocations: 176.2 kB / 0.9829 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/1.451, allocations: 3.938 kB / 0.9829 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/1.451, allocations: 18.55 kB / 0.9829 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.451, allocations: 1.156 kB / 0.9829 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/1.451, allocations: 5.703 kB / 0.9829 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.451, allocations: 0 / 0.9829 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.451, allocations: 5.141 kB / 0.9829 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/1.452, allocations: 169.9 kB / 0.9831 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/1.452, allocations: 89.17 kB / 0.9831 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/1.452, allocations: 1.531 kB / 0.9831 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/1.452, allocations: 6.75 kB / 0.9832 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/1.452, allocations: 8.312 kB / 0.9832 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/1.452, allocations: 2.156 kB / 0.9832 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.906e-05/1.452, allocations: 83.59 kB / 0.9832 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.452, allocations: 0 / 0.9832 GB, free: 262.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000241/1.452, allocations: 16.06 kB / 0.9833 GB, free: 262.3 MB / 0.6823 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.000166/1.452, allocations: 116.3 kB / 0.9834 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000131/1.452, allocations: 44.91 kB / 0.9834 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.452, allocations: 0 / 0.9834 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/1.452, allocations: 12.86 kB / 0.9834 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/1.453, allocations: 12.67 kB / 0.9834 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/1.453, allocations: 272.7 kB / 0.9837 GB, free: 262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.453, allocations: 0.6857 MB / 0.9844 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.057e-05/1.453, allocations: 12.66 kB / 0.9844 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/1.453, allocations: 15.41 kB / 0.9844 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/1.453, allocations: 0 / 0.9844 GB, free: 261.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.003534/1.457, allocations: 0.908 MB / 0.9853 GB, free: 261.1 MB / 0.6823 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)