Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 192.8 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 207.6 MB / 232.9 MB, free: 10.95 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05513/0.05513, allocations: 9.149 MB / 294.2 MB, free: 12.95 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") translateModel(HelmholtzMedia.Examples.ConvergenceTest.setSat,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.89 kB / 411.2 MB, free: 46.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1086, allocations: 50.71 MB / 461.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.setSat): time 0.02523/0.1339, allocations: 19.3 MB / 481.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1445, allocations: 9.408 MB / 490.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.1448, allocations: 4 kB / 490.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.146, allocations: 498 kB / 491.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.1468, allocations: 286.3 kB / 491.4 MB, free: 15.02 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.1604, allocations: 4.746 MB / 496.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007507/0.1611, allocations: 405.8 kB / 496.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.1612, allocations: 8.406 kB / 496.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.1616, allocations: 191.1 kB / 496.8 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1618, allocations: 95.53 kB / 496.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1618, allocations: 4 kB / 496.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.1768, allocations: 7.533 MB / 0.4926 GB, free: 2.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.1769, allocations: 19.86 kB / 0.4926 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.1772, allocations: 119.4 kB / 0.4927 GB, free: 1.902 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009852/0.187, allocations: 3.269 MB / 0.4959 GB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1871, allocations: 0 / 0.4959 GB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1871, allocations: 0 / 0.4959 GB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1871, allocations: 4 kB / 0.4959 GB, free: 14.62 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.002275/0.1893, allocations: 0.827 MB / 0.4967 GB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.1894, allocations: 12.03 kB / 0.4967 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.1898, allocations: 63.75 kB / 0.4968 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.19, allocations: 190.7 kB / 0.497 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.19, allocations: 4 kB / 0.497 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.19, allocations: 7.984 kB / 0.497 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.1905, allocations: 241.4 kB / 0.4972 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1905, allocations: 0 / 0.4972 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1905, allocations: 0 / 0.4972 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.1905, allocations: 11.98 kB / 0.4972 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.1909, allocations: 216.4 kB / 0.4974 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1914, allocations: 356.2 kB / 0.4978 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.1923, allocations: 287.1 kB / 0.498 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.1927, allocations: 206 kB / 0.4982 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05555/0.2482, allocations: 28.59 MB / 0.5261 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.2483, allocations: 30.56 kB / 0.5262 GB, free: 10.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=73): time 2.925e-06/0.2483, allocations: 3.938 kB / 0.5262 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.001427/0.2497, allocations: 0.6857 MB / 0.5268 GB, free: 9.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.2497, allocations: 51.41 kB / 0.5269 GB, free: 9.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2499, allocations: 113.8 kB / 0.527 GB, free: 9.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.2499, allocations: 25.7 kB / 0.527 GB, free: 9.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.25, allocations: 89.45 kB / 0.5271 GB, free: 9.633 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.2502, allocations: 237.8 kB / 0.5273 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.2503, allocations: 65.62 kB / 0.5274 GB, free: 9.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2505, allocations: 334.8 kB / 0.5277 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.2508, allocations: 172.5 kB / 0.5279 GB, free: 8.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.2511, allocations: 175.2 kB / 0.528 GB, free: 8.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.2518, allocations: 436.7 kB / 0.5285 GB, free: 8.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2518, allocations: 0 / 0.5285 GB, free: 8.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007986/0.2526, allocations: 470.7 kB / 0.5289 GB, free: 7.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2526, allocations: 4 kB / 0.5289 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2526, allocations: 0 / 0.5289 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.2526, allocations: 11.88 kB / 0.5289 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2528, allocations: 23.98 kB / 0.529 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.2528, allocations: 11.92 kB / 0.529 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.253, allocations: 31.73 kB / 0.529 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.253, allocations: 7.984 kB / 0.529 GB, free: 7.664 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat_T.vap.phase,sat_T.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001644/0.2532, allocations: 136.3 kB / 0.5291 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.2532, allocations: 23.81 kB / 0.5292 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.2544, allocations: 0.7678 MB / 0.5299 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.2544, allocations: 11.97 kB / 0.5299 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.2544, allocations: 3.938 kB / 0.5299 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2544, allocations: 0 / 0.5299 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.2549, allocations: 432.3 kB / 0.5303 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2549, allocations: 0 / 0.5303 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.2551, allocations: 31.91 kB / 0.5304 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2551, allocations: 0 / 0.5304 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2551, allocations: 7.984 kB / 0.5304 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2551, allocations: 4 kB / 0.5304 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2551, allocations: 3.938 kB / 0.5304 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.256, allocations: 0.5038 MB / 0.5309 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.2562, allocations: 132.6 kB / 0.531 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2562, allocations: 0 / 0.531 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2563, allocations: 15.98 kB / 0.531 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.2564, allocations: 15.92 kB / 0.531 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2564, allocations: 4 kB / 0.531 GB, free: 5.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.818e-05/0.2565, allocations: 91.25 kB / 0.5311 GB, free: 5.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2565, allocations: 3.938 kB / 0.5311 GB, free: 5.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002332/0.2588, allocations: 0.7128 MB / 0.5318 GB, free: 4.676 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_T.liq.phase,sat_T.vap.phase,sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003931/0.2627, allocations: 1.052 MB / 0.5328 GB, free: 3.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.2636, allocations: 384.9 kB / 0.5332 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2636, allocations: 8 kB / 0.5332 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.2639, allocations: 196.5 kB / 0.5334 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.2651, allocations: 227.8 kB / 0.5336 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.2661, allocations: 0.543 MB / 0.5342 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.2665, allocations: 0.7612 MB / 0.5349 GB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.2669, allocations: 192 kB / 0.5351 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.267, allocations: 23.42 kB / 0.5351 GB, free: 1.254 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.267, allocations: 0 / 0.5351 GB, free: 1.254 MB / 414.1 MB Notification: Performance of Templates: time 0.2865/0.5535, allocations: 26.71 MB / 0.5612 GB, free: 75.09 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.setSat.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.757046565879136] Failed to read output from testmodel.py, exit status != 0: 0.5636982629075646 0.571888883 0.38237383499999994 Calling exit ...