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.001333/0.001333, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001276/0.001277, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04728/0.04728, allocations: 9.082 MB / 279.7 MB, free: 2.961 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.001439/0.001439, allocations: 73.72 kB / 388.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07647/0.07792, allocations: 48.17 MB / 436.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01609/0.09404, allocations: 17.3 MB / 453.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.1081, allocations: 14.26 MB / 467.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1083, allocations: 0 / 467.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.1099, allocations: 419.6 kB / 468.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.1136, allocations: 1.574 MB / 469.8 MB, free: 5.973 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.01284/0.1264, allocations: 5.111 MB / 474.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.1267, allocations: 143.2 kB / 475.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.1268, allocations: 5.125 kB / 475.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1269, allocations: 79.58 kB / 475.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.127, allocations: 43.8 kB / 475.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1271, allocations: 0 / 475.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.1435, allocations: 9.845 MB / 485.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.1435, allocations: 11.88 kB / 485.1 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1437, allocations: 59.72 kB / 485.1 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008848/0.1525, allocations: 3.793 MB / 488.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1525, allocations: 0 / 488.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1526, allocations: 0 / 488.9 MB, free: 2.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1526, allocations: 0 / 488.9 MB, free: 2.844 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.001407/0.154, allocations: 0.8343 MB / 489.8 MB, free: 1.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.154, allocations: 15.97 kB / 489.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1542, allocations: 19.81 kB / 489.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1543, allocations: 174.9 kB / 490 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1543, allocations: 8 kB / 490 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.1543, allocations: 8 kB / 490 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1546, allocations: 214.6 kB / 490.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1546, allocations: 3.938 kB / 490.2 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1547, allocations: 7.938 kB / 490.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1547, allocations: 7.984 kB / 490.2 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.1551, allocations: 420.1 kB / 490.6 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.1554, allocations: 307.1 kB / 490.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1556, allocations: 226.8 kB / 491.1 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1558, allocations: 213.1 kB / 491.3 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.1712, allocations: 10.03 MB / 0.4896 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1713, allocations: 42.44 kB / 0.4897 GB, free: 4.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/0.1713, allocations: 0 / 0.4897 GB, free: 4.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007466/0.1721, allocations: 0.5812 MB / 0.4902 GB, free: 3.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.1721, allocations: 55.41 kB / 0.4903 GB, free: 3.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.1722, allocations: 89.86 kB / 0.4904 GB, free: 3.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1722, allocations: 33.7 kB / 0.4904 GB, free: 3.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.1722, allocations: 84.73 kB / 0.4905 GB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.164e-05/0.1723, allocations: 122 kB / 0.4906 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.1724, allocations: 45.83 kB / 0.4906 GB, free: 3.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1725, allocations: 318.8 kB / 0.4909 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.1727, allocations: 163.9 kB / 0.4911 GB, free: 2.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1729, allocations: 163.9 kB / 0.4913 GB, free: 2.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.1733, allocations: 379.5 kB / 0.4916 GB, free: 2.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1733, allocations: 0 / 0.4916 GB, free: 2.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004312/0.1737, allocations: 406.9 kB / 0.492 GB, free: 1.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1737, allocations: 7.938 kB / 0.492 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1737, allocations: 0 / 0.492 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1738, allocations: 7.984 kB / 0.492 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.1739, allocations: 19.98 kB / 0.492 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1739, allocations: 0 / 0.492 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.1739, allocations: 15.84 kB / 0.4921 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.174, allocations: 4 kB / 0.4921 GB, free: 1.867 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.155e-05/0.1741, allocations: 128.8 kB / 0.4922 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1741, allocations: 15.75 kB / 0.4922 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.1749, allocations: 0.6236 MB / 0.4928 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1749, allocations: 0 / 0.4928 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1749, allocations: 0 / 0.4928 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.1749, allocations: 77.11 kB / 0.4929 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.175, allocations: 23.67 kB / 0.4929 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.1751, allocations: 8 kB / 0.4929 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.1751, allocations: 3.938 kB / 0.4929 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003282/0.1754, allocations: 244.9 kB / 0.4931 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002899/0.1757, allocations: 342.5 kB / 0.4935 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.811e-05/0.1758, allocations: 59.91 kB / 0.4935 GB, free: 220 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1759, allocations: 171.2 kB / 0.4937 GB, free: 48 kB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.176, allocations: 0 / 0.4937 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006209/0.1822, allocations: 1.577 MB / 0.4952 GB, free: 14.47 MB / 398.1 MB Notification: Performance of SimCode: time 0.001247/0.1835, allocations: 0.7764 MB / 0.496 GB, free: 13.65 MB / 398.1 MB Notification: Performance of Templates: time 0.03828/0.2218, allocations: 27.53 MB / 0.5229 GB, free: 2.137 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)