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.009901/0.009901, allocations: 169 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05573/0.05573, allocations: 9.063 MB / 24.91 MB, free: 3.805 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.269/2.269, allocations: 205.4 MB / 232.6 MB, free: 7.703 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.001084/0.001084, allocations: 94.8 kB / 282.6 MB, free: 5.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 12 kB / 342.3 MB, free: 22.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 49.18 MB / 391.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.471/8.606, allocations: 2.77 GB / 3.153 GB, free: 72 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/8.606, allocations: 65.34 kB / 3.153 GB, free: 71.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5907/9.197, allocations: 107.9 MB / 3.258 GB, free: 90.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.286e-06/9.197, allocations: 0 / 3.258 GB, free: 90.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/9.197, allocations: 3.875 kB / 3.258 GB, free: 90.84 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.005383/9.202, allocations: 0.9113 MB / 3.259 GB, free: 90.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/9.202, allocations: 11.19 kB / 3.259 GB, free: 90.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/9.203, allocations: 42.84 kB / 3.259 GB, free: 90.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/9.203, allocations: 207.4 kB / 3.259 GB, free: 90 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/9.203, allocations: 10.2 kB / 3.259 GB, free: 90 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/9.203, allocations: 10.62 kB / 3.259 GB, free: 90 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/9.204, allocations: 256.3 kB / 3.26 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/9.204, allocations: 3.625 kB / 3.26 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/9.204, allocations: 3.812 kB / 3.26 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/9.204, allocations: 3.844 kB / 3.26 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/9.204, allocations: 199.7 kB / 3.26 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/9.205, allocations: 0.6817 MB / 3.26 GB, free: 89.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/9.206, allocations: 226.3 kB / 3.261 GB, free: 89.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1219/9.328, allocations: 63.7 MB / 3.323 GB, free: 48.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/9.328, allocations: 38.38 kB / 3.323 GB, free: 48.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 3.297e-06/9.328, allocations: 0 / 3.323 GB, free: 48.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001993/9.33, allocations: 360.7 kB / 3.323 GB, free: 48.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/9.33, allocations: 84.89 kB / 3.323 GB, free: 48.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/9.33, allocations: 116.5 kB / 3.323 GB, free: 48.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/9.33, allocations: 33.08 kB / 3.323 GB, free: 48.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/9.33, allocations: 102.3 kB / 3.324 GB, free: 47.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/9.33, allocations: 45.69 kB / 3.324 GB, free: 47.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/9.33, allocations: 3.688 kB / 3.324 GB, free: 47.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/9.33, allocations: 321.8 kB / 3.324 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/9.331, allocations: 51.78 kB / 3.324 GB, free: 47.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/9.331, allocations: 92.02 kB / 3.324 GB, free: 47.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/9.331, allocations: 57.38 kB / 3.324 GB, free: 47.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/9.331, allocations: 0 / 3.324 GB, free: 47.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004532/9.331, allocations: 214.8 kB / 3.324 GB, free: 47.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/9.331, allocations: 11.14 kB / 3.324 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/9.331, allocations: 0 / 3.324 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/9.331, allocations: 3.312 kB / 3.324 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/9.332, allocations: 59.59 kB / 3.324 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/9.332, allocations: 0.7812 kB / 3.324 GB, free: 47.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/9.332, allocations: 15.44 kB / 3.324 GB, free: 47.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/9.332, allocations: 19.06 kB / 3.324 GB, free: 47.54 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.0001456/9.332, allocations: 118.7 kB / 3.325 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/9.332, allocations: 15.52 kB / 3.325 GB, free: 47.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/9.335, allocations: 2.064 MB / 3.327 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/9.335, allocations: 7.344 kB / 3.327 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/9.335, allocations: 0 / 3.327 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/9.335, allocations: 0 / 3.327 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/9.336, allocations: 1.032 MB / 3.328 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/9.336, allocations: 2.719 kB / 3.328 GB, free: 46.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/9.336, allocations: 37.75 kB / 3.328 GB, free: 46.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/9.336, allocations: 6.938 kB / 3.328 GB, free: 46.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/9.336, allocations: 7.516 kB / 3.328 GB, free: 46.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/9.336, allocations: 3.312 kB / 3.328 GB, free: 46.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/9.336, allocations: 0 / 3.328 GB, free: 46.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/9.337, allocations: 0.6432 MB / 3.328 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/9.338, allocations: 104.4 kB / 3.328 GB, free: 46.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/9.338, allocations: 3.953 kB / 3.328 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/9.338, allocations: 7.156 kB / 3.328 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/9.338, allocations: 9.719 kB / 3.328 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/9.338, allocations: 3.438 kB / 3.328 GB, free: 46.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.679e-05/9.338, allocations: 107.5 kB / 3.328 GB, free: 46.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/9.338, allocations: 0 / 3.328 GB, free: 46.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007274/9.345, allocations: 0.9099 MB / 3.329 GB, free: 46.32 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.01132/9.357, allocations: 1.201 MB / 3.331 GB, free: 46.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007302/9.357, allocations: 208.3 kB / 3.331 GB, free: 46.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/9.357, allocations: 8.062 kB / 3.331 GB, free: 46.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/9.358, allocations: 159.2 kB / 3.331 GB, free: 46.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/9.358, allocations: 67.25 kB / 3.331 GB, free: 46.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/9.36, allocations: 0.6635 MB / 3.332 GB, free: 45.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/9.36, allocations: 0.7429 MB / 3.332 GB, free: 44.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004931/9.36, allocations: 374.8 kB / 3.333 GB, free: 44.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/9.361, allocations: 33.53 kB / 3.333 GB, free: 44.95 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/9.361, allocations: 4 kB / 3.333 GB, free: 44.95 MB / 442.7 MB Notification: Performance of Templates: time 0.03882/9.399, allocations: 24.37 MB / 3.357 GB, free: 32.41 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)