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.001667/0.001667, 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/HelmholtzMedia master/package.mo): time 0.07348/0.07348, allocations: 8.671 MB / 16.74 MB, free: 2.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.3 MB / 224.1 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 101.2 kB / 273.7 MB, free: 8.449 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.466e-05, allocations: 4 kB / 329.1 MB, free: 30.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.0962, allocations: 49.19 MB / 378.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.439/7.535, allocations: 2.77 GB / 3.139 GB, free: 112.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/7.536, allocations: 68.48 kB / 3.139 GB, free: 112.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.262/7.798, allocations: 105.8 MB / 3.242 GB, free: 39.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/7.798, allocations: 7.938 kB / 3.242 GB, free: 39.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/7.798, allocations: 0 / 3.242 GB, free: 39.12 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.004324/7.802, allocations: 0.8879 MB / 3.243 GB, free: 38.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/7.802, allocations: 8.031 kB / 3.243 GB, free: 38.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/7.803, allocations: 39.86 kB / 3.243 GB, free: 38.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/7.803, allocations: 206.8 kB / 3.244 GB, free: 37.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/7.803, allocations: 4 kB / 3.244 GB, free: 37.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/7.803, allocations: 7.938 kB / 3.244 GB, free: 37.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001277/7.803, allocations: 60.36 kB / 3.244 GB, free: 37.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/7.803, allocations: 108.5 kB / 3.244 GB, free: 37.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/7.803, allocations: 0 / 3.244 GB, free: 37.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/7.803, allocations: 0 / 3.244 GB, free: 37.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/7.803, allocations: 4 kB / 3.244 GB, free: 37.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/7.804, allocations: 0.6394 MB / 3.244 GB, free: 36.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/7.804, allocations: 117.2 kB / 3.245 GB, free: 36.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/7.804, allocations: 49.75 kB / 3.245 GB, free: 36.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4904/8.295, allocations: 63.93 MB / 3.307 GB, free: 77.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/8.295, allocations: 34.5 kB / 3.307 GB, free: 77.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 4.077e-06/8.295, allocations: 0 / 3.307 GB, free: 77.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001198/8.296, allocations: 251.7 kB / 3.307 GB, free: 77.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/8.296, allocations: 81.08 kB / 3.307 GB, free: 77.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/8.296, allocations: 110.6 kB / 3.307 GB, free: 77.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/8.296, allocations: 25.7 kB / 3.307 GB, free: 77.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/8.296, allocations: 98.8 kB / 3.308 GB, free: 77.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/8.296, allocations: 53.55 kB / 3.308 GB, free: 77.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/8.296, allocations: 0 / 3.308 GB, free: 77.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/8.296, allocations: 317.4 kB / 3.308 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/8.296, allocations: 51.86 kB / 3.308 GB, free: 77.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/8.297, allocations: 82.14 kB / 3.308 GB, free: 77.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/8.297, allocations: 88.72 kB / 3.308 GB, free: 77.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/8.297, allocations: 0 / 3.308 GB, free: 77.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006762/8.298, allocations: 219 kB / 3.308 GB, free: 77.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/8.298, allocations: 7.719 kB / 3.308 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/8.298, allocations: 0 / 3.308 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/8.298, allocations: 7.938 kB / 3.308 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/8.298, allocations: 55.28 kB / 3.308 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/8.298, allocations: 7.766 kB / 3.308 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/8.298, allocations: 12.39 kB / 3.308 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/8.298, allocations: 15.53 kB / 3.308 GB, free: 77.09 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.0001033/8.298, allocations: 112.3 kB / 3.309 GB, free: 76.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/8.298, allocations: 7.875 kB / 3.309 GB, free: 76.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/8.3, allocations: 2.123 MB / 3.311 GB, free: 76.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/8.3, allocations: 10.44 kB / 3.311 GB, free: 76.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/8.3, allocations: 6.297 kB / 3.311 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/8.3, allocations: 0 / 3.311 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/8.301, allocations: 0.9836 MB / 3.312 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/8.301, allocations: 3.625 kB / 3.312 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/8.301, allocations: 32.94 kB / 3.312 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/8.301, allocations: 3.5 kB / 3.312 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/8.301, allocations: 6.828 kB / 3.312 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/8.301, allocations: 3.812 kB / 3.312 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/8.301, allocations: 3.656 kB / 3.312 GB, free: 76.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/8.302, allocations: 0.6337 MB / 3.312 GB, free: 76.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/8.302, allocations: 100.8 kB / 3.312 GB, free: 76.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/8.302, allocations: 3.938 kB / 3.312 GB, free: 76.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/8.302, allocations: 1.969 kB / 3.312 GB, free: 76.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/8.302, allocations: 11.78 kB / 3.312 GB, free: 76.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/8.302, allocations: 7 kB / 3.312 GB, free: 76.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.667e-05/8.302, allocations: 97.44 kB / 3.312 GB, free: 76.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/8.302, allocations: 3.781 kB / 3.312 GB, free: 76.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005108/8.307, allocations: 0.9062 MB / 3.313 GB, free: 76.09 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.006584/8.314, allocations: 1.218 MB / 3.315 GB, free: 75.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004613/8.315, allocations: 197.4 kB / 3.315 GB, free: 75.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/8.315, allocations: 7.031 kB / 3.315 GB, free: 75.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/8.315, allocations: 149.2 kB / 3.315 GB, free: 75.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/8.315, allocations: 62.44 kB / 3.315 GB, free: 75.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/8.316, allocations: 467.2 kB / 3.315 GB, free: 75.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/8.317, allocations: 0.7398 MB / 3.316 GB, free: 75.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004606/8.317, allocations: 370.8 kB / 3.316 GB, free: 75.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-05/8.317, allocations: 35.91 kB / 3.317 GB, free: 75.16 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/8.317, allocations: 0 / 3.317 GB, free: 75.16 MB / 442.7 MB Notification: Performance of Templates: time 0.03369/8.351, allocations: 23.06 MB / 3.339 GB, free: 73.8 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)