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.0009762/0.0009761, allocations: 103 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.0009478/0.0009478, allocations: 173.3 kB / 15.95 MB, free: 212 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.312/1.312, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04265/0.04265, allocations: 9.068 MB / 279.4 MB, free: 12.26 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.0005023/0.0005024, allocations: 16.22 kB / 339.1 MB, free: 26.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08555, allocations: 49.19 MB / 388.3 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01785/0.1034, allocations: 14.44 MB / 402.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.1167, allocations: 11.94 MB / 414.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1168, allocations: 3.938 kB / 414.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009948/0.1179, allocations: 334.9 kB / 415 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.1208, allocations: 1.364 MB / 416.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.1318, allocations: 3.867 MB / 420.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.132, allocations: 115.7 kB / 420.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.132, allocations: 17.11 kB / 420.3 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1322, allocations: 63.7 kB / 420.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.1322, allocations: 43.8 kB / 420.4 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1323, allocations: 4 kB / 420.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1772/0.3095, allocations: 9.479 MB / 429.9 MB, free: 19.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.3095, allocations: 16.8 kB / 429.9 MB, free: 19.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.3096, allocations: 50.42 kB / 430 MB, free: 19.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005053/0.3147, allocations: 2.001 MB / 432 MB, free: 19.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3147, allocations: 1.031 kB / 432 MB, free: 19.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3147, allocations: 1.469 kB / 432 MB, free: 19.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3147, allocations: 0 / 432 MB, free: 19.81 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.002328/0.317, allocations: 0.8055 MB / 432.8 MB, free: 19.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3171, allocations: 10.08 kB / 432.8 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3172, allocations: 20.7 kB / 432.8 MB, free: 19.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.3173, allocations: 172.9 kB / 433 MB, free: 19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3173, allocations: 2.562 kB / 433 MB, free: 19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3174, allocations: 14.52 kB / 433 MB, free: 19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.3177, allocations: 217.9 kB / 433.2 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3177, allocations: 0.6094 kB / 433.2 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3177, allocations: 4.906 kB / 433.2 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3177, allocations: 7.797 kB / 433.2 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.3182, allocations: 420.9 kB / 433.7 MB, free: 18.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.3185, allocations: 307.2 kB / 434 MB, free: 18.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3187, allocations: 223.6 kB / 434.2 MB, free: 18.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/0.3323, allocations: 9.861 MB / 444 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3324, allocations: 40.44 kB / 444.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 3.507e-06/0.3324, allocations: 1.375 kB / 444.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007542/0.3332, allocations: 0.7436 MB / 444.8 MB, free: 9.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.3332, allocations: 56.55 kB / 444.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.749e-05/0.3333, allocations: 95.39 kB / 445 MB, free: 9.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3333, allocations: 30.83 kB / 445 MB, free: 9.148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/0.3333, allocations: 80.8 kB / 445.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.3334, allocations: 128.4 kB / 445.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.3334, allocations: 6.25 kB / 445.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.3335, allocations: 324.9 kB / 445.5 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3336, allocations: 161.5 kB / 445.7 MB, free: 8.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.3338, allocations: 158 kB / 445.8 MB, free: 8.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.334, allocations: 180.9 kB / 446 MB, free: 8.648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.334, allocations: 0 / 446 MB, free: 8.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004786/0.3345, allocations: 406.7 kB / 446.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3345, allocations: 8.656 kB / 446.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3345, allocations: 5.516 kB / 446.4 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3345, allocations: 5.219 kB / 446.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.3346, allocations: 17.81 kB / 446.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3347, allocations: 0 / 446.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.3347, allocations: 18.97 kB / 446.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3348, allocations: 6.859 kB / 446.5 MB, free: 8.578 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 7.053e-05/0.3348, allocations: 122.3 kB / 446.6 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.3349, allocations: 12.28 kB / 446.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.3354, allocations: 0.6301 MB / 447.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3354, allocations: 1.375 kB / 447.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3354, allocations: 0 / 447.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3354, allocations: 0.6562 kB / 447.2 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008129/0.3362, allocations: 0.8985 MB / 448.1 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3363, allocations: 7.594 kB / 448.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.3363, allocations: 23.77 kB / 448.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3364, allocations: 4.125 kB / 448.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3364, allocations: 4.297 kB / 448.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3364, allocations: 8.453 kB / 448.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3364, allocations: 10.75 kB / 448.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.3367, allocations: 383.3 kB / 448.6 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.3367, allocations: 122.4 kB / 448.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.3368, allocations: 7.188 kB / 448.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.3369, allocations: 2.375 kB / 448.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.3369, allocations: 22.17 kB / 448.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3369, allocations: 8.234 kB / 448.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3371, allocations: 171.7 kB / 448.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3371, allocations: 0 / 448.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003223/0.3403, allocations: 0.7903 MB / 449.7 MB, free: 7.012 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.004364/0.3447, allocations: 1.351 MB / 451 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.345, allocations: 292.5 kB / 451.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.345, allocations: 0 / 451.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.306e-05/0.3451, allocations: 76.64 kB / 451.4 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3454, allocations: 47.42 kB / 451.4 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.3459, allocations: 461.2 kB / 451.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.346, allocations: 0.7165 MB / 452.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.19e-05/0.3461, allocations: 12.69 kB / 452.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.3461, allocations: 20.12 kB / 452.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3461, allocations: 0 / 452.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of Templates: time 0.03286/0.379, allocations: 25.63 MB / 478.3 MB, free: 4.285 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: