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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007586/0.0007586, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008528/0.0008528, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 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.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04476/0.04476, allocations: 9.058 MB / 279.5 MB, free: 12.25 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.0005026/0.0005027, allocations: 16 kB / 339.1 MB, free: 25.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08064, allocations: 49.19 MB / 388.3 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01872/0.09941, allocations: 15.98 MB / 404.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.1119, allocations: 13.26 MB / 417.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1121, allocations: 3.938 kB / 417.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008252/0.1129, allocations: 314.6 kB / 417.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.1156, allocations: 1.391 MB / 419.3 MB, free: 9.707 MB / 318.1 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.01083/0.1264, allocations: 3.737 MB / 423 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1267, allocations: 139.1 kB / 423.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.912e-05/0.1268, allocations: 17.09 kB / 423.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.1269, allocations: 63.67 kB / 423.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.127, allocations: 43.78 kB / 423.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.127, allocations: 4 kB / 423.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1943/0.3214, allocations: 8.273 MB / 431.5 MB, free: 20.53 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.3215, allocations: 14.12 kB / 431.5 MB, free: 20.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3216, allocations: 45.48 kB / 431.6 MB, free: 20.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005804/0.3274, allocations: 2.128 MB / 433.7 MB, free: 20.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3274, allocations: 0.9375 kB / 433.7 MB, free: 20.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3274, allocations: 0 / 433.7 MB, free: 20.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3275, allocations: 0 / 433.7 MB, free: 20.46 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002594/0.3301, allocations: 0.8264 MB / 434.5 MB, free: 19.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3301, allocations: 10 kB / 434.6 MB, free: 19.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3302, allocations: 21.38 kB / 434.6 MB, free: 19.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3303, allocations: 172.3 kB / 434.7 MB, free: 19.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3304, allocations: 4.062 kB / 434.7 MB, free: 19.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3304, allocations: 7.219 kB / 434.8 MB, free: 19.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.3307, allocations: 221.5 kB / 435 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3307, allocations: 2.734 kB / 435 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3307, allocations: 2.625 kB / 435 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3307, allocations: 5.219 kB / 435 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.3312, allocations: 421.7 kB / 435.4 MB, free: 19.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.3315, allocations: 309.2 kB / 435.7 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.3317, allocations: 227 kB / 435.9 MB, free: 19.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.3319, allocations: 209.2 kB / 436.1 MB, free: 19.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.3444, allocations: 9.836 MB / 446 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3445, allocations: 39.42 kB / 446 MB, free: 10.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 3.918e-06/0.3445, allocations: 2.672 kB / 446 MB, free: 10.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007709/0.3453, allocations: 0.5728 MB / 446.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.3454, allocations: 56.73 kB / 446.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.3454, allocations: 92.61 kB / 446.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3454, allocations: 30.2 kB / 446.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.3455, allocations: 84.72 kB / 446.8 MB, free: 9.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.3456, allocations: 133.8 kB / 447 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.3456, allocations: 5.656 kB / 447 MB, free: 9.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.3457, allocations: 326.7 kB / 447.3 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.3458, allocations: 157.8 kB / 447.4 MB, free: 9.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.346, allocations: 162.8 kB / 447.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3461, allocations: 179 kB / 447.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3462, allocations: 0 / 447.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004166/0.3466, allocations: 409.3 kB / 448.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3466, allocations: 5.062 kB / 448.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3466, allocations: 4 kB / 448.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3466, allocations: 1.5 kB / 448.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.3468, allocations: 21.27 kB / 448.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3468, allocations: 0 / 448.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.3469, allocations: 27.67 kB / 448.2 MB, free: 9.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3469, allocations: 5.578 kB / 448.2 MB, free: 9.387 MB / 318.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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/0.347, allocations: 114.3 kB / 448.3 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.347, allocations: 13.56 kB / 448.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.3476, allocations: 0.6224 MB / 449 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3476, allocations: 5.594 kB / 449 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3476, allocations: 0 / 449 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3476, allocations: 0 / 449 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.3485, allocations: 0.8951 MB / 449.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3485, allocations: 6.75 kB / 449.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.3486, allocations: 28.16 kB / 449.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3486, allocations: 3.125 kB / 449.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3486, allocations: 8.25 kB / 449.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3486, allocations: 3.844 kB / 449.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.3486, allocations: 5.812 kB / 449.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3489, allocations: 261.3 kB / 450.2 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.349, allocations: 132.3 kB / 450.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.349, allocations: 6.141 kB / 450.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.3491, allocations: 7.125 kB / 450.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.3491, allocations: 16.75 kB / 450.4 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.3491, allocations: 5.812 kB / 450.4 MB, free: 8.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3493, allocations: 173.5 kB / 450.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3493, allocations: 0 / 450.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003896/0.3532, allocations: 0.7887 MB / 451.3 MB, free: 7.996 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007007/0.3602, allocations: 1.36 MB / 452.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005231/0.3608, allocations: 289.4 kB / 453 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3608, allocations: 0 / 453 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.3609, allocations: 74.14 kB / 453 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.3615, allocations: 45.91 kB / 453.1 MB, free: 7.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.3622, allocations: 467.6 kB / 453.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.3623, allocations: 0.7083 MB / 454.2 MB, free: 6.652 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.991e-05/0.3624, allocations: 14.28 kB / 454.3 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.3625, allocations: 19.84 kB / 454.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3625, allocations: 0 / 454.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of Templates: time 0.03546/0.398, allocations: 25.64 MB / 479.9 MB, free: 4.043 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: