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.0009919/0.0009919, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001684/0.001684, allocations: 173.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.9005/0.9005, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.03886/0.03886, allocations: 7.528 MB / 267.8 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_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 2.064e-06/2.064e-06, allocations: 0 / 339.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.42e-05, allocations: 6.25 kB / 339.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01922/0.01925, allocations: 17.98 MB / 357.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.03054, allocations: 17.36 MB / 374.4 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.03073, allocations: 4 kB / 374.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.0313, allocations: 266.6 kB / 374.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.0317, allocations: 242.5 kB / 374.9 MB, free: 6.742 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.01303/0.04473, allocations: 7.741 MB / 382.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.04512, allocations: 373.9 kB / 383 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.04516, allocations: 8.594 kB / 383 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.04548, allocations: 223.3 kB / 383.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.04557, allocations: 79.81 kB / 383.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.04559, allocations: 8 kB / 383.3 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.05623, allocations: 7.612 MB / 391 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.05629, allocations: 23.84 kB / 391 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.05646, allocations: 75.84 kB / 391.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009999/0.06646, allocations: 4.566 MB / 395.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.06647, allocations: 0 / 395.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.06647, allocations: 0 / 395.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.06647, allocations: 4 kB / 395.6 MB, free: 1.969 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.001927/0.0684, allocations: 1.15 MB / 396.8 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.06844, allocations: 8.625 kB / 396.8 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.06854, allocations: 31.86 kB / 396.8 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.06869, allocations: 155.7 kB / 397 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.0687, allocations: 4 kB / 397 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.06871, allocations: 7.938 kB / 397 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.06887, allocations: 105.3 kB / 397.1 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.06887, allocations: 4 kB / 397.1 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.06888, allocations: 8 kB / 397.1 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.06889, allocations: 3.984 kB / 397.1 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.06894, allocations: 33.48 kB / 397.1 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.06929, allocations: 400.8 kB / 397.5 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.06936, allocations: 59.55 kB / 397.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.0694, allocations: 44.67 kB / 397.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1703/0.2397, allocations: 22.14 MB / 419.8 MB, free: 80.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2397, allocations: 41.58 kB / 419.8 MB, free: 80.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 3.336e-06/0.2397, allocations: 3.047 kB / 419.8 MB, free: 80.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.000386/0.2401, allocations: 231.8 kB / 420 MB, free: 80.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.508e-05/0.2401, allocations: 51.41 kB / 420.1 MB, free: 80.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.2402, allocations: 206.2 kB / 420.3 MB, free: 80.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.2402, allocations: 25.7 kB / 420.3 MB, free: 80.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.2402, allocations: 136.9 kB / 420.4 MB, free: 79.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.2403, allocations: 159.5 kB / 420.6 MB, free: 79.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.2403, allocations: 60.52 kB / 420.7 MB, free: 79.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.2404, allocations: 0.5057 MB / 421.2 MB, free: 79.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.2404, allocations: 26.83 kB / 421.2 MB, free: 79.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.2404, allocations: 30.42 kB / 421.2 MB, free: 79.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.2405, allocations: 118.9 kB / 421.3 MB, free: 79.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2405, allocations: 0 / 421.3 MB, free: 79.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00014/0.2407, allocations: 179.1 kB / 421.5 MB, free: 79.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2407, allocations: 5 kB / 421.5 MB, free: 79.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2407, allocations: 0 / 421.5 MB, free: 79.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2407, allocations: 3.984 kB / 421.5 MB, free: 79.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.2408, allocations: 14.78 kB / 421.5 MB, free: 79.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.2408, allocations: 6.203 kB / 421.5 MB, free: 79.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.2408, allocations: 31.23 kB / 421.6 MB, free: 79.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.2408, allocations: 0 / 421.6 MB, free: 79.2 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 5.239e-05/0.2409, allocations: 162.6 kB / 421.7 MB, free: 79.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2409, allocations: 35.16 kB / 421.8 MB, free: 79.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.2411, allocations: 235.3 kB / 422 MB, free: 78.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2411, allocations: 11.05 kB / 422 MB, free: 78.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2411, allocations: 0 / 422 MB, free: 78.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2411, allocations: 3.984 kB / 422 MB, free: 78.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2413, allocations: 175.2 kB / 422.2 MB, free: 78.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2413, allocations: 0 / 422.2 MB, free: 78.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.2413, allocations: 18.27 kB / 422.2 MB, free: 78.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2413, allocations: 0 / 422.2 MB, free: 78.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.2413, allocations: 3.25 kB / 422.2 MB, free: 78.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2413, allocations: 0 / 422.2 MB, free: 78.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2413, allocations: 3.438 kB / 422.2 MB, free: 78.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.2415, allocations: 349.2 kB / 422.5 MB, free: 78.56 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.2415, allocations: 36.02 kB / 422.6 MB, free: 78.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.2416, allocations: 11.25 kB / 422.6 MB, free: 78.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.2416, allocations: 9.453 kB / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.2417, allocations: 12.95 kB / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.2417, allocations: 0 / 422.6 MB, free: 78.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.976e-05/0.2417, allocations: 152.3 kB / 422.8 MB, free: 78.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2417, allocations: 0 / 422.8 MB, free: 78.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0018/0.2435, allocations: 1.136 MB / 423.9 MB, free: 78.07 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.002431/0.2459, allocations: 1.894 MB / 425.8 MB, free: 76.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.2461, allocations: 124.2 kB / 425.9 MB, free: 76.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2461, allocations: 4 kB / 425.9 MB, free: 76.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.2461, allocations: 69.2 kB / 426 MB, free: 76.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.2466, allocations: 170.4 kB / 426.1 MB, free: 76.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.2473, allocations: 372.5 kB / 426.5 MB, free: 75.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.2474, allocations: 80.98 kB / 426.6 MB, free: 75.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.727e-05/0.2475, allocations: 16.48 kB / 426.6 MB, free: 75.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.2476, allocations: 180.6 kB / 426.8 MB, free: 75.46 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2476, allocations: 0 / 426.8 MB, free: 75.46 MB / 330.7 MB Notification: Performance of Templates: time 0.02869/0.2763, allocations: 38.05 MB / 464.8 MB, free: 37.82 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: 3.819421960040927]