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.001284/0.001284, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001413/0.001413, allocations: 219 kB / 22.25 MB, free: 5.121 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.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.05248/0.05248, allocations: 9.141 MB / 321.6 MB, free: 10.42 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.001973/0.001973, allocations: 63.91 kB / 447.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 54.95 MB / 0.4903 GB, free: 9.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01711/0.125, allocations: 13.05 MB / 0.503 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1356, allocations: 8.626 MB / 0.5115 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1358, allocations: 0 / 0.5115 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.136, allocations: 43.72 kB / 0.5115 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005336/0.1413, allocations: 1.892 MB / 0.5133 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2234/0.3647, allocations: 2.263 MB / 0.5156 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.3649, allocations: 127.3 kB / 0.5157 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.3649, allocations: 5.297 kB / 0.5157 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.365, allocations: 41.38 kB / 0.5157 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.3651, allocations: 47.81 kB / 0.5158 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3651, allocations: 3.656 kB / 0.5158 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.3787, allocations: 6.957 MB / 0.5226 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.3787, allocations: 18.98 kB / 0.5226 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.3788, allocations: 46.42 kB / 0.5226 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.3896, allocations: 3.794 MB / 0.5263 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3896, allocations: 0 / 0.5263 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3896, allocations: 0 / 0.5263 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3896, allocations: 1.062 kB / 0.5263 GB, free: 9.164 MB / 382.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.004297/0.3939, allocations: 0.8418 MB / 0.5272 GB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.394, allocations: 9 kB / 0.5272 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.3944, allocations: 46.09 kB / 0.5272 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3947, allocations: 147.1 kB / 0.5273 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3947, allocations: 8.812 kB / 0.5274 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.3948, allocations: 17.42 kB / 0.5274 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3958, allocations: 261 kB / 0.5276 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3958, allocations: 1.062 kB / 0.5276 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3958, allocations: 5.125 kB / 0.5276 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3958, allocations: 3.531 kB / 0.5276 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.3966, allocations: 212.7 kB / 0.5278 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.3974, allocations: 0.631 MB / 0.5284 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.3983, allocations: 235.7 kB / 0.5287 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.753e-05/0.3984, allocations: 54.41 kB / 0.5287 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1161/0.5145, allocations: 34.94 MB / 0.5629 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.5145, allocations: 38.77 kB / 0.5629 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/0.5145, allocations: 4 kB / 0.5629 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001719/0.5163, allocations: 375.2 kB / 0.5632 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.5163, allocations: 77.11 kB / 0.5633 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.5165, allocations: 129.2 kB / 0.5634 GB, free: 408 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.5165, allocations: 32.89 kB / 0.5635 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.5166, allocations: 89.69 kB / 0.5636 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.5166, allocations: 55.41 kB / 0.5636 GB, free: 236 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.5167, allocations: 56.11 kB / 0.5637 GB, free: 188 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5169, allocations: 326.7 kB / 0.564 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.517, allocations: 62.06 kB / 0.564 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.5172, allocations: 87.08 kB / 0.5641 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.5175, allocations: 147.3 kB / 0.5643 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5175, allocations: 8 kB / 0.5643 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004673/0.518, allocations: 208.4 kB / 0.5645 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.518, allocations: 4 kB / 0.5645 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.518, allocations: 7.984 kB / 0.5645 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.518, allocations: 3.938 kB / 0.5645 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.5182, allocations: 58.77 kB / 0.5645 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5182, allocations: 0 / 0.5645 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.5184, allocations: 9.703 kB / 0.5646 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.5184, allocations: 19.61 kB / 0.5646 GB, free: 15.39 MB / 414.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 0.0001273/0.5185, allocations: 131.2 kB / 0.5647 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.5186, allocations: 11.91 kB / 0.5647 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.521, allocations: 2.253 MB / 0.5669 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.521, allocations: 7.984 kB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.521, allocations: 4.766 kB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.521, allocations: 4 kB / 0.5669 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.5222, allocations: 1.066 MB / 0.568 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5222, allocations: 0 / 0.568 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.5224, allocations: 31.97 kB / 0.568 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.5224, allocations: 7.984 kB / 0.568 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.5224, allocations: 11.94 kB / 0.568 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5224, allocations: 0 / 0.568 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5224, allocations: 1.422 kB / 0.568 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.5233, allocations: 0.6525 MB / 0.5686 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.5233, allocations: 19.88 kB / 0.5687 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.5234, allocations: 10.84 kB / 0.5687 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.5235, allocations: 8.062 kB / 0.5687 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.5235, allocations: 15.97 kB / 0.5687 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5236, allocations: 4 kB / 0.5687 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.68e-05/0.5236, allocations: 101.8 kB / 0.5688 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5236, allocations: 0 / 0.5688 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004146/0.5278, allocations: 0.9162 MB / 0.5697 GB, free: 10.08 MB / 414.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.007553/0.5353, allocations: 1.118 MB / 0.5708 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006448/0.536, allocations: 203.4 kB / 0.571 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.536, allocations: 4 kB / 0.571 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.5362, allocations: 132.3 kB / 0.5711 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.537, allocations: 71.47 kB / 0.5712 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.538, allocations: 0.5866 MB / 0.5718 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.5384, allocations: 0.7289 MB / 0.5725 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004908/0.5389, allocations: 379.2 kB / 0.5728 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.539, allocations: 31.42 kB / 0.5729 GB, free: 6.934 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.539, allocations: 3.562 kB / 0.5729 GB, free: 6.934 MB / 414.1 MB Notification: Performance of Templates: time 0.05164/0.5906, allocations: 33.91 MB / 0.606 GB, free: 5.09 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.814488468691707] Failed to read output from testmodel.py, exit status != 0: 0.5987284788861871 0.614709084 0.22183313000000002 Calling exit ...