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.0006605/0.0006605, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009164/0.001577, allocations: 435.8 kB / 10.33 MB, free: 368 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.000678/0.000678, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008419/0.00152, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.961/0.961, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0882/1.049, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.0466/0.0466, allocations: 11.7 MB / 255.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005771/0.05237, allocations: 3.089 MB / 258.8 MB, free: 0.8281 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 1.533e-06/1.533e-06, allocations: 0 / 260 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.127e-05, allocations: 2.312 kB / 260 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.TwoPhase_setState): time 0.1574/0.1574, allocations: 58.73 MB / 318.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02354/0.181, allocations: 35.08 MB / 353.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1812, allocations: 4 kB / 353.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.1817, allocations: 221 kB / 354 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.1821, allocations: 230.6 kB / 354.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03786/0.22, allocations: 18.37 MB / 372.6 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.2203, allocations: 322.1 kB / 372.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.2204, allocations: 14.45 kB / 373 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.2206, allocations: 187.4 kB / 373.1 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.2207, allocations: 55.84 kB / 373.2 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.2207, allocations: 4 kB / 373.2 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03055/0.2512, allocations: 20.02 MB / 393.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.2513, allocations: 15.88 kB / 393.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2514, allocations: 51.94 kB / 393.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02199/0.2734, allocations: 7.7 MB / 401 MB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.2734, allocations: 0 / 401 MB, free: 6.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2734, allocations: 0 / 401 MB, free: 6.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.2734, allocations: 0 / 401 MB, free: 6.309 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.002913/0.2763, allocations: 2.331 MB / 403.3 MB, free: 3.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2764, allocations: 8.031 kB / 403.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.2764, allocations: 19.92 kB / 403.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.2765, allocations: 125 kB / 403.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.2765, allocations: 3.234 kB / 403.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.2765, allocations: 4 kB / 403.5 MB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.2767, allocations: 119.9 kB / 403.6 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.2767, allocations: 3.938 kB / 403.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.2767, allocations: 0 / 403.6 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.2767, allocations: 11.98 kB / 403.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/0.2767, allocations: 40.91 kB / 403.7 MB, free: 3.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.277, allocations: 357.7 kB / 404 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.171e-05/0.2771, allocations: 94.52 kB / 404.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.2771, allocations: 32.86 kB / 404.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1921/0.4692, allocations: 56.71 MB / 460.8 MB, free: 82.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4692, allocations: 37.56 kB / 460.9 MB, free: 82.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.4692, allocations: 0 / 460.9 MB, free: 82.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.000211/0.4695, allocations: 221.3 kB / 461.1 MB, free: 82.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.4695, allocations: 54.08 kB / 461.1 MB, free: 82.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.4695, allocations: 123 kB / 461.3 MB, free: 81.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.4695, allocations: 29.58 kB / 461.3 MB, free: 81.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.4696, allocations: 88.22 kB / 461.4 MB, free: 81.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.4696, allocations: 142.2 kB / 461.5 MB, free: 81.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.4696, allocations: 40.38 kB / 461.5 MB, free: 81.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.521e-05/0.4697, allocations: 330.1 kB / 461.9 MB, free: 81.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.4697, allocations: 34.73 kB / 461.9 MB, free: 81.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.4697, allocations: 62.83 kB / 462 MB, free: 81.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.246e-05/0.4698, allocations: 115.4 kB / 462.1 MB, free: 81.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4698, allocations: 2.25 kB / 462.1 MB, free: 81.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000107/0.4699, allocations: 137.4 kB / 462.2 MB, free: 81.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4699, allocations: 8 kB / 462.2 MB, free: 81.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4699, allocations: 0 / 462.2 MB, free: 81.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.47, allocations: 4 kB / 462.2 MB, free: 81.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.47, allocations: 7.703 kB / 462.2 MB, free: 81.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.47, allocations: 4 kB / 462.2 MB, free: 81.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.47, allocations: 27.53 kB / 462.3 MB, free: 81.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4701, allocations: 8.266 kB / 462.3 MB, free: 81.06 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 4.943e-05/0.4701, allocations: 120.8 kB / 462.4 MB, free: 80.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.4701, allocations: 7.234 kB / 462.4 MB, free: 80.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.4703, allocations: 192.1 kB / 462.6 MB, free: 80.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4703, allocations: 6.484 kB / 462.6 MB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4703, allocations: 1.406 kB / 462.6 MB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4703, allocations: 3.562 kB / 462.6 MB, free: 80.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.4704, allocations: 126.3 kB / 462.7 MB, free: 80.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4704, allocations: 2.062 kB / 462.7 MB, free: 80.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.4705, allocations: 11.12 kB / 462.7 MB, free: 80.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.4705, allocations: 31.67 kB / 462.8 MB, free: 80.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4705, allocations: 0 / 462.8 MB, free: 80.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.4705, allocations: 7.703 kB / 462.8 MB, free: 80.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4705, allocations: 0 / 462.8 MB, free: 80.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4705, allocations: 3.375 kB / 462.8 MB, free: 80.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.4706, allocations: 286.7 kB / 463.1 MB, free: 80.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.4706, allocations: 0 / 463.1 MB, free: 80.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.4707, allocations: 3.875 kB / 463.1 MB, free: 80.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.4707, allocations: 14.94 kB / 463.1 MB, free: 80.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4707, allocations: 0 / 463.1 MB, free: 80.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.462e-05/0.4707, allocations: 28.53 kB / 463.1 MB, free: 80.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4707, allocations: 0 / 463.1 MB, free: 80.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001979/0.4727, allocations: 1.303 MB / 464.4 MB, free: 79.09 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.003656/0.4764, allocations: 2.551 MB / 467 MB, free: 77.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.4765, allocations: 126.6 kB / 467.1 MB, free: 77.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4765, allocations: 0 / 467.1 MB, free: 77.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.4766, allocations: 83.8 kB / 467.2 MB, free: 76.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.477, allocations: 170 kB / 467.3 MB, free: 76.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.4797, allocations: 328.9 kB / 467.6 MB, free: 76.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.596e-05/0.4797, allocations: 77.47 kB / 467.7 MB, free: 76.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.398e-05/0.4798, allocations: 10.48 kB / 467.7 MB, free: 76.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.4799, allocations: 141.6 kB / 467.9 MB, free: 76.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4799, allocations: 0 / 467.9 MB, free: 76.35 MB / 394.7 MB Notification: Performance of Templates: time 0.02889/0.5088, allocations: 34.53 MB / 0.4906 GB, free: 42.39 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.133862026967108]