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.001081/0.001081, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.001155/0.001155, allocations: 169 kB / 24.06 MB, free: 448 kB / 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.04475/0.04475, allocations: 7.506 MB / 268.6 MB, free: 5.832 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 2.003e-06/2.003e-06, allocations: 0 / 339.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.846e-05, allocations: 4.703 kB / 339.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01597/0.016, allocations: 18 MB / 357.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.02953, allocations: 17.37 MB / 375.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000783/0.03031, allocations: 0 / 375.2 MB, free: 8.277 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.03113, allocations: 266.6 kB / 375.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.03168, allocations: 238.5 kB / 375.7 MB, free: 7.781 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.01541/0.0471, allocations: 7.737 MB / 383.4 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.04752, allocations: 365.9 kB / 383.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.04757, allocations: 12.59 kB / 383.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.04789, allocations: 227.3 kB / 384 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.04799, allocations: 75.81 kB / 384.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.04801, allocations: 8 kB / 384.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.05876, allocations: 7.612 MB / 391.7 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.05882, allocations: 31.84 kB / 391.8 MB, free: 7.676 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.05894, allocations: 67.84 kB / 391.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007832/0.06677, allocations: 4.566 MB / 396.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.06677, allocations: 4 kB / 396.4 MB, free: 3.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.06678, allocations: 0 / 396.4 MB, free: 3.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.06678, allocations: 4 kB / 396.4 MB, free: 3.023 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.001467/0.06825, allocations: 1.146 MB / 397.5 MB, free: 1.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.06829, allocations: 16.61 kB / 397.6 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.06839, allocations: 27.86 kB / 397.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.06854, allocations: 151.7 kB / 397.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.06855, allocations: 4 kB / 397.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.06857, allocations: 11.92 kB / 397.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.06873, allocations: 105.3 kB / 397.9 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.06874, allocations: 4 kB / 397.9 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.06875, allocations: 4 kB / 397.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.06876, allocations: 7.984 kB / 397.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.653e-05/0.06881, allocations: 37.48 kB / 397.9 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.06898, allocations: 169.9 kB / 398.1 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.06908, allocations: 71.48 kB / 398.1 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.06912, allocations: 52.66 kB / 398.2 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04886/0.118, allocations: 21.34 MB / 419.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.118, allocations: 37.39 kB / 419.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 2.795e-06/0.118, allocations: 4 kB / 419.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003938/0.1184, allocations: 233.4 kB / 419.8 MB, free: 11.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1185, allocations: 59.28 kB / 419.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1186, allocations: 196.6 kB / 420.1 MB, free: 11.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1186, allocations: 29.7 kB / 420.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1186, allocations: 135.9 kB / 420.2 MB, free: 11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.1187, allocations: 162.6 kB / 420.4 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.1188, allocations: 59.31 kB / 420.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1189, allocations: 0.5079 MB / 420.9 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.119, allocations: 36.42 kB / 421 MB, free: 10.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.119, allocations: 30.48 kB / 421 MB, free: 10.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1191, allocations: 111.6 kB / 421.1 MB, free: 10.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1191, allocations: 0 / 421.1 MB, free: 10.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001885/0.1193, allocations: 182.4 kB / 421.3 MB, free: 9.895 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1193, allocations: 9.875 kB / 421.3 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1193, allocations: 0 / 421.3 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1194, allocations: 0 / 421.3 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.1194, allocations: 15.98 kB / 421.3 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1194, allocations: 3.938 kB / 421.3 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.1195, allocations: 31.78 kB / 421.4 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1195, allocations: 7.984 kB / 421.4 MB, free: 9.828 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 (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 9.903e-05/0.1196, allocations: 160.6 kB / 421.5 MB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1196, allocations: 23.86 kB / 421.5 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.1199, allocations: 249.2 kB / 421.8 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1199, allocations: 3.984 kB / 421.8 MB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1199, allocations: 3.938 kB / 421.8 MB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1199, allocations: 4 kB / 421.8 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1201, allocations: 173.5 kB / 422 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1201, allocations: 4 kB / 422 MB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.1201, allocations: 19.98 kB / 422 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1201, allocations: 0 / 422 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1202, allocations: 0 / 422 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1202, allocations: 7.922 kB / 422 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1202, allocations: 0 / 422 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1204, allocations: 238.1 kB / 422.2 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.1204, allocations: 39.7 kB / 422.3 MB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1204, allocations: 4 kB / 422.3 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.1205, allocations: 12 kB / 422.3 MB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1205, allocations: 15.97 kB / 422.3 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1205, allocations: 0 / 422.3 MB, free: 8.828 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004066/0.1209, allocations: 151.1 kB / 422.4 MB, free: 8.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1209, allocations: 0 / 422.4 MB, free: 8.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002318/0.1232, allocations: 1.133 MB / 423.6 MB, free: 7.543 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 (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.003053/0.1263, allocations: 1.906 MB / 425.5 MB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.1265, allocations: 124.5 kB / 425.6 MB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1265, allocations: 0 / 425.6 MB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.1266, allocations: 73.14 kB / 425.7 MB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.127, allocations: 160.3 kB / 425.8 MB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.1279, allocations: 383.1 kB / 426.2 MB, free: 4.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.012e-05/0.1279, allocations: 88.91 kB / 426.3 MB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.544e-05/0.128, allocations: 23.97 kB / 426.3 MB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.1282, allocations: 178.1 kB / 426.5 MB, free: 4.562 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1282, allocations: 0 / 426.5 MB, free: 4.562 MB / 394.7 MB Notification: Performance of Templates: time 0.1742/0.3024, allocations: 38.13 MB / 464.6 MB, free: 138.2 MB / 410.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.895808374043554]