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.001343/0.001343, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001405/0.001405, allocations: 217.5 kB / 22.99 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.05336/0.05336, allocations: 9.135 MB / 322.3 MB, free: 10.2 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.002071/0.002071, allocations: 71.89 kB / 447.8 MB, free: 36 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1292, allocations: 54.96 MB / 0.491 GB, free: 8.984 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.0189/0.1481, allocations: 11.84 MB / 0.5025 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.1589, allocations: 7.529 MB / 0.5099 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.159, allocations: 0 / 0.5099 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1592, allocations: 31.81 kB / 0.5099 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.1643, allocations: 1.879 MB / 0.5117 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006937/0.1713, allocations: 2.261 MB / 0.514 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1715, allocations: 115.2 kB / 0.5141 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.1715, allocations: 4 kB / 0.5141 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.1716, allocations: 43.8 kB / 0.5141 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.1717, allocations: 55.77 kB / 0.5142 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1717, allocations: 4 kB / 0.5142 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3198/0.4915, allocations: 6.613 MB / 0.5206 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.4915, allocations: 13.73 kB / 0.5206 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.4917, allocations: 48.75 kB / 0.5207 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.5044, allocations: 3.787 MB / 0.5244 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.5044, allocations: 1.219 kB / 0.5244 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5044, allocations: 0 / 0.5244 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.5044, allocations: 0 / 0.5244 GB, free: 10 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.005009/0.5094, allocations: 0.8321 MB / 0.5252 GB, free: 9.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5094, allocations: 9.719 kB / 0.5252 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.5098, allocations: 48.02 kB / 0.5253 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.51, allocations: 145.6 kB / 0.5254 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.5101, allocations: 8.594 kB / 0.5254 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.5101, allocations: 14.72 kB / 0.5254 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.5109, allocations: 257.2 kB / 0.5257 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5109, allocations: 0 / 0.5257 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5109, allocations: 5.281 kB / 0.5257 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5109, allocations: 2.438 kB / 0.5257 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006828/0.5116, allocations: 216.9 kB / 0.5259 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.5122, allocations: 409.9 kB / 0.5263 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.513, allocations: 227.2 kB / 0.5265 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.5131, allocations: 54.34 kB / 0.5265 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1242/0.6373, allocations: 35.08 MB / 0.5608 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.6374, allocations: 39.66 kB / 0.5608 GB, free: 4.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.554e-06/0.6374, allocations: 0 / 0.5608 GB, free: 4.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.00169/0.6391, allocations: 364.6 kB / 0.5612 GB, free: 4.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.6391, allocations: 85.05 kB / 0.5613 GB, free: 3.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.6393, allocations: 125.3 kB / 0.5614 GB, free: 3.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6393, allocations: 29.08 kB / 0.5614 GB, free: 3.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.6394, allocations: 98.11 kB / 0.5615 GB, free: 3.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.6394, allocations: 58.58 kB / 0.5616 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.6395, allocations: 54.75 kB / 0.5616 GB, free: 3.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.6397, allocations: 322.5 kB / 0.5619 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.6398, allocations: 64.05 kB / 0.562 GB, free: 3.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.64, allocations: 92.86 kB / 0.5621 GB, free: 3.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.6403, allocations: 145.8 kB / 0.5622 GB, free: 3.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6403, allocations: 3.656 kB / 0.5622 GB, free: 3.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004904/0.6408, allocations: 214.2 kB / 0.5624 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.6409, allocations: 8 kB / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6409, allocations: 0 / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.6409, allocations: 0 / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.6411, allocations: 63.64 kB / 0.5625 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.6411, allocations: 0.5469 kB / 0.5625 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.6412, allocations: 11.27 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.6413, allocations: 19.92 kB / 0.5625 GB, free: 2.848 MB / 398.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.0001358/0.6414, allocations: 124.2 kB / 0.5626 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.6415, allocations: 7.953 kB / 0.5626 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/0.6437, allocations: 2.25 MB / 0.5648 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6438, allocations: 11.92 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6438, allocations: 2.938 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6438, allocations: 4.562 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.6449, allocations: 1.02 MB / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6449, allocations: 0 / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.6451, allocations: 37.89 kB / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6451, allocations: 0 / 0.5659 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.6451, allocations: 4 kB / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6451, allocations: 4 kB / 0.5659 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.6451, allocations: 7.922 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008331/0.646, allocations: 0.65 MB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.646, allocations: 23.83 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.646, allocations: 4 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.6462, allocations: 4 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.6462, allocations: 15.92 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.6462, allocations: 4 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.38e-05/0.6463, allocations: 95.64 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6463, allocations: 4 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005657/0.652, allocations: 0.924 MB / 0.5676 GB, free: 14.37 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.009098/0.6611, allocations: 1.109 MB / 0.5687 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.6617, allocations: 209.6 kB / 0.5689 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6617, allocations: 0 / 0.5689 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.6619, allocations: 134.8 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.6627, allocations: 63.61 kB / 0.569 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.6639, allocations: 0.6071 MB / 0.5696 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.6641, allocations: 122.6 kB / 0.5698 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.6642, allocations: 35.41 kB / 0.5698 GB, free: 12.19 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6642, allocations: 0 / 0.5698 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Templates: time 0.03923/0.7034, allocations: 18.79 MB / 0.5881 GB, free: 9.422 MB / 430.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: 9.536184547934681] Failed to read output from testmodel.py, exit status != 0: 0.712323113810271 0.728713722 0.22107544999999995 Calling exit ...