Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 104.1 kB / 16.36 MB, free: 6.285 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.001881/0.001881, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.853/1.853, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04973/0.04973, allocations: 9.105 MB / 279.6 MB, free: 2.953 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.001522/0.001522, allocations: 71.89 kB / 339.5 MB, free: 6.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4133, allocations: 48.14 MB / 387.6 MB, free: 51.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.02482/0.4381, allocations: 16.99 MB / 404.6 MB, free: 39.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.4501, allocations: 11.09 MB / 415.7 MB, free: 30.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.4503, allocations: 0 / 415.7 MB, free: 30.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.4514, allocations: 262.2 kB / 416 MB, free: 29.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.4516, allocations: 44.12 kB / 416 MB, free: 29.79 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.02288/0.4745, allocations: 5.787 MB / 421.8 MB, free: 25.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.4747, allocations: 83.47 kB / 421.9 MB, free: 25.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.4748, allocations: 7.984 kB / 421.9 MB, free: 25.17 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.4749, allocations: 35.8 kB / 421.9 MB, free: 25.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.475, allocations: 15.94 kB / 421.9 MB, free: 25.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.475, allocations: 4 kB / 421.9 MB, free: 25.11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0189/0.4939, allocations: 8.64 MB / 430.6 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.494, allocations: 7.938 kB / 430.6 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.4941, allocations: 23.88 kB / 430.6 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.5083, allocations: 3.649 MB / 434.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.5084, allocations: 4 kB / 434.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.5084, allocations: 0 / 434.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.5084, allocations: 0 / 434.3 MB, free: 12.77 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0031/0.5116, allocations: 0.7845 MB / 435 MB, free: 11.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.5116, allocations: 8.031 kB / 435 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.5117, allocations: 13.81 kB / 435.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.5119, allocations: 170.9 kB / 435.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.5119, allocations: 0 / 435.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.5119, allocations: 8 kB / 435.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.5121, allocations: 49.69 kB / 435.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5122, allocations: 0 / 435.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.5122, allocations: 0 / 435.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.5122, allocations: 4 kB / 435.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.5123, allocations: 31.86 kB / 435.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.5126, allocations: 185.6 kB / 435.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.5127, allocations: 46.52 kB / 435.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.5127, allocations: 40.88 kB / 435.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07172/0.5845, allocations: 41.39 MB / 477 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.5846, allocations: 38.56 kB / 477 MB, free: 10.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.526e-06/0.5846, allocations: 3.938 kB / 477 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003839/0.585, allocations: 137.4 kB / 477.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.585, allocations: 55.41 kB / 477.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.5851, allocations: 93.86 kB / 477.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5852, allocations: 25.7 kB / 477.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.5852, allocations: 84.3 kB / 477.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.5853, allocations: 39.39 kB / 477.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.5853, allocations: 21.7 kB / 477.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5855, allocations: 318.8 kB / 477.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.5855, allocations: 23.98 kB / 477.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.5856, allocations: 24 kB / 477.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.5857, allocations: 70.52 kB / 477.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5857, allocations: 0 / 477.9 MB, free: 9.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001328/0.5858, allocations: 96.27 kB / 478 MB, free: 9.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5858, allocations: 11.94 kB / 478 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.5859, allocations: 4 kB / 478 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.5859, allocations: 0 / 478 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-06/0.5859, allocations: 2.125 kB / 478 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.5859, allocations: 0 / 478 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.586, allocations: 7.844 kB / 478 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.586, allocations: 0 / 478 MB, free: 9.457 MB / 366.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001055/0.5861, allocations: 113.8 kB / 478.1 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.5861, allocations: 7.938 kB / 478.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.5864, allocations: 163.4 kB / 478.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.5864, allocations: 0 / 478.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5864, allocations: 0 / 478.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5864, allocations: 0 / 478.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.5866, allocations: 169.7 kB / 478.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.5866, allocations: 3.938 kB / 478.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.5866, allocations: 0 / 478.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5866, allocations: 3.938 kB / 478.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5866, allocations: 4.031 kB / 478.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.5867, allocations: 0 / 478.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5867, allocations: 4 kB / 478.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.5868, allocations: 106.7 kB / 478.6 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.5869, allocations: 81.05 kB / 478.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.5869, allocations: 3.938 kB / 478.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.5869, allocations: 4 kB / 478.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.5869, allocations: 0 / 478.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.5869, allocations: 4.031 kB / 478.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.587, allocations: 99.27 kB / 478.8 MB, free: 8.586 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.587, allocations: 0 / 478.8 MB, free: 8.586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002778/0.5898, allocations: 0.8592 MB / 479.6 MB, free: 7.727 MB / 366.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003443/0.5933, allocations: 1.356 MB / 481 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.5935, allocations: 51.98 kB / 481 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5935, allocations: 4 kB / 481 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.5935, allocations: 19.98 kB / 481.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.594, allocations: 54.64 kB / 481.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.5944, allocations: 163.5 kB / 481.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.5948, allocations: 0.6846 MB / 481.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.5948, allocations: 4 kB / 482 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.5949, allocations: 15.44 kB / 482 MB, free: 5.324 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5949, allocations: 0 / 482 MB, free: 5.324 MB / 366.1 MB Notification: Performance of Templates: time 0.03831/0.6332, allocations: 24.03 MB / 0.4941 GB, free: 13.33 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)