Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04547/0.04547, allocations: 9.085 MB / 25.82 MB, free: 3.406 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000929/0.0009292, allocations: 104.1 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009813/0.0009815, allocations: 47.92 kB / 341.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2414, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02165/0.2631, allocations: 17.53 MB / 406.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2776, allocations: 14.42 MB / 421.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2777, allocations: 0 / 421.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.2789, allocations: 347.8 kB / 421.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.2824, allocations: 1.395 MB / 422.9 MB, free: 4.727 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function ‘HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01536/0.2978, allocations: 4.023 MB / 426.9 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.298, allocations: 139.2 kB / 427.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.2981, allocations: 5.125 kB / 427.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2982, allocations: 59.67 kB / 427.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.2983, allocations: 55.72 kB / 427.2 MB, free: 448 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.2983, allocations: 0 / 427.2 MB, free: 448 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/0.3152, allocations: 9.269 MB / 436.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.3153, allocations: 15.91 kB / 436.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.967e-05/0.3154, allocations: 55.69 kB / 436.5 MB, free: 7.078 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009506/0.3249, allocations: 3.64 MB / 440.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3249, allocations: 0 / 440.2 MB, free: 3.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.325, allocations: 4 kB / 440.2 MB, free: 3.426 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.325, allocations: 4 kB / 440.2 MB, free: 3.422 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001373/0.3263, allocations: 0.8382 MB / 441 MB, free: 2.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3264, allocations: 8.031 kB / 441 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3265, allocations: 19.83 kB / 441.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3267, allocations: 174.9 kB / 441.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3267, allocations: 0 / 441.2 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3267, allocations: 8 kB / 441.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.327, allocations: 218.6 kB / 441.4 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.327, allocations: 0 / 441.4 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.327, allocations: 7.938 kB / 441.4 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.327, allocations: 7.984 kB / 441.5 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.3274, allocations: 424.1 kB / 441.9 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.3277, allocations: 311.1 kB / 442.2 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.328, allocations: 226.8 kB / 442.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.3282, allocations: 217.1 kB / 442.6 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01572/0.3439, allocations: 10.02 MB / 452.6 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.344, allocations: 34.5 kB / 452.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.306e-06/0.344, allocations: 0 / 452.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007539/0.3447, allocations: 0.5926 MB / 453.3 MB, free: 4.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3448, allocations: 51.41 kB / 453.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.3449, allocations: 101.8 kB / 453.4 MB, free: 4.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.3449, allocations: 25.7 kB / 453.4 MB, free: 4.184 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.3449, allocations: 80.8 kB / 453.5 MB, free: 4.102 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3451, allocations: 130.1 kB / 453.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.3451, allocations: 37.69 kB / 453.7 MB, free: 3.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3453, allocations: 331 kB / 454 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.3455, allocations: 155.9 kB / 454.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.3456, allocations: 167.9 kB / 454.3 MB, free: 3.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.346, allocations: 367.6 kB / 454.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.346, allocations: 0 / 454.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004499/0.3465, allocations: 410.8 kB / 455.1 MB, free: 2.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3465, allocations: 7.938 kB / 455.1 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3465, allocations: 4 kB / 455.1 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3466, allocations: 3.938 kB / 455.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3467, allocations: 19.98 kB / 455.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3467, allocations: 8 kB / 455.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.3467, allocations: 15.72 kB / 455.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3468, allocations: 4 kB / 455.1 MB, free: 2.449 MB / 330.7 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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.3469, allocations: 121.8 kB / 455.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3469, allocations: 23.73 kB / 455.3 MB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007188/0.3476, allocations: 0.6051 MB / 455.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3477, allocations: 4 kB / 455.9 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3477, allocations: 7.984 kB / 455.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3477, allocations: 0 / 455.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.3486, allocations: 0.8929 MB / 456.8 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3486, allocations: 3.984 kB / 456.8 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.3486, allocations: 24 kB / 456.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3487, allocations: 3.938 kB / 456.8 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3487, allocations: 7.984 kB / 456.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.3487, allocations: 11.92 kB / 456.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3487, allocations: 4.344 kB / 456.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.3494, allocations: 0.9209 MB / 457.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.3495, allocations: 85.11 kB / 457.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.3496, allocations: 19.75 kB / 457.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.3496, allocations: 4 kB / 457.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3497, allocations: 19.92 kB / 457.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3497, allocations: 12 kB / 457.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.3499, allocations: 179.2 kB / 458.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3499, allocations: 0 / 458.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002579/0.3525, allocations: 0.8004 MB / 458.9 MB, free: 14.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.00378/0.3563, allocations: 1.365 MB / 460.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003938/0.3567, allocations: 287.8 kB / 460.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3567, allocations: 4 kB / 460.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.3568, allocations: 71.89 kB / 460.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.3574, allocations: 84.59 kB / 460.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.3582, allocations: 0.5387 MB / 461.2 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3585, allocations: 0.7126 MB / 461.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.522e-05/0.3586, allocations: 16.75 kB / 461.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3587, allocations: 15.44 kB / 462 MB, free: 11.22 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3587, allocations: 4 kB / 462 MB, free: 11.22 MB / 346.7 MB Notification: Performance of Templates: time 0.03748/0.3961, allocations: 26.66 MB / 488.6 MB, free: 0.5273 MB / 362.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1)