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.001291/0.001291, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001307/0.001307, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.447/1.447, allocations: 207.6 MB / 231.4 MB, free: 3.168 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.05276/0.05276, allocations: 9.157 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.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.003327/0.003327, allocations: 75.88 kB / 409.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2434, allocations: 50.7 MB / 459.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02045/0.2639, allocations: 18.5 MB / 478.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.2822, allocations: 16.44 MB / 494.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.2823, allocations: 4 kB / 494.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00082/0.2831, allocations: 330.6 kB / 495.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.2834, allocations: 127.3 kB / 495.2 MB, free: 3.762 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.0194/0.3028, allocations: 7.385 MB / 0.4908 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.3032, allocations: 250.6 kB / 0.4911 GB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.3033, allocations: 9.109 kB / 0.4911 GB, free: 12.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3034, allocations: 107.6 kB / 0.4912 GB, free: 11.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3035, allocations: 55.73 kB / 0.4912 GB, free: 11.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3035, allocations: 4 kB / 0.4912 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01924/0.3228, allocations: 10.22 MB / 0.5012 GB, free: 1.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.3228, allocations: 7.938 kB / 0.5012 GB, free: 1.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.323, allocations: 67.67 kB / 0.5013 GB, free: 1.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.3334, allocations: 4.259 MB / 0.5054 GB, free: 13.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3334, allocations: 4 kB / 0.5055 GB, free: 13.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3334, allocations: 8 kB / 0.5055 GB, free: 13.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3334, allocations: 3.938 kB / 0.5055 GB, free: 13.34 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.001982/0.3354, allocations: 0.9782 MB / 0.5064 GB, free: 12.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3355, allocations: 12.03 kB / 0.5064 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3355, allocations: 11.91 kB / 0.5064 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.3357, allocations: 178.9 kB / 0.5066 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3357, allocations: 0 / 0.5066 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3357, allocations: 4 kB / 0.5066 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3359, allocations: 113.4 kB / 0.5067 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3359, allocations: 11.94 kB / 0.5067 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.3359, allocations: 0 / 0.5067 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.3359, allocations: 7.984 kB / 0.5067 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3361, allocations: 79.97 kB / 0.5068 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.3363, allocations: 253.3 kB / 0.5071 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3365, allocations: 98.47 kB / 0.5072 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.3366, allocations: 76.89 kB / 0.5072 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1587/0.4953, allocations: 93.06 MB / 0.5981 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.4953, allocations: 34.56 kB / 0.5981 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.4953, allocations: 3.938 kB / 0.5981 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005342/0.4959, allocations: 333.5 kB / 0.5985 GB, free: 13.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4959, allocations: 51.41 kB / 0.5985 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.496, allocations: 101.8 kB / 0.5986 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.496, allocations: 25.7 kB / 0.5986 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.496, allocations: 85.27 kB / 0.5987 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4961, allocations: 142.7 kB / 0.5989 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.4962, allocations: 33.7 kB / 0.5989 GB, free: 13.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4963, allocations: 326.8 kB / 0.5992 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.4964, allocations: 71.97 kB / 0.5993 GB, free: 12.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.4965, allocations: 71.98 kB / 0.5993 GB, free: 12.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.4967, allocations: 201.9 kB / 0.5995 GB, free: 12.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4967, allocations: 0 / 0.5995 GB, free: 12.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002808/0.497, allocations: 240.9 kB / 0.5998 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.497, allocations: 12 kB / 0.5998 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.497, allocations: 0 / 0.5998 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.497, allocations: 0 / 0.5998 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.4971, allocations: 3.984 kB / 0.5998 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4971, allocations: 0 / 0.5998 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.4971, allocations: 15.84 kB / 0.5998 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.4971, allocations: 4 kB / 0.5998 GB, free: 12.23 MB / 494.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 9.603e-05/0.4972, allocations: 113.8 kB / 0.5999 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4972, allocations: 19.84 kB / 0.5999 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.4977, allocations: 380.5 kB / 0.6003 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.4977, allocations: 11.98 kB / 0.6003 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4977, allocations: 0 / 0.6003 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4977, allocations: 0 / 0.6003 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.498, allocations: 229.5 kB / 0.6005 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.498, allocations: 7.875 kB / 0.6005 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-07/0.498, allocations: 4 kB / 0.6005 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.498, allocations: 3.984 kB / 0.6005 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.498, allocations: 7.984 kB / 0.6005 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.498, allocations: 0 / 0.6005 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.498, allocations: 0 / 0.6005 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.4983, allocations: 225.5 kB / 0.6007 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.4983, allocations: 101.2 kB / 0.6008 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.4983, allocations: 0 / 0.6008 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.4984, allocations: 4 kB / 0.6008 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.4984, allocations: 8 kB / 0.6009 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4984, allocations: 4 kB / 0.6009 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.4985, allocations: 99.2 kB / 0.601 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4985, allocations: 4 kB / 0.601 GB, free: 10.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002426/0.5009, allocations: 1.11 MB / 0.602 GB, free: 9.797 MB / 494.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.003823/0.5047, allocations: 1.636 MB / 0.6036 GB, free: 8.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.505, allocations: 155.7 kB / 0.6038 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.505, allocations: 4 kB / 0.6038 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.952e-05/0.5051, allocations: 59.98 kB / 0.6038 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.5059, allocations: 163.7 kB / 0.604 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.5064, allocations: 297.5 kB / 0.6043 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.5067, allocations: 0.7206 MB / 0.605 GB, free: 6.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.5067, allocations: 8 kB / 0.605 GB, free: 6.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.5068, allocations: 15.44 kB / 0.605 GB, free: 6.688 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5068, allocations: 0 / 0.605 GB, free: 6.688 MB / 494.1 MB Notification: Performance of Templates: time 0.1923/0.6991, allocations: 29.64 MB / 0.634 GB, free: 156.3 MB / 494.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.7858806774020195]