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.004755/0.004755, allocations: 99.44 kB / 15.73 MB, free: 6.445 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.001066/0.001066, allocations: 190.8 kB / 16.67 MB, free: 6.348 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04787/0.04787, allocations: 9.09 MB / 279 MB, free: 12.09 MB / 238.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.00148/0.00148, allocations: 63.89 kB / 387.4 MB, free: 8.035 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2353, allocations: 48.16 MB / 435.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01918/0.2545, allocations: 16.99 MB / 452.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.2658, allocations: 11.09 MB / 463.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.2658, allocations: 0 / 463.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.2665, allocations: 264.5 kB / 463.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.921e-05/0.2667, allocations: 35.16 kB / 464 MB, free: 1.766 MB / 334.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.01526/0.2819, allocations: 5.775 MB / 469.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.2821, allocations: 88.23 kB / 469.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.2821, allocations: 12.02 kB / 469.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.2822, allocations: 38.8 kB / 469.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.2823, allocations: 15.72 kB / 469.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.2823, allocations: 0 / 469.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/0.298, allocations: 8.642 MB / 478.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.298, allocations: 3.938 kB / 478.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.2981, allocations: 27.88 kB / 478.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008274/0.3064, allocations: 3.659 MB / 482.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3064, allocations: 4 kB / 482.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.3064, allocations: 0 / 482.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3065, allocations: 7.938 kB / 482.2 MB, free: 1.973 MB / 350.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.001685/0.3081, allocations: 0.8076 MB / 483.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3082, allocations: 8.031 kB / 483.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3082, allocations: 11.94 kB / 483.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3084, allocations: 167 kB / 483.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3084, allocations: 0 / 483.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.3084, allocations: 0 / 483.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.3085, allocations: 65.62 kB / 483.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3085, allocations: 0 / 483.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3086, allocations: 0 / 483.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3086, allocations: 0 / 483.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.3086, allocations: 31.92 kB / 483.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.3088, allocations: 181.5 kB / 483.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.306e-05/0.3089, allocations: 46.56 kB / 483.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.3089, allocations: 40.88 kB / 483.6 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06382/0.3728, allocations: 41.4 MB / 0.5127 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3728, allocations: 38.5 kB / 0.5127 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.3728, allocations: 0 / 0.5127 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002687/0.3731, allocations: 133.6 kB / 0.5129 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3732, allocations: 55.39 kB / 0.5129 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.3732, allocations: 101.8 kB / 0.513 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3733, allocations: 25.7 kB / 0.513 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.3733, allocations: 80.14 kB / 0.5131 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.3734, allocations: 43.58 kB / 0.5131 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3734, allocations: 17.72 kB / 0.5132 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.3735, allocations: 327 kB / 0.5135 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.785e-05/0.3735, allocations: 23.98 kB / 0.5135 GB, free: 14.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.3736, allocations: 24 kB / 0.5135 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.3737, allocations: 73.28 kB / 0.5136 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3737, allocations: 0 / 0.5136 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001192/0.3738, allocations: 89.69 kB / 0.5137 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3738, allocations: 11.92 kB / 0.5137 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3738, allocations: 0 / 0.5137 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3739, allocations: 11.88 kB / 0.5137 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3739, allocations: 0 / 0.5137 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3739, allocations: 8.047 kB / 0.5137 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.3739, allocations: 3.953 kB / 0.5137 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3739, allocations: 0 / 0.5137 GB, free: 14.62 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: 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 7.044e-05/0.374, allocations: 117.8 kB / 0.5138 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.374, allocations: 11.89 kB / 0.5138 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.3742, allocations: 151.6 kB / 0.514 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3742, allocations: 3.938 kB / 0.514 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3743, allocations: 8.016 kB / 0.514 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3743, allocations: 0 / 0.514 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.3744, allocations: 177.5 kB / 0.5142 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3744, allocations: 0 / 0.5142 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.3744, allocations: 0 / 0.5142 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3744, allocations: 3.938 kB / 0.5142 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.3744, allocations: 0 / 0.5142 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3744, allocations: 0 / 0.5142 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3744, allocations: 0 / 0.5142 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.3745, allocations: 101.1 kB / 0.5143 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.3746, allocations: 85.03 kB / 0.5143 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3746, allocations: 7.938 kB / 0.5143 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.3746, allocations: 0 / 0.5143 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.3747, allocations: 4 kB / 0.5143 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3747, allocations: 0 / 0.5143 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.3747, allocations: 107.1 kB / 0.5145 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3747, allocations: 0 / 0.5145 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00193/0.3767, allocations: 0.8761 MB / 0.5153 GB, free: 12.86 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: 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.003825/0.3805, allocations: 1.363 MB / 0.5166 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.3807, allocations: 47.98 kB / 0.5167 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3807, allocations: 0 / 0.5167 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.3807, allocations: 27.92 kB / 0.5167 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.3811, allocations: 52 kB / 0.5168 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.3815, allocations: 155.8 kB / 0.5169 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3817, allocations: 0.6846 MB / 0.5176 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.3817, allocations: 4 kB / 0.5176 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.3817, allocations: 11.44 kB / 0.5176 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3817, allocations: 288 / 0.5176 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Templates: time 0.03178/0.4135, allocations: 24.04 MB / 0.5411 GB, free: 2.398 MB / 430.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)