Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.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.001362/0.001362, allocations: 113.8 kB / 17.6 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.001285/0.001285, allocations: 190 kB / 20.78 MB, free: 1.543 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.401/1.401, allocations: 207.6 MB / 231.4 MB, free: 3.211 MB / 174.1 MB " [Timeout remaining time 179] 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.05104/0.05104, allocations: 9.156 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.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") [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.002104/0.002104, allocations: 76.39 kB / 409.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2658, allocations: 50.71 MB / 459.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02148/0.2873, allocations: 17 MB / 476.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.2991, allocations: 10.48 MB / 487.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.2992, allocations: 0 / 487.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.3, allocations: 307.2 kB / 487.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.3, allocations: 31.84 kB / 487.6 MB, free: 11.38 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: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.01718/0.3172, allocations: 6.025 MB / 493.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3173, allocations: 51.73 kB / 493.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.3174, allocations: 4 kB / 493.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3175, allocations: 27.86 kB / 493.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.3175, allocations: 11.94 kB / 493.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.3176, allocations: 0 / 493.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.3349, allocations: 8.917 MB / 0.4909 GB, free: 12.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3349, allocations: 0 / 0.4909 GB, free: 12.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.529e-05/0.335, allocations: 23.86 kB / 0.4909 GB, free: 12.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.345, allocations: 3.624 MB / 0.4945 GB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.345, allocations: 0 / 0.4945 GB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.345, allocations: 0 / 0.4945 GB, free: 8.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.345, allocations: 0 / 0.4945 GB, free: 8.656 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001627/0.3466, allocations: 0.7649 MB / 0.4952 GB, free: 7.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3466, allocations: 12.03 kB / 0.4952 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3467, allocations: 15.88 kB / 0.4952 GB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3468, allocations: 163 kB / 0.4954 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3469, allocations: 0 / 0.4954 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.3469, allocations: 0 / 0.4954 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.347, allocations: 41.7 kB / 0.4954 GB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.347, allocations: 0 / 0.4954 GB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.347, allocations: 0 / 0.4954 GB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.347, allocations: 3.984 kB / 0.4954 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.347, allocations: 15.94 kB / 0.4954 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.3472, allocations: 169.5 kB / 0.4956 GB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.085e-05/0.3473, allocations: 30.52 kB / 0.4956 GB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.3473, allocations: 20.88 kB / 0.4957 GB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06031/0.4076, allocations: 33.03 MB / 0.5279 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.4077, allocations: 34.5 kB / 0.5279 GB, free: 412 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.4077, allocations: 0 / 0.5279 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002459/0.4079, allocations: 81.55 kB / 0.528 GB, free: 324 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.408, allocations: 55.41 kB / 0.5281 GB, free: 256 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4081, allocations: 93.84 kB / 0.5282 GB, free: 152 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.4081, allocations: 29.86 kB / 0.5282 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.4081, allocations: 84.14 kB / 0.5283 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.4082, allocations: 23.73 kB / 0.5283 GB, free: 4 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.4082, allocations: 17.7 kB / 0.5283 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4084, allocations: 314.8 kB / 0.5286 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.4084, allocations: 12 kB / 0.5286 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.4084, allocations: 11.98 kB / 0.5286 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.4085, allocations: 36.86 kB / 0.5287 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4085, allocations: 4.031 kB / 0.5287 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.157e-05/0.4086, allocations: 65.58 kB / 0.5287 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4086, allocations: 4 kB / 0.5287 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4086, allocations: 3.938 kB / 0.5287 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4086, allocations: 0 / 0.5287 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-06/0.4086, allocations: 3.984 kB / 0.5287 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4086, allocations: 0 / 0.5287 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.4086, allocations: 4 kB / 0.5288 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4086, allocations: 3.984 kB / 0.5288 GB, free: 15.51 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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.472e-05/0.4087, allocations: 113.9 kB / 0.5289 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.4087, allocations: 4 kB / 0.5289 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.409, allocations: 178.7 kB / 0.529 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-05/0.4091, allocations: 180.3 kB / 0.5292 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/0.4092, allocations: 176.3 kB / 0.5294 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.257e-05/0.4092, allocations: 180.2 kB / 0.5295 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.4095, allocations: 409.2 kB / 0.5299 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.706e-05/0.4096, allocations: 108.9 kB / 0.53 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.4096, allocations: 105 kB / 0.5301 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.4097, allocations: 180.3 kB / 0.5303 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/0.4098, allocations: 192.1 kB / 0.5305 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-05/0.4099, allocations: 176.3 kB / 0.5307 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.066e-05/0.41, allocations: 188.2 kB / 0.5308 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4102, allocations: 307.8 kB / 0.5311 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.4103, allocations: 178.1 kB / 0.5313 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4104, allocations: 192.1 kB / 0.5315 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4105, allocations: 112.9 kB / 0.5316 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.4106, allocations: 176.3 kB / 0.5318 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.4106, allocations: 105.2 kB / 0.5319 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.4107, allocations: 107.2 kB / 0.532 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4107, allocations: 0 / 0.532 GB, free: 11.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002355/0.4131, allocations: 0.8684 MB / 0.5328 GB, free: 11.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003738/0.4168, allocations: 1.437 MB / 0.5342 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.4169, allocations: 19.98 kB / 0.5342 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4169, allocations: 0 / 0.5342 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4169, allocations: 7.875 kB / 0.5342 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.4176, allocations: 491.7 kB / 0.5347 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.418, allocations: 199 kB / 0.5349 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4183, allocations: 0.6807 MB / 0.5356 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.803e-05/0.4183, allocations: 4 kB / 0.5356 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.4183, allocations: 11.44 kB / 0.5356 GB, free: 8.191 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4183, allocations: 0 / 0.5356 GB, free: 8.191 MB / 414.1 MB Notification: Performance of Templates: time 0.03589/0.4542, allocations: 23.44 MB / 0.5585 GB, free: 0.7305 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.587297396734357]