Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_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.001827/0.001827, allocations: 102.2 kB / 16.45 MB, free: 6.457 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.001938/0.001938, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.411/1.411, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.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.05245/0.05245, allocations: 9.147 MB / 290.8 MB, free: 13.92 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.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_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.002201/0.002201, allocations: 69.14 kB / 406.3 MB, free: 46.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0722/0.0744, allocations: 50.72 MB / 457 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02286/0.09725, allocations: 18.46 MB / 475.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.1149, allocations: 16.44 MB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.115, allocations: 0 / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.1157, allocations: 326.6 kB / 492.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.116, allocations: 135.2 kB / 492.4 MB, free: 10.27 MB / 366.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.0176/0.1336, allocations: 7.387 MB / 499.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.1339, allocations: 250.6 kB / 500 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.134, allocations: 13.06 kB / 0.4883 GB, free: 2.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1341, allocations: 103.6 kB / 0.4884 GB, free: 2.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1342, allocations: 63.67 kB / 0.4884 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1343, allocations: 4 kB / 0.4885 GB, free: 2.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01749/0.1518, allocations: 10.21 MB / 0.4984 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.1518, allocations: 11.91 kB / 0.4984 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1519, allocations: 63.69 kB / 0.4985 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.1631, allocations: 4.255 MB / 0.5026 GB, free: 3.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.1631, allocations: 4 kB / 0.5027 GB, free: 3.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1631, allocations: 0 / 0.5027 GB, free: 3.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1631, allocations: 0 / 0.5027 GB, free: 3.875 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002242/0.1653, allocations: 0.986 MB / 0.5036 GB, free: 2.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1654, allocations: 12.03 kB / 0.5036 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1654, allocations: 15.84 kB / 0.5036 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1656, allocations: 190.8 kB / 0.5038 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.1656, allocations: 0 / 0.5038 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1656, allocations: 4 kB / 0.5038 GB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1659, allocations: 117.2 kB / 0.5039 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1659, allocations: 3.984 kB / 0.5039 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1659, allocations: 0 / 0.5039 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1659, allocations: 11.92 kB / 0.504 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.166, allocations: 79.97 kB / 0.504 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.1663, allocations: 253.3 kB / 0.5043 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1664, allocations: 94.48 kB / 0.5044 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.1665, allocations: 76.89 kB / 0.5044 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.334/0.5006, allocations: 93.06 MB / 0.5953 GB, free: 25.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5006, allocations: 34.56 kB / 0.5953 GB, free: 25.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.625e-06/0.5006, allocations: 0 / 0.5953 GB, free: 25.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0004114/0.501, allocations: 334.3 kB / 0.5957 GB, free: 25.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.501, allocations: 51.41 kB / 0.5957 GB, free: 25.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.5011, allocations: 101.8 kB / 0.5958 GB, free: 25.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.5011, allocations: 29.7 kB / 0.5958 GB, free: 25.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.328e-05/0.5011, allocations: 81.14 kB / 0.5959 GB, free: 25.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.5012, allocations: 140.3 kB / 0.5961 GB, free: 25.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.5012, allocations: 33.7 kB / 0.5961 GB, free: 25.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.5012, allocations: 326.8 kB / 0.5964 GB, free: 24.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.5013, allocations: 75.97 kB / 0.5965 GB, free: 24.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.5014, allocations: 77 kB / 0.5965 GB, free: 24.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.5015, allocations: 201.8 kB / 0.5967 GB, free: 24.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5015, allocations: 0 / 0.5967 GB, free: 24.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001908/0.5017, allocations: 235.6 kB / 0.597 GB, free: 24.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5017, allocations: 4 kB / 0.597 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5017, allocations: 0 / 0.597 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5017, allocations: 0 / 0.597 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.5017, allocations: 0 / 0.597 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.5017, allocations: 4 kB / 0.597 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.5018, allocations: 12.55 kB / 0.597 GB, free: 24.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.5018, allocations: 4 kB / 0.597 GB, free: 24.11 MB / 414.1 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 (6): * Single equations (assignments): 0 * 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.951e-05/0.5019, allocations: 129.9 kB / 0.5971 GB, free: 23.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.5019, allocations: 15.91 kB / 0.5971 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.5022, allocations: 374.9 kB / 0.5975 GB, free: 23.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5023, allocations: 7.922 kB / 0.5975 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.5023, allocations: 0 / 0.5975 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5023, allocations: 6.75 kB / 0.5975 GB, free: 23.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.5024, allocations: 242.1 kB / 0.5977 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5024, allocations: 0 / 0.5977 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/0.5024, allocations: 6.812 kB / 0.5977 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5024, allocations: 0 / 0.5977 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.5024, allocations: 0 / 0.5977 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5024, allocations: 3.938 kB / 0.5977 GB, free: 23.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5024, allocations: 0 / 0.5977 GB, free: 23.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.5026, allocations: 227.4 kB / 0.598 GB, free: 23.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.579e-05/0.5026, allocations: 93.56 kB / 0.598 GB, free: 22.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.5026, allocations: 6.109 kB / 0.598 GB, free: 22.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.5027, allocations: 7.938 kB / 0.5981 GB, free: 22.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.5027, allocations: 3.984 kB / 0.5981 GB, free: 22.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.5027, allocations: 4 kB / 0.5981 GB, free: 22.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.5027, allocations: 99.27 kB / 0.5982 GB, free: 22.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5027, allocations: 0 / 0.5982 GB, free: 22.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002003/0.5047, allocations: 1.108 MB / 0.5992 GB, free: 21.86 MB / 414.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 (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003244/0.508, allocations: 1.635 MB / 0.6008 GB, free: 20.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.5082, allocations: 162 kB / 0.601 GB, free: 20.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5082, allocations: 4 kB / 0.601 GB, free: 20.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.5082, allocations: 65.47 kB / 0.6011 GB, free: 20.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.509, allocations: 151.9 kB / 0.6012 GB, free: 20.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.5094, allocations: 305.5 kB / 0.6015 GB, free: 19.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.5096, allocations: 0.7168 MB / 0.6022 GB, free: 18.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.5096, allocations: 4 kB / 0.6022 GB, free: 18.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.5096, allocations: 19.42 kB / 0.6022 GB, free: 18.95 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.5096, allocations: 0 / 0.6022 GB, free: 18.95 MB / 414.1 MB Notification: Performance of Templates: time 0.03543/0.545, allocations: 29.55 MB / 0.6311 GB, free: 5.469 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.781617404893041]