Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.0009374/0.0009374, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001392/0.001392, allocations: 173 kB / 23.49 MB, free: 1.055 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.8753/0.8753, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.03077/0.03077, allocations: 7.53 MB / 267.8 MB, free: 6.078 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_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 338.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.747e-05, allocations: 9.547 kB / 338.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01892/0.01894, allocations: 18.24 MB / 356.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.03044, allocations: 17.68 MB / 374.6 MB, free: 8.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.03052, allocations: 4 kB / 374.6 MB, free: 8.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.03097, allocations: 254.6 kB / 374.8 MB, free: 8.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.03127, allocations: 246.5 kB / 375.1 MB, free: 7.855 MB / 346.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.00953/0.0408, allocations: 7.726 MB / 382.8 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.04109, allocations: 373.9 kB / 383.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.04113, allocations: 8.594 kB / 383.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.04143, allocations: 235.3 kB / 383.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.04152, allocations: 75.77 kB / 383.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.04153, allocations: 4 kB / 383.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006997/0.04853, allocations: 7.604 MB / 391.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.04855, allocations: 23.84 kB / 391.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.04863, allocations: 71.86 kB / 391.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004278/0.05291, allocations: 4.574 MB / 395.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.05291, allocations: 0 / 395.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.05291, allocations: 0 / 395.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.05291, allocations: 0 / 395.7 MB, free: 3.113 MB / 362.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.001304/0.05422, allocations: 1.142 MB / 396.9 MB, free: 1.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.05426, allocations: 8.625 kB / 396.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.05438, allocations: 39.84 kB / 396.9 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.05454, allocations: 155.7 kB / 397.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.05455, allocations: 4 kB / 397.1 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.05457, allocations: 11.94 kB / 397.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.05476, allocations: 109.3 kB / 397.2 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.05476, allocations: 3.938 kB / 397.2 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.05477, allocations: 4 kB / 397.2 MB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.05479, allocations: 11.92 kB / 397.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.05486, allocations: 44.98 kB / 397.3 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.05527, allocations: 416.2 kB / 397.7 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.262e-05/0.05536, allocations: 71.55 kB / 397.7 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.05542, allocations: 48.67 kB / 397.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05526/0.1107, allocations: 26.33 MB / 424.1 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1107, allocations: 49.27 kB / 424.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 2.314e-06/0.1107, allocations: 0 / 424.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.000421/0.1111, allocations: 253.5 kB / 424.4 MB, free: 6.254 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1112, allocations: 55.41 kB / 424.5 MB, free: 6.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1113, allocations: 196.5 kB / 424.7 MB, free: 5.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1113, allocations: 29.7 kB / 424.7 MB, free: 5.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.1113, allocations: 147.8 kB / 424.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/0.1114, allocations: 150.7 kB / 425 MB, free: 5.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.1115, allocations: 55.36 kB / 425 MB, free: 5.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1116, allocations: 0.5001 MB / 425.5 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.1116, allocations: 40.48 kB / 425.6 MB, free: 5.035 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.1117, allocations: 34.5 kB / 425.6 MB, free: 5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1118, allocations: 147.5 kB / 425.7 MB, free: 4.855 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1118, allocations: 0 / 425.7 MB, free: 4.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001808/0.112, allocations: 194.4 kB / 425.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.112, allocations: 10.03 kB / 425.9 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.112, allocations: 4 kB / 426 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.112, allocations: 0 / 426 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.1121, allocations: 15.98 kB / 426 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1121, allocations: 0 / 426 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.948e-05/0.1122, allocations: 27.77 kB / 426 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1122, allocations: 7.984 kB / 426 MB, free: 4.594 MB / 394.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 (11): * Single equations (assignments): 5 * 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 7.607e-05/0.1123, allocations: 160.5 kB / 426.2 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1123, allocations: 31.8 kB / 426.2 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.1126, allocations: 268.5 kB / 426.5 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1126, allocations: 7.984 kB / 426.5 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1126, allocations: 0 / 426.5 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1126, allocations: 0 / 426.5 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1128, allocations: 200.7 kB / 426.7 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1128, allocations: 4 kB / 426.7 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.1128, allocations: 11.98 kB / 426.7 MB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1128, allocations: 7.938 kB / 426.7 MB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.1128, allocations: 0 / 426.7 MB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1128, allocations: 4 kB / 426.7 MB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1128, allocations: 4 kB / 426.7 MB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1131, allocations: 365.6 kB / 427 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1131, allocations: 35.78 kB / 427.1 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1131, allocations: 7.922 kB / 427.1 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.1132, allocations: 8 kB / 427.1 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.1132, allocations: 15.97 kB / 427.1 MB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1132, allocations: 0 / 427.1 MB, free: 3.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.1133, allocations: 147.2 kB / 427.3 MB, free: 3.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1133, allocations: 0 / 427.3 MB, free: 3.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001739/0.115, allocations: 1.141 MB / 428.4 MB, free: 2.133 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: 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 (11): * Single equations (assignments): 5 * 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.002563/0.1176, allocations: 1.842 MB / 430.2 MB, free: 296 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1178, allocations: 140.6 kB / 430.4 MB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1178, allocations: 0 / 430.4 MB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.1179, allocations: 89.09 kB / 430.5 MB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.1184, allocations: 163.3 kB / 430.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.1192, allocations: 375.1 kB / 431 MB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.1193, allocations: 80.97 kB / 431.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.1193, allocations: 16.48 kB / 431.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.1194, allocations: 20.5 kB / 431.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1194, allocations: 0 / 431.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of Templates: time 0.1234/0.2427, allocations: 31.47 MB / 462.6 MB, free: 143.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.3863927889615297]