Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_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.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 183.2 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.04995/0.04995, allocations: 9.097 MB / 25.83 MB, free: 3.41 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.651/1.651, allocations: 205.1 MB / 233.2 MB, free: 14.17 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.001094/0.001094, allocations: 111.5 kB / 282.1 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 51.92 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2781, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01815/0.2963, allocations: 17.65 MB / 406.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009415/0.3058, allocations: 10.24 MB / 417.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.306, allocations: 0 / 417.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.3069, allocations: 263.7 kB / 417.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004705/0.3074, allocations: 123.5 kB / 417.5 MB, free: 10.16 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.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01655/0.3239, allocations: 4.751 MB / 422.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.3242, allocations: 159.2 kB / 422.4 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.3243, allocations: 9.344 kB / 422.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3245, allocations: 79.59 kB / 422.5 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.3246, allocations: 43.78 kB / 422.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3247, allocations: 4 kB / 422.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/0.3396, allocations: 8.489 MB / 431 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.3397, allocations: 11.92 kB / 431 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3398, allocations: 47.8 kB / 431.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.3523, allocations: 3.368 MB / 434.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3524, allocations: 0 / 434.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3524, allocations: 4 kB / 434.5 MB, free: 9.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3524, allocations: 0 / 434.5 MB, free: 9.16 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002076/0.3545, allocations: 0.7953 MB / 435.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3545, allocations: 12.03 kB / 435.3 MB, free: 8.305 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.3546, allocations: 7.906 kB / 435.3 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3547, allocations: 186.8 kB / 435.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3548, allocations: 3.984 kB / 435.5 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3548, allocations: 8 kB / 435.5 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.3551, allocations: 121.5 kB / 435.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3551, allocations: 0 / 435.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3551, allocations: 0 / 435.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3552, allocations: 7.984 kB / 435.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.3556, allocations: 143.9 kB / 435.7 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.3561, allocations: 352.6 kB / 436.1 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.3564, allocations: 110.5 kB / 436.2 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.3566, allocations: 104.8 kB / 436.3 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.3679, allocations: 8.383 MB / 444.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.3679, allocations: 30.56 kB / 444.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.368, allocations: 0 / 444.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008023/0.3688, allocations: 281.4 kB / 445 MB, free: 12.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3688, allocations: 55.41 kB / 445 MB, free: 12.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.369, allocations: 142 kB / 445.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.369, allocations: 29.64 kB / 445.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.369, allocations: 96.39 kB / 445.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.3691, allocations: 39.31 kB / 445.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3692, allocations: 25.7 kB / 445.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3693, allocations: 326.8 kB / 445.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3695, allocations: 75.94 kB / 445.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3697, allocations: 71.95 kB / 445.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.3701, allocations: 164.7 kB / 446 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3701, allocations: 0 / 446 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004435/0.3705, allocations: 197.5 kB / 446.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3706, allocations: 8 kB / 446.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3706, allocations: 0 / 446.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3706, allocations: 7.938 kB / 446.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3708, allocations: 19.98 kB / 446.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3708, allocations: 0 / 446.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3709, allocations: 19.88 kB / 446.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3709, allocations: 4 kB / 446.2 MB, free: 11.62 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001084/0.371, allocations: 121.7 kB / 446.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3711, allocations: 7.906 kB / 446.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005588/0.3716, allocations: 222.8 kB / 446.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3717, allocations: 4 kB / 446.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3717, allocations: 0 / 446.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3717, allocations: 3.984 kB / 446.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3719, allocations: 221.5 kB / 446.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.372, allocations: 0 / 446.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.3721, allocations: 23.97 kB / 446.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3721, allocations: 0 / 446.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3721, allocations: 4 kB / 446.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3721, allocations: 0 / 446.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3721, allocations: 0 / 446.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3732, allocations: 0.9619 MB / 447.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.3733, allocations: 96.88 kB / 447.9 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3733, allocations: 4 kB / 447.9 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3735, allocations: 31.89 kB / 447.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.3736, allocations: 7.922 kB / 447.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3736, allocations: 4 kB / 447.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.833e-05/0.3737, allocations: 99.27 kB / 448 MB, free: 9.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3737, allocations: 0 / 448 MB, free: 9.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002737/0.3764, allocations: 0.7301 MB / 448.8 MB, free: 8.961 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00345/0.3799, allocations: 1.228 MB / 450 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.3804, allocations: 163.9 kB / 450.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3804, allocations: 0 / 450.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.3807, allocations: 99.88 kB / 450.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3811, allocations: 39.95 kB / 450.3 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007178/0.3818, allocations: 443.8 kB / 450.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3821, allocations: 0.7043 MB / 451.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.681e-05/0.3822, allocations: 4 kB / 451.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.3822, allocations: 15.44 kB / 451.4 MB, free: 6.207 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3822, allocations: 0 / 451.4 MB, free: 6.207 MB / 330.7 MB Notification: Performance of Templates: time 0.03218/0.4144, allocations: 23.69 MB / 475.1 MB, free: 14.49 MB / 362.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1)