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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 116.8 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 191.8 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04941/0.04941, allocations: 9.092 MB / 279.6 MB, free: 2.973 MB / 222.1 MB 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.001553/0.001554, allocations: 67.89 kB / 339.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.408, allocations: 48.15 MB / 387.6 MB, free: 51.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02516/0.4333, allocations: 16.89 MB / 404.5 MB, free: 39.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.4444, allocations: 10.46 MB / 415 MB, free: 30.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.4445, allocations: 1.562 kB / 415 MB, free: 30.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.4456, allocations: 267.9 kB / 415.2 MB, free: 30.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.4457, allocations: 29.23 kB / 415.3 MB, free: 30.36 MB / 318.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.02298/0.4687, allocations: 5.755 MB / 421 MB, free: 26.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.4689, allocations: 59.72 kB / 421.1 MB, free: 25.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.469, allocations: 0 / 421.1 MB, free: 25.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4691, allocations: 31.8 kB / 421.1 MB, free: 25.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.4692, allocations: 11.94 kB / 421.1 MB, free: 25.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.4692, allocations: 3.938 kB / 421.1 MB, free: 25.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01741/0.4866, allocations: 8.753 MB / 429.9 MB, free: 17.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.4867, allocations: 0 / 429.9 MB, free: 17.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.4867, allocations: 15.94 kB / 429.9 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.4998, allocations: 3.617 MB / 433.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.4999, allocations: 4 kB / 433.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4999, allocations: 0 / 433.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.4999, allocations: 0 / 433.5 MB, free: 13.52 MB / 318.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.001767/0.5017, allocations: 0.7494 MB / 434.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.5018, allocations: 8.031 kB / 434.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.5018, allocations: 11.84 kB / 434.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5019, allocations: 163.1 kB / 434.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5019, allocations: 0 / 434.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.502, allocations: 0 / 434.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5021, allocations: 49.62 kB / 434.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5021, allocations: 0 / 434.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5021, allocations: 0 / 434.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.5022, allocations: 0 / 434.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.5022, allocations: 15.94 kB / 434.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.5024, allocations: 169.7 kB / 434.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.5024, allocations: 30.56 kB / 434.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.5025, allocations: 18.02 kB / 434.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0566/0.5591, allocations: 33.03 MB / 467.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/0.5592, allocations: 34.56 kB / 467.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.727e-06/0.5592, allocations: 0 / 467.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003632/0.5596, allocations: 77.61 kB / 467.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.5597, allocations: 51.41 kB / 467.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.5598, allocations: 97.86 kB / 468 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5598, allocations: 25.7 kB / 468 MB, free: 5.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.5599, allocations: 84.3 kB / 468.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.56, allocations: 23.64 kB / 468.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.56, allocations: 13.72 kB / 468.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.5603, allocations: 314.8 kB / 468.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.4e-05/0.5603, allocations: 15.92 kB / 468.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.5604, allocations: 19.92 kB / 468.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.5605, allocations: 37.14 kB / 468.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5605, allocations: 0 / 468.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001119/0.5606, allocations: 65.66 kB / 468.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5606, allocations: 8 kB / 468.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5606, allocations: 7.938 kB / 468.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.5607, allocations: 3.938 kB / 468.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-06/0.5607, allocations: 2.875 kB / 468.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5607, allocations: 0 / 468.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.5607, allocations: 3.938 kB / 468.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.5608, allocations: 0 / 468.6 MB, free: 4.402 MB / 350.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 0.0001423/0.5609, allocations: 117.8 kB / 468.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.5609, allocations: 0 / 468.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.5612, allocations: 178.8 kB / 468.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.878e-05/0.5613, allocations: 176.3 kB / 469.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001029/0.5614, allocations: 184.2 kB / 469.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.343e-05/0.5615, allocations: 176.3 kB / 469.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.5618, allocations: 421 kB / 469.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.273e-05/0.5619, allocations: 109 kB / 469.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.5619, allocations: 101 kB / 470 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.874e-05/0.562, allocations: 180.2 kB / 470.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.477e-05/0.5621, allocations: 184.2 kB / 470.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.812e-05/0.5622, allocations: 184.2 kB / 470.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.866e-05/0.5623, allocations: 180.3 kB / 470.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.5625, allocations: 303.8 kB / 471.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.5626, allocations: 186.1 kB / 471.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.5627, allocations: 184.1 kB / 471.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5628, allocations: 105 kB / 471.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.5629, allocations: 188.2 kB / 471.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.563, allocations: 101 kB / 471.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.959e-05/0.563, allocations: 103.2 kB / 471.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5631, allocations: 0 / 471.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003218/0.5663, allocations: 0.8666 MB / 472.8 MB, free: 8 kB / 350.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.004068/0.5704, allocations: 1.419 MB / 474.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.5705, allocations: 16 kB / 474.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5705, allocations: 0 / 474.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.5705, allocations: 0 / 474.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.5711, allocations: 486.4 kB / 474.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.5716, allocations: 218.8 kB / 474.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.5719, allocations: 0.6768 MB / 475.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.135e-05/0.572, allocations: 0 / 475.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.572, allocations: 15.44 kB / 475.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.572, allocations: 0 / 475.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.03568/0.6077, allocations: 23.45 MB / 499 MB, free: 5.703 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile (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 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1)