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.001725/0.001726, allocations: 172.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06111/0.06111, allocations: 9.074 MB / 25.94 MB, free: 3.477 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.321/2.321, allocations: 205.4 MB / 233.7 MB, free: 12.7 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.001063/0.001063, allocations: 100.3 kB / 283.7 MB, free: 14.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005375/0.0005379, allocations: 16 kB / 343.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3912, allocations: 49.18 MB / 392.7 MB, free: 37.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.186/8.577, allocations: 2.771 GB / 3.154 GB, free: 37.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/8.577, allocations: 67.95 kB / 3.154 GB, free: 37.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6413/9.219, allocations: 107.3 MB / 3.259 GB, free: 98.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.356e-06/9.219, allocations: 0 / 3.259 GB, free: 98.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/9.219, allocations: 4 kB / 3.259 GB, free: 98.95 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.006319/9.225, allocations: 0.914 MB / 3.26 GB, free: 98.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/9.225, allocations: 8.031 kB / 3.26 GB, free: 98.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/9.226, allocations: 41.41 kB / 3.26 GB, free: 98.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/9.226, allocations: 212.2 kB / 3.26 GB, free: 97.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/9.226, allocations: 12.12 kB / 3.26 GB, free: 97.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/9.226, allocations: 8.375 kB / 3.26 GB, free: 97.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008821/9.227, allocations: 250.5 kB / 3.26 GB, free: 97.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/9.227, allocations: 4 kB / 3.26 GB, free: 97.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/9.227, allocations: 11.09 kB / 3.26 GB, free: 97.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/9.227, allocations: 7.938 kB / 3.26 GB, free: 97.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/9.228, allocations: 207.9 kB / 3.261 GB, free: 97.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/9.229, allocations: 0.6687 MB / 3.261 GB, free: 96.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/9.23, allocations: 225.5 kB / 3.262 GB, free: 96.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/9.23, allocations: 57.23 kB / 3.262 GB, free: 96.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/9.356, allocations: 63.7 MB / 3.324 GB, free: 33.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/9.356, allocations: 34.56 kB / 3.324 GB, free: 33.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.717e-06/9.356, allocations: 0 / 3.324 GB, free: 33.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001726/9.357, allocations: 361.2 kB / 3.324 GB, free: 33.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/9.357, allocations: 89.05 kB / 3.324 GB, free: 32.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/9.358, allocations: 122.6 kB / 3.324 GB, free: 32.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/9.358, allocations: 33.7 kB / 3.324 GB, free: 32.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/9.358, allocations: 96.03 kB / 3.325 GB, free: 32.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/9.358, allocations: 47.3 kB / 3.325 GB, free: 32.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/9.358, allocations: 0 / 3.325 GB, free: 32.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/9.358, allocations: 322.8 kB / 3.325 GB, free: 32.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/9.358, allocations: 55.97 kB / 3.325 GB, free: 32.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/9.358, allocations: 99.23 kB / 3.325 GB, free: 32.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/9.358, allocations: 136 kB / 3.325 GB, free: 32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/9.358, allocations: 7.922 kB / 3.325 GB, free: 31.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004062/9.359, allocations: 213.4 kB / 3.325 GB, free: 31.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/9.359, allocations: 12.06 kB / 3.325 GB, free: 31.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/9.359, allocations: 4 kB / 3.325 GB, free: 31.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/9.359, allocations: 0 / 3.325 GB, free: 31.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/9.359, allocations: 51.95 kB / 3.325 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/9.359, allocations: 11.88 kB / 3.325 GB, free: 31.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/9.359, allocations: 15.84 kB / 3.325 GB, free: 31.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/9.359, allocations: 19.97 kB / 3.325 GB, free: 31.66 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 () * Number of clocked 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.0001047/9.359, allocations: 117.8 kB / 3.326 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/9.36, allocations: 15.91 kB / 3.326 GB, free: 31.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/9.361, allocations: 2.055 MB / 3.328 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/9.361, allocations: 11.98 kB / 3.328 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/9.361, allocations: 3.938 kB / 3.328 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/9.361, allocations: 8 kB / 3.328 GB, free: 29.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009483/9.362, allocations: 1.019 MB / 3.329 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/9.362, allocations: 0 / 3.329 GB, free: 28.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/9.363, allocations: 39.89 kB / 3.329 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/9.363, allocations: 7.938 kB / 3.329 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/9.363, allocations: 0 / 3.329 GB, free: 28.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/9.363, allocations: 4 kB / 3.329 GB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/9.363, allocations: 3.938 kB / 3.329 GB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/9.363, allocations: 0.6376 MB / 3.329 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/9.363, allocations: 100.8 kB / 3.329 GB, free: 27.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/9.363, allocations: 4 kB / 3.329 GB, free: 27.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/9.364, allocations: 11.92 kB / 3.329 GB, free: 27.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/9.364, allocations: 15.88 kB / 3.329 GB, free: 27.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/9.364, allocations: 7.984 kB / 3.329 GB, free: 27.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.793e-05/9.364, allocations: 100.3 kB / 3.33 GB, free: 27.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/9.364, allocations: 0 / 3.33 GB, free: 27.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005506/9.369, allocations: 0.9055 MB / 3.33 GB, free: 26.45 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 () * Number of clocked 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.009573/9.379, allocations: 1.196 MB / 3.332 GB, free: 25.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005863/9.38, allocations: 211.8 kB / 3.332 GB, free: 25.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/9.38, allocations: 0 / 3.332 GB, free: 25.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/9.38, allocations: 155.9 kB / 3.332 GB, free: 24.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/9.381, allocations: 68.05 kB / 3.332 GB, free: 24.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/9.382, allocations: 0.6694 MB / 3.333 GB, free: 24.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/9.382, allocations: 0.7408 MB / 3.333 GB, free: 23.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000442/9.382, allocations: 364.6 kB / 3.334 GB, free: 23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/9.383, allocations: 43.36 kB / 3.334 GB, free: 22.95 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/9.383, allocations: 3.938 kB / 3.334 GB, free: 22.95 MB / 442.7 MB Notification: Performance of Templates: time 0.3618/9.744, allocations: 26.49 MB / 3.36 GB, free: 102.7 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)