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.001068/0.001072, allocations: 109.1 kB / 16.41 MB, free: 6.496 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.001122/0.001123, allocations: 187.9 kB / 17.34 MB, free: 5.738 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.276/1.276, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04744/0.04744, allocations: 9.101 MB / 279.7 MB, free: 2.938 MB / 222.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.001495/0.001495, allocations: 72.41 kB / 388.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06474/0.06624, allocations: 48.17 MB / 436.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01663/0.0829, allocations: 17.31 MB / 453.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.09607, allocations: 14.25 MB / 467.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.09621, allocations: 0 / 467.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.09732, allocations: 375.6 kB / 468.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.1003, allocations: 1.551 MB / 469.8 MB, free: 6.031 MB / 350.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/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.01078/0.1111, allocations: 4.801 MB / 474.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1113, allocations: 143.2 kB / 474.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.1113, allocations: 9.125 kB / 474.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.1114, allocations: 71.58 kB / 474.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.1115, allocations: 43.8 kB / 474.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1115, allocations: 0 / 474.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/0.1261, allocations: 9.845 MB / 484.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.1261, allocations: 11.81 kB / 484.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.1262, allocations: 59.72 kB / 484.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007431/0.1337, allocations: 3.793 MB / 488.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1337, allocations: 0 / 488.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1337, allocations: 0 / 488.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.1337, allocations: 0 / 488.5 MB, free: 3.215 MB / 366.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.001558/0.1353, allocations: 0.8343 MB / 489.4 MB, free: 2.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1353, allocations: 8.031 kB / 489.4 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1354, allocations: 23.81 kB / 489.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1356, allocations: 178.9 kB / 489.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1356, allocations: 4 kB / 489.6 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1356, allocations: 11.94 kB / 489.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.1359, allocations: 214.6 kB / 489.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1359, allocations: 0 / 489.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1359, allocations: 7.938 kB / 489.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.1359, allocations: 7.984 kB / 489.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.1363, allocations: 424 kB / 490.2 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.1366, allocations: 307.1 kB / 490.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1369, allocations: 226.8 kB / 490.8 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.137, allocations: 217.1 kB / 491 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01541/0.1525, allocations: 10.03 MB / 0.4892 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1525, allocations: 34.5 kB / 0.4893 GB, free: 4.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.1525, allocations: 0 / 0.4893 GB, free: 4.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006852/0.1532, allocations: 0.5889 MB / 0.4899 GB, free: 4.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.1533, allocations: 55.41 kB / 0.4899 GB, free: 4.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.1533, allocations: 89.86 kB / 0.49 GB, free: 4.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1534, allocations: 33.7 kB / 0.49 GB, free: 3.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.1534, allocations: 92.84 kB / 0.4901 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1535, allocations: 122 kB / 0.4902 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.1536, allocations: 41.7 kB / 0.4903 GB, free: 3.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1537, allocations: 318.8 kB / 0.4906 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1538, allocations: 163.9 kB / 0.4907 GB, free: 3.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.154, allocations: 167.1 kB / 0.4909 GB, free: 3.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.1543, allocations: 375.6 kB / 0.4912 GB, free: 2.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1543, allocations: 0 / 0.4912 GB, free: 2.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004162/0.1548, allocations: 410.9 kB / 0.4916 GB, free: 2.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1548, allocations: 11.94 kB / 0.4917 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1548, allocations: 0 / 0.4917 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1548, allocations: 0 / 0.4917 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.1549, allocations: 19.98 kB / 0.4917 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1549, allocations: 0 / 0.4917 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.155, allocations: 15.84 kB / 0.4917 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.155, allocations: 4 kB / 0.4917 GB, free: 2.238 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.1551, allocations: 128.8 kB / 0.4918 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1551, allocations: 15.75 kB / 0.4918 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.1557, allocations: 0.6198 MB / 0.4924 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1558, allocations: 0 / 0.4924 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1558, allocations: 0 / 0.4924 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.1558, allocations: 77.11 kB / 0.4925 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.1559, allocations: 19.73 kB / 0.4925 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.1559, allocations: 12 kB / 0.4925 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.1559, allocations: 0 / 0.4925 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002438/0.1562, allocations: 244.9 kB / 0.4928 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002706/0.1565, allocations: 350.5 kB / 0.4931 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.948e-05/0.1565, allocations: 55.97 kB / 0.4932 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1567, allocations: 171.2 kB / 0.4933 GB, free: 428 kB / 382.1 MB Notification: Performance of Backend: time 2.81e-07/0.1567, allocations: 0 / 0.4933 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004297/0.161, allocations: 1.584 MB / 0.4949 GB, free: 14.84 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008458/0.1619, allocations: 0.7725 MB / 0.4956 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.03875/0.2006, allocations: 27.61 MB / 0.5226 GB, free: 2.426 MB / 414.1 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)