Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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.000937/0.000937, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0008846/0.0008846, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 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.9345/0.9345, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.04978/0.04978, allocations: 7.529 MB / 267.8 MB, free: 5.848 MB / 250.7 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.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 339.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.294e-05, allocations: 4.703 kB / 339.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01176/0.01177, allocations: 17.97 MB / 357.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.02387, allocations: 17.37 MB / 374.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.024, allocations: 0 / 374.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.02453, allocations: 270.6 kB / 374.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.02489, allocations: 238.5 kB / 374.9 MB, free: 6.754 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01166/0.03655, allocations: 7.741 MB / 382.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.03686, allocations: 365.9 kB / 383 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.0369, allocations: 12.59 kB / 383 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.0372, allocations: 223.3 kB / 383.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.03729, allocations: 79.75 kB / 383.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.03731, allocations: 12 kB / 383.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008478/0.04579, allocations: 7.616 MB / 391 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.04583, allocations: 23.86 kB / 391 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.04591, allocations: 67.84 kB / 391 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006167/0.05208, allocations: 4.574 MB / 395.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.05208, allocations: 0 / 395.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.05208, allocations: 4 kB / 395.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.05209, allocations: 0 / 395.6 MB, free: 1.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001661/0.05375, allocations: 1.146 MB / 396.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.05378, allocations: 12.62 kB / 396.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.05389, allocations: 27.86 kB / 396.8 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.05402, allocations: 151.7 kB / 397 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.05403, allocations: 8 kB / 397 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.05404, allocations: 3.938 kB / 397 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.05419, allocations: 109.3 kB / 397.1 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.05419, allocations: 0 / 397.1 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.0542, allocations: 7.938 kB / 397.1 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.05421, allocations: 11.98 kB / 397.1 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.05426, allocations: 37.48 kB / 397.1 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.05441, allocations: 165.9 kB / 397.3 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/0.05449, allocations: 75.47 kB / 397.4 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.05453, allocations: 48.67 kB / 397.4 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1631/0.2176, allocations: 22.13 MB / 419.6 MB, free: 55.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.2176, allocations: 39.28 kB / 419.6 MB, free: 55.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.144e-06/0.2176, allocations: 0 / 419.6 MB, free: 55.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.000401/0.218, allocations: 230.4 kB / 419.8 MB, free: 55.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.218, allocations: 59.59 kB / 419.9 MB, free: 55.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.2181, allocations: 200.8 kB / 420.1 MB, free: 55.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.2181, allocations: 25.7 kB / 420.1 MB, free: 55.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.2182, allocations: 137.7 kB / 420.2 MB, free: 55.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.2182, allocations: 159.3 kB / 420.4 MB, free: 55.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.2183, allocations: 66.83 kB / 420.4 MB, free: 55.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.2184, allocations: 0.5033 MB / 421 MB, free: 54.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.2184, allocations: 27.86 kB / 421 MB, free: 54.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.2185, allocations: 31.62 kB / 421 MB, free: 54.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.2186, allocations: 119.8 kB / 421.1 MB, free: 54.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2186, allocations: 0 / 421.1 MB, free: 54.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001781/0.2188, allocations: 177.2 kB / 421.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2188, allocations: 7.406 kB / 421.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2188, allocations: 3.375 kB / 421.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2188, allocations: 1.469 kB / 421.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.952e-05/0.2189, allocations: 19.58 kB / 421.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.2189, allocations: 1.188 kB / 421.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.219, allocations: 30.34 kB / 421.4 MB, free: 54.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.219, allocations: 3.406 kB / 421.4 MB, free: 54.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 6 * 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 6.507e-05/0.219, allocations: 168.5 kB / 421.5 MB, free: 54.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.2191, allocations: 29.08 kB / 421.6 MB, free: 54.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.2193, allocations: 243 kB / 421.8 MB, free: 54.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.2193, allocations: 10.31 kB / 421.8 MB, free: 54.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2193, allocations: 4 kB / 421.8 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2193, allocations: 1.188 kB / 421.8 MB, free: 54.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.2195, allocations: 170.4 kB / 422 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2195, allocations: 1.219 kB / 422 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.2195, allocations: 17.45 kB / 422 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2195, allocations: 0 / 422 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.2195, allocations: 5.344 kB / 422 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2195, allocations: 1.344 kB / 422 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2195, allocations: 0 / 422 MB, free: 54.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.2198, allocations: 245.6 kB / 422.2 MB, free: 54.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.2198, allocations: 45.44 kB / 422.3 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2198, allocations: 0 / 422.3 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.2199, allocations: 11.17 kB / 422.3 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.2199, allocations: 14.5 kB / 422.3 MB, free: 54.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2199, allocations: 2.406 kB / 422.3 MB, free: 54.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.176e-05/0.22, allocations: 147.4 kB / 422.5 MB, free: 54.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.22, allocations: 0 / 422.5 MB, free: 54.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002047/0.222, allocations: 1.14 MB / 423.6 MB, free: 54.01 MB / 330.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: 6 (state.phase,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 (12): * Single equations (assignments): 6 * 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.002547/0.2245, allocations: 1.901 MB / 425.5 MB, free: 53.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.2247, allocations: 132.8 kB / 425.6 MB, free: 53.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.2247, allocations: 0 / 425.6 MB, free: 53.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.2248, allocations: 70.64 kB / 425.7 MB, free: 53.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2252, allocations: 161.8 kB / 425.9 MB, free: 53.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.226, allocations: 391.2 kB / 426.2 MB, free: 53.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.226, allocations: 83.17 kB / 426.3 MB, free: 53.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.2261, allocations: 18.23 kB / 426.3 MB, free: 53.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.2263, allocations: 177.6 kB / 426.5 MB, free: 53.25 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2263, allocations: 0 / 426.5 MB, free: 53.25 MB / 330.7 MB Notification: Performance of Templates: time 0.03096/0.2572, allocations: 38.08 MB / 464.6 MB, free: 22.35 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4066306869499385]