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.0008887/0.0008887, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008803/0.0008803, allocations: 181 kB / 23.36 MB, free: 1.129 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.919/0.919, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.02944/0.02944, allocations: 7.528 MB / 267.8 MB, free: 5.898 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.795e-06/2.795e-06, allocations: 0 / 285.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.483e-05, allocations: 2.312 kB / 285.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.1204/0.1204, allocations: 18.13 MB / 303.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.1346, allocations: 17.53 MB / 321.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.1348, allocations: 4 kB / 321.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007331/0.1356, allocations: 271.7 kB / 321.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.1361, allocations: 242.4 kB / 322 MB, free: 12.92 MB / 282.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.01718/0.1533, allocations: 7.785 MB / 329.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.1537, allocations: 366 kB / 330.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.1538, allocations: 18.53 kB / 330.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.1541, allocations: 223.3 kB / 330.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1543, allocations: 83.81 kB / 330.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1543, allocations: 8 kB / 330.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.1658, allocations: 7.542 MB / 338 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.1659, allocations: 27.84 kB / 338 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.166, allocations: 71.84 kB / 338.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009058/0.1751, allocations: 4.57 MB / 342.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1751, allocations: 0 / 342.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1751, allocations: 0 / 342.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1751, allocations: 0 / 342.7 MB, free: 8.195 MB / 298.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.002487/0.1776, allocations: 1.033 MB / 343.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1776, allocations: 8.625 kB / 343.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1777, allocations: 19.98 kB / 343.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1779, allocations: 147.1 kB / 343.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1779, allocations: 4 kB / 343.9 MB, free: 6.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1779, allocations: 11.94 kB / 343.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1782, allocations: 120 kB / 344 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1782, allocations: 0 / 344 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1782, allocations: 4 kB / 344 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1782, allocations: 3.984 kB / 344 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.1783, allocations: 33.48 kB / 344 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.1784, allocations: 128.2 kB / 344.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1785, allocations: 67.05 kB / 344.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.1786, allocations: 41.84 kB / 344.3 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.129/0.3076, allocations: 54.72 MB / 399 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3076, allocations: 34.56 kB / 399 MB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 1.293e-06/0.3076, allocations: 4 kB / 399 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.0002575/0.3078, allocations: 243.5 kB / 399.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3079, allocations: 59.39 kB / 399.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.3079, allocations: 144.7 kB / 399.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3079, allocations: 25.7 kB / 399.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.308, allocations: 89.12 kB / 399.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.3083, allocations: 158.5 kB / 399.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.3083, allocations: 49.66 kB / 399.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.3084, allocations: 330.8 kB / 400.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.3084, allocations: 35.31 kB / 400.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.3085, allocations: 60.66 kB / 400.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.3086, allocations: 121 kB / 400.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3086, allocations: 0 / 400.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001373/0.3087, allocations: 156 kB / 400.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3087, allocations: 4 kB / 400.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.3087, allocations: 4 kB / 400.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3088, allocations: 0 / 400.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.3088, allocations: 24.5 kB / 400.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.3088, allocations: 2 kB / 400.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.3089, allocations: 39.67 kB / 400.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3089, allocations: 4 kB / 400.5 MB, free: 14.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 7 * 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.061e-05/0.309, allocations: 113.8 kB / 400.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.309, allocations: 19.98 kB / 400.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.3092, allocations: 224.2 kB / 400.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.058e-06/0.3092, allocations: 8.5 kB / 400.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3092, allocations: 0 / 400.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3092, allocations: 3.938 kB / 400.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.3093, allocations: 142.2 kB / 401 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3093, allocations: 4 kB / 401 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.3094, allocations: 19.92 kB / 401.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3094, allocations: 0 / 401.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.3094, allocations: 0.5156 kB / 401.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.3094, allocations: 4 kB / 401.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3094, allocations: 0 / 401.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.3095, allocations: 310.1 kB / 401.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.3096, allocations: 30.67 kB / 401.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3096, allocations: 11.98 kB / 401.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.3097, allocations: 11.94 kB / 401.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3097, allocations: 16.48 kB / 401.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3097, allocations: 0 / 401.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.3097, allocations: 35.95 kB / 401.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3097, allocations: 0 / 401.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001669/0.3114, allocations: 1.199 MB / 402.7 MB, free: 11.89 MB / 362.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: 5 (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.00267/0.3141, allocations: 2.035 MB / 404.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.3142, allocations: 143.4 kB / 404.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3142, allocations: 0 / 404.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.299e-05/0.3143, allocations: 95.95 kB / 404.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3147, allocations: 166.5 kB / 405.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.3154, allocations: 388.7 kB / 405.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.3155, allocations: 84.97 kB / 405.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.911e-05/0.3155, allocations: 15.62 kB / 405.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.3157, allocations: 153.2 kB / 405.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3157, allocations: 0 / 405.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of Templates: time 0.1267/0.4424, allocations: 38.32 MB / 444 MB, free: 120 MB / 378.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.525458040181547]