Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 207.6 MB / 231.4 MB, free: 3.156 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07839/0.07839, allocations: 9.159 MB / 292.6 MB, free: 6.074 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") translateModel(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003167/0.003167, allocations: 78.92 kB / 409.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3491, allocations: 50.7 MB / 459.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState): time 0.02545/0.3746, allocations: 18.02 MB / 477.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02047/0.395, allocations: 17.04 MB / 494.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.3953, allocations: 4 kB / 494.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3963, allocations: 310.6 kB / 495.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007423/0.3971, allocations: 230.7 kB / 495.4 MB, free: 3.543 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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.02711/0.4242, allocations: 7.467 MB / 0.4911 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.4249, allocations: 294.4 kB / 0.4914 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.425, allocations: 9.688 kB / 0.4914 GB, free: 11.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.4253, allocations: 123.5 kB / 0.4915 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.4254, allocations: 67.66 kB / 0.4916 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4254, allocations: 4 kB / 0.4916 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0243/0.4497, allocations: 10.29 MB / 0.5016 GB, free: 1.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.4498, allocations: 15.88 kB / 0.5016 GB, free: 1.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.45, allocations: 83.61 kB / 0.5017 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01742/0.4674, allocations: 4.395 MB / 0.506 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4675, allocations: 0 / 0.506 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4675, allocations: 4 kB / 0.506 GB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.4675, allocations: 0 / 0.506 GB, free: 12.75 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.003223/0.4707, allocations: 1.013 MB / 0.507 GB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4707, allocations: 8.031 kB / 0.507 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/0.4708, allocations: 19.86 kB / 0.507 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.471, allocations: 182.8 kB / 0.5072 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.4711, allocations: 8 kB / 0.5072 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.4711, allocations: 8 kB / 0.5072 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.4715, allocations: 164.1 kB / 0.5074 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4715, allocations: 0 / 0.5074 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4716, allocations: 3.984 kB / 0.5074 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.4716, allocations: 11.98 kB / 0.5074 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.472, allocations: 103.9 kB / 0.5075 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.4729, allocations: 0.5395 MB / 0.508 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.4731, allocations: 106.5 kB / 0.5081 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.4733, allocations: 100.8 kB / 0.5082 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.156/0.6293, allocations: 85.21 MB / 0.5914 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.6294, allocations: 34.56 kB / 0.5915 GB, free: 6.281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.023e-06/0.6294, allocations: 3.938 kB / 0.5915 GB, free: 6.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007605/0.6301, allocations: 360.9 kB / 0.5918 GB, free: 5.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.6302, allocations: 55.41 kB / 0.5919 GB, free: 5.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.6303, allocations: 113.8 kB / 0.592 GB, free: 5.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.6303, allocations: 29.64 kB / 0.592 GB, free: 5.695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.6304, allocations: 97.08 kB / 0.5921 GB, free: 5.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.6306, allocations: 142.7 kB / 0.5922 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.6306, allocations: 37.69 kB / 0.5923 GB, free: 5.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6308, allocations: 326.8 kB / 0.5926 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.631, allocations: 87.95 kB / 0.5927 GB, free: 5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.6311, allocations: 114.5 kB / 0.5928 GB, free: 4.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.6315, allocations: 235.2 kB / 0.593 GB, free: 4.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.6315, allocations: 0 / 0.593 GB, free: 4.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000442/0.632, allocations: 265 kB / 0.5933 GB, free: 4.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.632, allocations: 8.062 kB / 0.5933 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.632, allocations: 4 kB / 0.5933 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.632, allocations: 3.938 kB / 0.5933 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.6321, allocations: 11.98 kB / 0.5933 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6321, allocations: 0 / 0.5933 GB, free: 4.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.6322, allocations: 27.83 kB / 0.5933 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6322, allocations: 4 kB / 0.5933 GB, free: 4.316 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 3 * 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 0.0001262/0.6324, allocations: 121.8 kB / 0.5934 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.6324, allocations: 15.91 kB / 0.5934 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.633, allocations: 315 kB / 0.5937 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.633, allocations: 15.92 kB / 0.5938 GB, free: 3.844 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.633, allocations: 3.938 kB / 0.5938 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.633, allocations: 0 / 0.5938 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.6333, allocations: 257.2 kB / 0.594 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.6333, allocations: 15.98 kB / 0.594 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.6334, allocations: 7.984 kB / 0.594 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6334, allocations: 0 / 0.594 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.6334, allocations: 0 / 0.594 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.6334, allocations: 7.938 kB / 0.594 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6334, allocations: 3.938 kB / 0.594 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.6339, allocations: 362.9 kB / 0.5944 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.634, allocations: 108.9 kB / 0.5945 GB, free: 3.008 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.634, allocations: 0 / 0.5945 GB, free: 3.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.6341, allocations: 11.92 kB / 0.5945 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.6342, allocations: 8 kB / 0.5945 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6342, allocations: 7.984 kB / 0.5945 GB, free: 2.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.88e-05/0.6343, allocations: 91.7 kB / 0.5946 GB, free: 2.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6343, allocations: 0 / 0.5946 GB, free: 2.891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003346/0.6376, allocations: 1.129 MB / 0.5957 GB, free: 1.758 MB / 478.1 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 (7): * Single equations (assignments): 1 * 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.00494/0.6425, allocations: 1.684 MB / 0.5974 GB, free: 64 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.6431, allocations: 225.3 kB / 0.5976 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6431, allocations: 0 / 0.5976 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.6434, allocations: 129.8 kB / 0.5977 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.6443, allocations: 143.9 kB / 0.5978 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.6451, allocations: 354 kB / 0.5982 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.6455, allocations: 0.7247 MB / 0.5989 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.6456, allocations: 8 kB / 0.5989 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.6456, allocations: 15.44 kB / 0.5989 GB, free: 14.41 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6456, allocations: 0 / 0.5989 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Templates: time 0.3055/0.9511, allocations: 30.08 MB / 0.6283 GB, free: 163.3 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.TwoPhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.798456499353051]