Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04366/0.04366, allocations: 8.666 MB / 21.93 MB, free: 3.078 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.2 MB / 229.3 MB, free: 14.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000864/0.0008641, allocations: 91.03 kB / 279 MB, free: 15.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.124e-05, allocations: 4 kB / 336 MB, free: 6.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2967, allocations: 49.17 MB / 385.2 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.595/7.892, allocations: 2.77 GB / 3.146 GB, free: 33.44 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/7.892, allocations: 67.97 kB / 3.147 GB, free: 33.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6423/8.535, allocations: 107.7 MB / 3.252 GB, free: 101.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/8.535, allocations: 0 / 3.252 GB, free: 101.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/8.535, allocations: 4 kB / 3.252 GB, free: 101.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.004684/8.54, allocations: 0.8934 MB / 3.253 GB, free: 100.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/8.54, allocations: 8.031 kB / 3.253 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/8.54, allocations: 46.92 kB / 3.253 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/8.54, allocations: 205.8 kB / 3.253 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/8.54, allocations: 4.188 kB / 3.253 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/8.54, allocations: 8 kB / 3.253 GB, free: 100.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/8.541, allocations: 274.6 kB / 3.253 GB, free: 99.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/8.541, allocations: 0 / 3.253 GB, free: 99.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/8.541, allocations: 4 kB / 3.253 GB, free: 99.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/8.541, allocations: 1.688 kB / 3.253 GB, free: 99.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000613/8.542, allocations: 218.8 kB / 3.253 GB, free: 99.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/8.542, allocations: 0.6748 MB / 3.254 GB, free: 98.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/8.543, allocations: 237.5 kB / 3.254 GB, free: 98.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/8.543, allocations: 61.36 kB / 3.254 GB, free: 98.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1055/8.649, allocations: 63.94 MB / 3.317 GB, free: 29.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/8.649, allocations: 38.56 kB / 3.317 GB, free: 29.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.006e-06/8.649, allocations: 7.938 kB / 3.317 GB, free: 29.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001731/8.651, allocations: 357.2 kB / 3.317 GB, free: 29.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/8.651, allocations: 77.11 kB / 3.317 GB, free: 29.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/8.651, allocations: 123 kB / 3.317 GB, free: 29.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/8.651, allocations: 29.7 kB / 3.317 GB, free: 29.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/8.651, allocations: 95.98 kB / 3.317 GB, free: 29.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/8.651, allocations: 55.28 kB / 3.318 GB, free: 29.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/8.651, allocations: 4 kB / 3.318 GB, free: 29.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/8.651, allocations: 318.8 kB / 3.318 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/8.651, allocations: 59.98 kB / 3.318 GB, free: 28.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/8.651, allocations: 87.34 kB / 3.318 GB, free: 28.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/8.651, allocations: 55.97 kB / 3.318 GB, free: 28.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/8.651, allocations: 4 kB / 3.318 GB, free: 28.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003898/8.652, allocations: 213.3 kB / 3.318 GB, free: 28.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/8.652, allocations: 4.109 kB / 3.318 GB, free: 28.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/8.652, allocations: 3.938 kB / 3.318 GB, free: 28.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/8.652, allocations: 4 kB / 3.318 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/8.652, allocations: 55.89 kB / 3.318 GB, free: 28.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/8.652, allocations: 4 kB / 3.318 GB, free: 28.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/8.652, allocations: 8 kB / 3.318 GB, free: 28.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/8.652, allocations: 15.98 kB / 3.318 GB, free: 28.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001019/8.653, allocations: 117.5 kB / 3.318 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/8.653, allocations: 19.75 kB / 3.318 GB, free: 28.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/8.654, allocations: 2.125 MB / 3.321 GB, free: 25.92 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/8.654, allocations: 8 kB / 3.321 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/8.654, allocations: 7.438 kB / 3.321 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/8.654, allocations: 3.984 kB / 3.321 GB, free: 25.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/8.655, allocations: 1.023 MB / 3.322 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/8.655, allocations: 3.984 kB / 3.322 GB, free: 24.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/8.656, allocations: 31.97 kB / 3.322 GB, free: 24.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/8.656, allocations: 0 / 3.322 GB, free: 24.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/8.656, allocations: 7.953 kB / 3.322 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/8.656, allocations: 0 / 3.322 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/8.656, allocations: 0 / 3.322 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/8.656, allocations: 0.6432 MB / 3.322 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/8.656, allocations: 112.7 kB / 3.322 GB, free: 23.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/8.656, allocations: 4 kB / 3.322 GB, free: 23.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/8.657, allocations: 4 kB / 3.322 GB, free: 23.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/8.657, allocations: 11.98 kB / 3.322 GB, free: 23.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/8.657, allocations: 8.062 kB / 3.322 GB, free: 23.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.088e-05/8.657, allocations: 101 kB / 3.322 GB, free: 23.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/8.657, allocations: 0 / 3.322 GB, free: 23.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00608/8.663, allocations: 0.9131 MB / 3.323 GB, free: 22.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.009851/8.673, allocations: 1.197 MB / 3.325 GB, free: 21.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005236/8.673, allocations: 208.2 kB / 3.325 GB, free: 21.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/8.673, allocations: 0 / 3.325 GB, free: 21.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/8.673, allocations: 164.2 kB / 3.325 GB, free: 21.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/8.674, allocations: 56.06 kB / 3.325 GB, free: 21.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/8.675, allocations: 469.5 kB / 3.325 GB, free: 20.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/8.676, allocations: 0.7448 MB / 3.326 GB, free: 20.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004775/8.676, allocations: 368.4 kB / 3.326 GB, free: 19.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/8.676, allocations: 31.42 kB / 3.326 GB, free: 19.64 MB / 442.7 MB Notification: Performance of SimCode: time 9.31e-07/8.676, allocations: 0 / 3.326 GB, free: 19.64 MB / 442.7 MB Notification: Performance of Templates: time 0.3723/9.048, allocations: 25.4 MB / 3.351 GB, free: 108 MB / 442.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1)