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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001123/0.001123, allocations: 191 kB / 16.13 MB, free: 6.656 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.453/1.453, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04286/0.04286, allocations: 9.089 MB / 278.4 MB, free: 12.62 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.001229/0.001229, allocations: 63.86 kB / 337.3 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09955, allocations: 48.17 MB / 385.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02008/0.1197, allocations: 17.65 MB / 403.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009216/0.1289, allocations: 10.24 MB / 413.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1291, allocations: 0 / 413.4 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007555/0.1299, allocations: 255.8 kB / 413.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.1303, allocations: 123.5 kB / 413.8 MB, free: 13.34 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.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01459/0.1449, allocations: 4.755 MB / 418.5 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1451, allocations: 151.2 kB / 418.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.1452, allocations: 5.406 kB / 418.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1455, allocations: 79.58 kB / 418.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.1455, allocations: 47.77 kB / 418.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1456, allocations: 7.938 kB / 418.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2097/0.3553, allocations: 8.483 MB / 427.3 MB, free: 20.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.3554, allocations: 14.97 kB / 427.3 MB, free: 20.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.3556, allocations: 46.05 kB / 427.4 MB, free: 20.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3687, allocations: 3.359 MB / 430.7 MB, free: 20.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3687, allocations: 1.312 kB / 430.7 MB, free: 20.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3687, allocations: 0 / 430.7 MB, free: 20.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3687, allocations: 0 / 430.7 MB, free: 20.59 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002596/0.3713, allocations: 0.8058 MB / 431.5 MB, free: 20.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3714, allocations: 12.44 kB / 431.5 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.3714, allocations: 9.344 kB / 431.5 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3716, allocations: 184.8 kB / 431.7 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3716, allocations: 1.5 kB / 431.7 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3716, allocations: 2.906 kB / 431.7 MB, free: 19.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.3719, allocations: 124.2 kB / 431.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3719, allocations: 0 / 431.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.372, allocations: 0 / 431.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.372, allocations: 2.203 kB / 431.8 MB, free: 19.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.3724, allocations: 140 kB / 432 MB, free: 19.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.3729, allocations: 358.8 kB / 432.3 MB, free: 19.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3732, allocations: 103.5 kB / 432.4 MB, free: 19.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3734, allocations: 103 kB / 432.5 MB, free: 19.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.3843, allocations: 8.383 MB / 440.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3844, allocations: 36.62 kB / 441 MB, free: 11.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.3844, allocations: 0 / 441 MB, free: 11.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008036/0.3852, allocations: 282.9 kB / 441.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3852, allocations: 55.56 kB / 441.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3853, allocations: 131.5 kB / 441.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3854, allocations: 30.3 kB / 441.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.3854, allocations: 87.95 kB / 441.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.3855, allocations: 39.81 kB / 441.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.3855, allocations: 31.05 kB / 441.6 MB, free: 11.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.3856, allocations: 319.5 kB / 441.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3858, allocations: 73.2 kB / 442 MB, free: 10.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.386, allocations: 75.11 kB / 442.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.3864, allocations: 164.5 kB / 442.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3864, allocations: 0 / 442.2 MB, free: 10.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004704/0.3869, allocations: 207.3 kB / 442.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3869, allocations: 6.125 kB / 442.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3869, allocations: 0.6562 kB / 442.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.3869, allocations: 0 / 442.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.3871, allocations: 26.95 kB / 442.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3872, allocations: 4.078 kB / 442.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3873, allocations: 18.5 kB / 442.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.3873, allocations: 3.594 kB / 442.5 MB, free: 10.89 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 (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 7.775e-05/0.3874, allocations: 117 kB / 442.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3875, allocations: 17.06 kB / 442.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.388, allocations: 221.3 kB / 442.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.3881, allocations: 8.625 kB / 442.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3881, allocations: 0 / 442.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3881, allocations: 0 / 442.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.3883, allocations: 216.2 kB / 443 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3883, allocations: 5.656 kB / 443 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.3885, allocations: 27.42 kB / 443.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3885, allocations: 4.922 kB / 443.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3885, allocations: 2.734 kB / 443.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3885, allocations: 0 / 443.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3885, allocations: 1.406 kB / 443.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.389, allocations: 308.7 kB / 443.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.3891, allocations: 98.16 kB / 443.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.3891, allocations: 0 / 443.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.3893, allocations: 14.52 kB / 443.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.3894, allocations: 7.438 kB / 443.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3894, allocations: 7.438 kB / 443.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.442e-05/0.3894, allocations: 99.75 kB / 443.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3894, allocations: 4 kB / 443.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00423/0.3937, allocations: 0.7228 MB / 444.3 MB, free: 10.06 MB / 318.1 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.006724/0.4004, allocations: 1.224 MB / 445.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.401, allocations: 172.1 kB / 445.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.401, allocations: 0 / 445.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.4012, allocations: 93.39 kB / 445.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.4017, allocations: 50.23 kB / 445.9 MB, free: 9.738 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.4023, allocations: 301.1 kB / 446.2 MB, free: 9.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.4024, allocations: 0.7025 MB / 446.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.299e-05/0.4025, allocations: 6.844 kB / 446.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.4026, allocations: 13.5 kB / 446.9 MB, free: 8.848 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4026, allocations: 0 / 446.9 MB, free: 8.848 MB / 318.1 MB Notification: Performance of Templates: time 0.03213/0.4347, allocations: 23.65 MB / 470.5 MB, free: 10.97 MB / 334.1 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)