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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 79.11 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 159.3 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05169/0.05169, allocations: 7.537 MB / 267.3 MB, free: 9.574 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 63.91 kB / 392.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.111, allocations: 54.91 MB / 447.7 MB, free: 4.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01659/0.1276, allocations: 11.86 MB / 459.5 MB, free: 8.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.138, allocations: 7.502 MB / 467 MB, free: 1.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.1381, allocations: 0 / 467 MB, free: 1.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.1383, allocations: 31.75 kB / 467.1 MB, free: 1.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.1433, allocations: 1.884 MB / 469 MB, free: 15.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006217/0.1495, allocations: 2.273 MB / 471.2 MB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1497, allocations: 131.1 kB / 471.4 MB, free: 12.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.1498, allocations: 4 kB / 471.4 MB, free: 12.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.1498, allocations: 43.84 kB / 471.4 MB, free: 12.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1499, allocations: 39.8 kB / 471.5 MB, free: 12.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.15, allocations: 4 kB / 471.5 MB, free: 12.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/0.1632, allocations: 6.634 MB / 478.1 MB, free: 6.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.1633, allocations: 15.88 kB / 478.1 MB, free: 6.074 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.1633, allocations: 43.84 kB / 478.1 MB, free: 6.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009291/0.1726, allocations: 3.781 MB / 481.9 MB, free: 2.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.1726, allocations: 0 / 481.9 MB, free: 2.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1726, allocations: 0 / 481.9 MB, free: 2.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.1727, allocations: 0 / 481.9 MB, free: 2.238 MB / 446.1 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.002745/0.1754, allocations: 0.8341 MB / 482.8 MB, free: 1.371 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1754, allocations: 12.56 kB / 482.8 MB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.1758, allocations: 36.86 kB / 482.8 MB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1761, allocations: 154.4 kB / 483 MB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1761, allocations: 4.562 kB / 483 MB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1761, allocations: 15.94 kB / 483 MB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008673/0.177, allocations: 274.2 kB / 483.2 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.177, allocations: 0 / 483.2 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.177, allocations: 0 / 483.2 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.177, allocations: 4 kB / 483.3 MB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007829/0.1778, allocations: 215.7 kB / 483.5 MB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.1784, allocations: 408.3 kB / 483.9 MB, free: 208 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1995/0.3779, allocations: 228 kB / 484.1 MB, free: 72.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.378, allocations: 53.06 kB / 484.1 MB, free: 72.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1205/0.4985, allocations: 35.06 MB / 0.507 GB, free: 69.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4985, allocations: 35.94 kB / 0.5071 GB, free: 69.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.4985, allocations: 0 / 0.5071 GB, free: 69.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001654/0.5002, allocations: 375.2 kB / 0.5074 GB, free: 69.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.5002, allocations: 79.64 kB / 0.5075 GB, free: 69.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.5003, allocations: 125.6 kB / 0.5076 GB, free: 69.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5003, allocations: 30.7 kB / 0.5076 GB, free: 69.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.5004, allocations: 101 kB / 0.5077 GB, free: 69.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.5004, allocations: 50.5 kB / 0.5078 GB, free: 69.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.5005, allocations: 60.53 kB / 0.5078 GB, free: 69.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.5006, allocations: 320.6 kB / 0.5081 GB, free: 68.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5007, allocations: 60.41 kB / 0.5082 GB, free: 68.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.5008, allocations: 91.59 kB / 0.5083 GB, free: 68.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.5011, allocations: 149.5 kB / 0.5084 GB, free: 68.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.5011, allocations: 1.188 kB / 0.5084 GB, free: 68.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004763/0.5016, allocations: 218.6 kB / 0.5086 GB, free: 68.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5016, allocations: 5.812 kB / 0.5087 GB, free: 68.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5016, allocations: 1.25 kB / 0.5087 GB, free: 68.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.5017, allocations: 1.281 kB / 0.5087 GB, free: 68.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.5019, allocations: 56.34 kB / 0.5087 GB, free: 68.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5019, allocations: 3.031 kB / 0.5087 GB, free: 68.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.502, allocations: 19.7 kB / 0.5087 GB, free: 68.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.502, allocations: 19.05 kB / 0.5087 GB, free: 68.6 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.357e-05/0.5021, allocations: 118.9 kB / 0.5089 GB, free: 68.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.5022, allocations: 18.02 kB / 0.5089 GB, free: 68.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.5042, allocations: 2.244 MB / 0.5111 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.5043, allocations: 7.5 kB / 0.5111 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5043, allocations: 0 / 0.5111 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5043, allocations: 2.734 kB / 0.5111 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/0.5051, allocations: 1.025 MB / 0.5121 GB, free: 66.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5051, allocations: 1.344 kB / 0.5121 GB, free: 66.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.5054, allocations: 40.95 kB / 0.5121 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5054, allocations: 1.906 kB / 0.5121 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5054, allocations: 2.234 kB / 0.5121 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5054, allocations: 3.969 kB / 0.5121 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5054, allocations: 1.781 kB / 0.5121 GB, free: 66.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.506, allocations: 0.6638 MB / 0.5128 GB, free: 66.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.5061, allocations: 31.27 kB / 0.5128 GB, free: 66.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.5061, allocations: 1.875 kB / 0.5128 GB, free: 66.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.5062, allocations: 9.547 kB / 0.5128 GB, free: 66.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.5063, allocations: 9.844 kB / 0.5128 GB, free: 66.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5063, allocations: 7.828 kB / 0.5128 GB, free: 66.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.913e-05/0.5063, allocations: 98.28 kB / 0.5129 GB, free: 66.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5063, allocations: 0 / 0.5129 GB, free: 66.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002239/0.5086, allocations: 0.9226 MB / 0.5138 GB, free: 66.24 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003838/0.5124, allocations: 1.111 MB / 0.5149 GB, free: 65.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.5128, allocations: 219.5 kB / 0.5151 GB, free: 65.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5128, allocations: 0 / 0.5151 GB, free: 65.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.513, allocations: 130.3 kB / 0.5152 GB, free: 65.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.5136, allocations: 59.72 kB / 0.5153 GB, free: 65.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.5145, allocations: 0.5724 MB / 0.5159 GB, free: 65.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.5146, allocations: 120.4 kB / 0.516 GB, free: 65.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003728/0.5149, allocations: 387.8 kB / 0.5163 GB, free: 64.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.515, allocations: 32.2 kB / 0.5164 GB, free: 64.85 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.515, allocations: 0 / 0.5164 GB, free: 64.85 MB / 446.1 MB Notification: Performance of Templates: time 0.03689/0.5519, allocations: 33.72 MB / 0.5493 GB, free: 31.52 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.223862370941788] Failed to read output from testmodel.py, exit status != 0: 0.5606732740998268 0.5698491339999999 0.394811987 Calling exit ...