Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.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.0008295/0.0008295, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002025, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007392/0.0007392, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001753, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.041/1.041, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.151, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.06353/0.06353, allocations: 11.72 MB / 255.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005283/0.06882, allocations: 3.084 MB / 259 MB, free: 0.7031 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") translateModel(HelmholtzMedia.Validation.Convergence.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 260.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.265e-05, allocations: 2.312 kB / 260.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.TwoPhase_setState): time 0.1875/0.1876, allocations: 58.77 MB / 319 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0257/0.2133, allocations: 35.07 MB / 354.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2134, allocations: 0 / 354.1 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.2139, allocations: 221 kB / 354.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.2143, allocations: 238.6 kB / 354.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0405/0.2548, allocations: 18.39 MB / 372.9 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.2552, allocations: 314.2 kB / 373.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.2552, allocations: 14.39 kB / 373.2 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.2554, allocations: 191.5 kB / 373.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.2555, allocations: 55.84 kB / 373.5 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.2555, allocations: 4 kB / 373.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0303/0.2858, allocations: 20.1 MB / 393.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.2858, allocations: 15.88 kB / 393.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.286, allocations: 51.94 kB / 393.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.3004, allocations: 7.692 MB / 401.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.3004, allocations: 4 kB / 401.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3004, allocations: 0 / 401.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.3004, allocations: 0 / 401.3 MB, free: 5.934 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.003257/0.3037, allocations: 2.329 MB / 403.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3037, allocations: 11.97 kB / 403.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.3037, allocations: 17.17 kB / 403.7 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3039, allocations: 129.6 kB / 403.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.3039, allocations: 0 / 403.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3039, allocations: 7.984 kB / 403.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.304, allocations: 116 kB / 404 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.304, allocations: 4.891 kB / 404 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-06/0.304, allocations: 0 / 404 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.304, allocations: 15.92 kB / 404 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.3041, allocations: 44.84 kB / 404 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.3044, allocations: 349.8 kB / 404.4 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.3044, allocations: 102.5 kB / 404.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.3045, allocations: 32.84 kB / 404.5 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1994/0.5039, allocations: 56.78 MB / 461.3 MB, free: 81.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.5039, allocations: 33.19 kB / 461.3 MB, free: 81.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.5039, allocations: 0 / 461.3 MB, free: 81.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002453/0.5041, allocations: 221.5 kB / 461.5 MB, free: 81.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.5042, allocations: 58.27 kB / 461.6 MB, free: 81.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.5042, allocations: 126.7 kB / 461.7 MB, free: 81.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.5042, allocations: 29.7 kB / 461.7 MB, free: 81.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.5043, allocations: 92.94 kB / 461.8 MB, free: 81.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.5043, allocations: 136.5 kB / 462 MB, free: 81.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.5043, allocations: 44 kB / 462 MB, free: 81.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.5044, allocations: 331 kB / 462.3 MB, free: 80.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/0.5044, allocations: 27 kB / 462.3 MB, free: 80.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.5045, allocations: 62.42 kB / 462.4 MB, free: 80.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.141e-05/0.5045, allocations: 122.1 kB / 462.5 MB, free: 80.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5046, allocations: 0 / 462.5 MB, free: 80.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0001203/0.5047, allocations: 143.2 kB / 462.7 MB, free: 80.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5047, allocations: 7.172 kB / 462.7 MB, free: 80.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5047, allocations: 0 / 462.7 MB, free: 80.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5047, allocations: 4 kB / 462.7 MB, free: 80.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.5048, allocations: 11.66 kB / 462.7 MB, free: 80.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5048, allocations: 0 / 462.7 MB, free: 80.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.5048, allocations: 27.73 kB / 462.7 MB, free: 80.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.5048, allocations: 4 kB / 462.7 MB, free: 80.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 5.672e-05/0.5049, allocations: 116.3 kB / 462.8 MB, free: 80.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.5049, allocations: 15.34 kB / 462.8 MB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.5051, allocations: 190.8 kB / 463 MB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.5051, allocations: 7.797 kB / 463 MB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.5051, allocations: 0 / 463 MB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5051, allocations: 3.562 kB / 463 MB, free: 80.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.5053, allocations: 116.7 kB / 463.2 MB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5053, allocations: 0 / 463.2 MB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.5053, allocations: 6.25 kB / 463.2 MB, free: 80.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.5053, allocations: 44.34 kB / 463.2 MB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5053, allocations: 4 kB / 463.2 MB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.5053, allocations: 0 / 463.2 MB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5053, allocations: 0 / 463.2 MB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5053, allocations: 6.75 kB / 463.2 MB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.5055, allocations: 286 kB / 463.5 MB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.5055, allocations: 0 / 463.5 MB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.607e-05/0.5055, allocations: 5.172 kB / 463.5 MB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.5055, allocations: 11.72 kB / 463.5 MB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5056, allocations: 4 kB / 463.5 MB, free: 79.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.861e-05/0.5056, allocations: 20.41 kB / 463.5 MB, free: 79.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5056, allocations: 0 / 463.5 MB, free: 79.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002099/0.5077, allocations: 1.318 MB / 464.9 MB, free: 78.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003211/0.5109, allocations: 2.551 MB / 467.4 MB, free: 76.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.511, allocations: 129.9 kB / 467.5 MB, free: 76.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.511, allocations: 0 / 467.5 MB, free: 76.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.5111, allocations: 88.73 kB / 467.6 MB, free: 76.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.5115, allocations: 200.5 kB / 467.8 MB, free: 76.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.514, allocations: 315 kB / 468.1 MB, free: 75.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.248e-05/0.514, allocations: 80.34 kB / 468.2 MB, free: 75.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.5141, allocations: 8.922 kB / 468.2 MB, free: 75.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5142, allocations: 140.9 kB / 468.3 MB, free: 75.73 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5142, allocations: 0 / 468.3 MB, free: 75.73 MB / 394.7 MB Notification: Performance of Templates: time 0.02746/0.5417, allocations: 34.48 MB / 0.491 GB, free: 41.84 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.TwoPhase_setState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.084783820435405]