Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 112.6 kB / 16.37 MB, free: 6 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.001298/0.001298, allocations: 196 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.689/1.689, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04594/0.04594, allocations: 9.093 MB / 279.6 MB, free: 2.984 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.001541/0.001541, allocations: 71.88 kB / 339.5 MB, free: 7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4099, allocations: 48.14 MB / 387.6 MB, free: 51.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.02836/0.4383, allocations: 16.84 MB / 404.5 MB, free: 39.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.4513, allocations: 9.739 MB / 414.2 MB, free: 31.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.4515, allocations: 0 / 414.2 MB, free: 31.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.4528, allocations: 260.1 kB / 414.5 MB, free: 31.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.4529, allocations: 21.06 kB / 414.5 MB, free: 31.05 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: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. Notification: Performance of NFTyping.typeClassSections: time 0.02347/0.4764, allocations: 5.096 MB / 419.6 MB, free: 27.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.4766, allocations: 51.67 kB / 419.6 MB, free: 27.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.602e-05/0.4766, allocations: 3.938 kB / 419.6 MB, free: 27.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.4768, allocations: 27.8 kB / 419.7 MB, free: 27.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.4769, allocations: 15.98 kB / 419.7 MB, free: 27.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.4769, allocations: 4 kB / 419.7 MB, free: 27.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01787/0.4947, allocations: 7.837 MB / 427.5 MB, free: 19.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.4949, allocations: 3.938 kB / 427.5 MB, free: 19.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.495, allocations: 15.94 kB / 427.5 MB, free: 19.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.5078, allocations: 3.302 MB / 430.8 MB, free: 16.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.5078, allocations: 4 kB / 430.8 MB, free: 16.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5079, allocations: 0 / 430.8 MB, free: 16.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.5079, allocations: 0 / 430.8 MB, free: 16.21 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.002632/0.5105, allocations: 0.691 MB / 431.5 MB, free: 15.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.136e-05/0.5106, allocations: 12.02 kB / 431.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.5107, allocations: 4.469 kB / 431.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.5108, allocations: 171 kB / 431.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.5109, allocations: 0 / 431.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.5109, allocations: 0 / 431.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.5111, allocations: 45.64 kB / 431.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5111, allocations: 3.984 kB / 431.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.5111, allocations: 0 / 431.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.5111, allocations: 1.75 kB / 431.8 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.5112, allocations: 12 kB / 431.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.5114, allocations: 161.6 kB / 431.9 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.616e-05/0.5115, allocations: 34.52 kB / 432 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.5115, allocations: 28.81 kB / 432 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02544/0.537, allocations: 14.01 MB / 446 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.045e-05/0.5371, allocations: 34.56 kB / 446 MB, free: 14.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 5.921e-06/0.5372, allocations: 3.938 kB / 446 MB, free: 14.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000404/0.5376, allocations: 69.69 kB / 446.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.5377, allocations: 51.41 kB / 446.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.5379, allocations: 97.97 kB / 446.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.5379, allocations: 29.73 kB / 446.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.538, allocations: 80.14 kB / 446.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.5381, allocations: 23.66 kB / 446.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.5382, allocations: 21.64 kB / 446.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.5384, allocations: 318.8 kB / 446.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.5384, allocations: 8 kB / 446.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.5385, allocations: 15.98 kB / 446.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.145e-05/0.5386, allocations: 37.16 kB / 446.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5386, allocations: 4.031 kB / 446.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001658/0.5388, allocations: 57.67 kB / 446.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.5388, allocations: 11.94 kB / 446.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5388, allocations: 0 / 446.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.5389, allocations: 0 / 446.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-06/0.5389, allocations: 3.984 kB / 446.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.5389, allocations: 0 / 446.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.539, allocations: 13.59 kB / 446.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.539, allocations: 4 kB / 446.9 MB, free: 13.56 MB / 334.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.0001528/0.5392, allocations: 113.9 kB / 447 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.5392, allocations: 0 / 447 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.5395, allocations: 170.8 kB / 447.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/0.5396, allocations: 180.2 kB / 447.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001257/0.5398, allocations: 180.3 kB / 447.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001391/0.5399, allocations: 184.2 kB / 447.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.5404, allocations: 413.2 kB / 448.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-05/0.5405, allocations: 101 kB / 448.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.5406, allocations: 108.9 kB / 448.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.5407, allocations: 184.3 kB / 448.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.5409, allocations: 176.3 kB / 448.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001224/0.541, allocations: 184.1 kB / 448.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001188/0.5411, allocations: 180.3 kB / 449 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.5414, allocations: 319.6 kB / 449.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.5416, allocations: 179.7 kB / 449.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.5418, allocations: 180.2 kB / 449.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.5419, allocations: 113 kB / 449.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.5421, allocations: 184.2 kB / 449.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.5422, allocations: 104.9 kB / 450 MB, free: 10.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.5423, allocations: 99.27 kB / 450.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5423, allocations: 0 / 450.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003506/0.5458, allocations: 0.7498 MB / 450.9 MB, free: 9.293 MB / 334.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.006184/0.552, allocations: 1.256 MB / 452.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.5522, allocations: 23.98 kB / 452.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5523, allocations: 0 / 452.2 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.5523, allocations: 4.062 kB / 452.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.5531, allocations: 484.5 kB / 452.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.5538, allocations: 206.9 kB / 452.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.5543, allocations: 0.6768 MB / 453.5 MB, free: 6.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.5544, allocations: 4.156 kB / 453.5 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.5544, allocations: 11.44 kB / 453.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5544, allocations: 0 / 453.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of Templates: time 0.0402/0.5946, allocations: 21.79 MB / 475.3 MB, free: 0.8164 MB / 350.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)