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.004768/0.004768, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.0011/0.0011, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.31/1.31, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04549/0.04549, allocations: 9.103 MB / 279 MB, free: 12.08 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.001384/0.001384, allocations: 72.31 kB / 387.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2512, allocations: 48.15 MB / 435.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01718/0.2684, allocations: 17 MB / 452.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.2794, allocations: 11.09 MB / 463.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.2795, allocations: 1.719 kB / 463.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007945/0.2804, allocations: 268.5 kB / 463.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.797e-05/0.2805, allocations: 38.22 kB / 464 MB, free: 1.777 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.01569/0.2962, allocations: 5.778 MB / 469.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.2963, allocations: 83.34 kB / 469.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.2964, allocations: 3.625 kB / 469.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.2965, allocations: 35.33 kB / 469.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.2965, allocations: 15 kB / 469.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.2965, allocations: 5.406 kB / 469.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.3116, allocations: 8.647 MB / 478.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.3117, allocations: 11.92 kB / 478.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.3117, allocations: 15.94 kB / 478.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008051/0.3198, allocations: 3.652 MB / 482.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3198, allocations: 0 / 482.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3198, allocations: 0 / 482.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3199, allocations: 3.938 kB / 482.2 MB, free: 2.008 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.001634/0.3215, allocations: 0.7877 MB / 483 MB, free: 1.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3215, allocations: 12.03 kB / 483 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3216, allocations: 11.84 kB / 483 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3217, allocations: 171 kB / 483.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3217, allocations: 4 kB / 483.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.3218, allocations: 0 / 483.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.3219, allocations: 53.62 kB / 483.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3219, allocations: 0 / 483.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3219, allocations: 4 kB / 483.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.3219, allocations: 4 kB / 483.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.322, allocations: 27.92 kB / 483.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.3222, allocations: 181.6 kB / 483.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.32e-05/0.3222, allocations: 46.58 kB / 483.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.3223, allocations: 40.88 kB / 483.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06543/0.3877, allocations: 41.4 MB / 0.5127 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3878, allocations: 30.56 kB / 0.5127 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.835e-06/0.3878, allocations: 0 / 0.5127 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002755/0.3881, allocations: 129.6 kB / 0.5128 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.3881, allocations: 51.41 kB / 0.5129 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.3882, allocations: 97.8 kB / 0.513 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3882, allocations: 29.64 kB / 0.513 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.3883, allocations: 84.3 kB / 0.5131 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.3883, allocations: 47.3 kB / 0.5131 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.3884, allocations: 21.7 kB / 0.5131 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3885, allocations: 314.8 kB / 0.5134 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.3885, allocations: 23.98 kB / 0.5135 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.941e-05/0.3886, allocations: 24.38 kB / 0.5135 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.3886, allocations: 72.95 kB / 0.5135 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3887, allocations: 0 / 0.5135 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001076/0.3888, allocations: 93.64 kB / 0.5136 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3888, allocations: 13.03 kB / 0.5137 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3888, allocations: 0 / 0.5137 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3888, allocations: 0 / 0.5137 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3888, allocations: 3.938 kB / 0.5137 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3888, allocations: 0 / 0.5137 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.3889, allocations: 4 kB / 0.5137 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3889, allocations: 0 / 0.5137 GB, free: 14.7 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 8.134e-05/0.389, allocations: 121.7 kB / 0.5138 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.389, allocations: 7.844 kB / 0.5138 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.3892, allocations: 159.6 kB / 0.5139 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3892, allocations: 4 kB / 0.5139 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3892, allocations: 7.938 kB / 0.5139 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3892, allocations: 0 / 0.5139 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3894, allocations: 169.6 kB / 0.5141 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3894, allocations: 0 / 0.5141 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-06/0.3894, allocations: 4 kB / 0.5141 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3894, allocations: 3.938 kB / 0.5141 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3894, allocations: 4.031 kB / 0.5141 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3894, allocations: 3.938 kB / 0.5141 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3894, allocations: 0 / 0.5141 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.412e-05/0.3895, allocations: 89.03 kB / 0.5142 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.3896, allocations: 89.03 kB / 0.5143 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.3896, allocations: 3.938 kB / 0.5143 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.3896, allocations: 0 / 0.5143 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.3896, allocations: 0 / 0.5143 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3896, allocations: 4.031 kB / 0.5143 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.542e-05/0.3897, allocations: 103.3 kB / 0.5144 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3897, allocations: 3.938 kB / 0.5144 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001953/0.3917, allocations: 0.8589 MB / 0.5152 GB, free: 12.95 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.003048/0.3947, allocations: 1.35 MB / 0.5166 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.3949, allocations: 51.98 kB / 0.5166 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.3949, allocations: 0 / 0.5166 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.3949, allocations: 31.8 kB / 0.5166 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.3953, allocations: 56.05 kB / 0.5167 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.3956, allocations: 147.8 kB / 0.5168 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.3959, allocations: 0.6885 MB / 0.5175 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.307e-05/0.3959, allocations: 0 / 0.5175 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.3959, allocations: 15.44 kB / 0.5175 GB, free: 10.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3959, allocations: 0 / 0.5175 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Templates: time 0.03163/0.4276, allocations: 24.05 MB / 0.541 GB, free: 2.496 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)