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.001128/0.001128, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001368/0.001368, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9578/0.9578, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.04017/0.04017, allocations: 7.515 MB / 267.5 MB, free: 6.008 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.734e-06/1.734e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.378e-05, allocations: 2.312 kB / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01394/0.01396, allocations: 18.27 MB / 356.9 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.02912, allocations: 17.68 MB / 374.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.02934, allocations: 4 kB / 374.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.03005, allocations: 262.6 kB / 374.8 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.03057, allocations: 238.5 kB / 375.1 MB, free: 6.445 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.01714/0.04771, allocations: 7.734 MB / 382.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.04842, allocations: 369.9 kB / 383.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.578e-05/0.04849, allocations: 12.59 kB / 383.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.04894, allocations: 227.3 kB / 383.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.04908, allocations: 83.75 kB / 383.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.0491, allocations: 8 kB / 383.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/0.06206, allocations: 7.612 MB / 391.1 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.06212, allocations: 27.86 kB / 391.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.06229, allocations: 63.86 kB / 391.2 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.07311, allocations: 4.574 MB / 395.8 MB, free: 1.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.07312, allocations: 4 kB / 395.8 MB, free: 1.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07312, allocations: 0 / 395.8 MB, free: 1.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.07312, allocations: 0 / 395.8 MB, free: 1.676 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.002443/0.07557, allocations: 1.142 MB / 396.9 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.07562, allocations: 12.62 kB / 396.9 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.07579, allocations: 31.84 kB / 396.9 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.07601, allocations: 151.8 kB / 397.1 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.07603, allocations: 4 kB / 397.1 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.07605, allocations: 15.92 kB / 397.1 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.07631, allocations: 113.3 kB / 397.2 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.07631, allocations: 0 / 397.2 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.07633, allocations: 4 kB / 397.2 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.07635, allocations: 7.922 kB / 397.2 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.07645, allocations: 44.98 kB / 397.3 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.07723, allocations: 420.2 kB / 397.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.07734, allocations: 71.55 kB / 397.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.07741, allocations: 56.61 kB / 397.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2063/0.2837, allocations: 26.31 MB / 424.1 MB, free: 55.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.2837, allocations: 40.86 kB / 424.2 MB, free: 55.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/0.2837, allocations: 0 / 424.2 MB, free: 55.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004064/0.2841, allocations: 264.3 kB / 424.4 MB, free: 55.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.2842, allocations: 52.16 kB / 424.5 MB, free: 55.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.2842, allocations: 199.4 kB / 424.7 MB, free: 55.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.2843, allocations: 25.7 kB / 424.7 MB, free: 55.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.2843, allocations: 139.8 kB / 424.8 MB, free: 55.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.2844, allocations: 154.3 kB / 425 MB, free: 55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.2844, allocations: 56.55 kB / 425 MB, free: 54.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/0.2845, allocations: 0.5043 MB / 425.5 MB, free: 54.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.2845, allocations: 40.59 kB / 425.6 MB, free: 54.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.2846, allocations: 36.62 kB / 425.6 MB, free: 54.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.2847, allocations: 146.2 kB / 425.8 MB, free: 54.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2847, allocations: 0 / 425.8 MB, free: 54.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001708/0.2848, allocations: 192.9 kB / 426 MB, free: 54.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2849, allocations: 3.656 kB / 426 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2849, allocations: 3.141 kB / 426 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2849, allocations: 0.9844 kB / 426 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.285, allocations: 18.14 kB / 426 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.285, allocations: 3.875 kB / 426 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.285, allocations: 21.56 kB / 426 MB, free: 54.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.285, allocations: 11.06 kB / 426 MB, free: 54.39 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 (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 6.23e-05/0.2851, allocations: 167.7 kB / 426.2 MB, free: 54.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.2851, allocations: 23.05 kB / 426.2 MB, free: 54.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.2854, allocations: 256.5 kB / 426.4 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.2854, allocations: 11.97 kB / 426.5 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2854, allocations: 0 / 426.5 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2854, allocations: 0 / 426.5 MB, free: 54.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.2856, allocations: 196.6 kB / 426.7 MB, free: 54.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2856, allocations: 0 / 426.7 MB, free: 54.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.2856, allocations: 25.88 kB / 426.7 MB, free: 54.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2856, allocations: 0 / 426.7 MB, free: 54.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2856, allocations: 8.469 kB / 426.7 MB, free: 54.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2856, allocations: 3.375 kB / 426.7 MB, free: 54.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2856, allocations: 0 / 426.7 MB, free: 54.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2858, allocations: 363 kB / 427 MB, free: 53.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.2859, allocations: 38.8 kB / 427.1 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2859, allocations: 5 kB / 427.1 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.286, allocations: 9.781 kB / 427.1 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.286, allocations: 13.97 kB / 427.1 MB, free: 53.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.286, allocations: 6.562 kB / 427.1 MB, free: 53.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.286, allocations: 149 kB / 427.3 MB, free: 53.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.286, allocations: 0 / 427.3 MB, free: 53.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001911/0.288, allocations: 1.141 MB / 428.4 MB, free: 53.66 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 (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.003175/0.2911, allocations: 1.842 MB / 430.2 MB, free: 53.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.2914, allocations: 140.8 kB / 430.4 MB, free: 53.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2914, allocations: 0 / 430.4 MB, free: 53.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.2915, allocations: 88.44 kB / 430.5 MB, free: 53.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.292, allocations: 172.4 kB / 430.6 MB, free: 53.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.2929, allocations: 373 kB / 431 MB, free: 53.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.2929, allocations: 82.92 kB / 431.1 MB, free: 52.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.625e-05/0.293, allocations: 17.14 kB / 431.1 MB, free: 52.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.293, allocations: 19.94 kB / 431.1 MB, free: 52.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.293, allocations: 0 / 431.1 MB, free: 52.95 MB / 330.7 MB Notification: Performance of Templates: time 0.03795/0.3309, allocations: 40.13 MB / 471.2 MB, free: 15.5 MB / 330.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: 4.13665706384927]