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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001502/0.001502, allocations: 190 kB / 16.25 MB, free: 6.586 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.516/1.516, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04353/0.04353, allocations: 9.083 MB / 278.5 MB, free: 12.32 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.001307/0.001307, allocations: 63.84 kB / 337.5 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08933, allocations: 48.17 MB / 385.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01912/0.1085, allocations: 17.39 MB / 403.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00904/0.1176, allocations: 10.05 MB / 413.1 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.1177, allocations: 3.938 kB / 413.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006452/0.1184, allocations: 255.9 kB / 413.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1187, allocations: 131.5 kB / 413.5 MB, free: 13.64 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.01164/0.1304, allocations: 5.082 MB / 418.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1306, allocations: 159.2 kB / 418.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.1306, allocations: 5.406 kB / 418.8 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1309, allocations: 87.58 kB / 418.8 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.355e-05/0.131, allocations: 51.78 kB / 418.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.131, allocations: 4 kB / 418.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1858/0.3168, allocations: 9.03 MB / 427.9 MB, free: 21.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.3169, allocations: 11.69 kB / 427.9 MB, free: 21.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.071e-05/0.317, allocations: 52.25 kB / 428 MB, free: 21.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008585/0.3256, allocations: 3.497 MB / 431.5 MB, free: 21.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3256, allocations: 0.5 kB / 431.5 MB, free: 21.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3256, allocations: 0 / 431.5 MB, free: 21.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3256, allocations: 0.5625 kB / 431.5 MB, free: 21.11 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.002272/0.3279, allocations: 0.8037 MB / 432.3 MB, free: 20.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.328, allocations: 10.72 kB / 432.3 MB, free: 20.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.328, allocations: 9.469 kB / 432.3 MB, free: 20.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.371e-05/0.3281, allocations: 183 kB / 432.5 MB, free: 20.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3281, allocations: 6.5 kB / 432.5 MB, free: 20.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3281, allocations: 5.5 kB / 432.5 MB, free: 20.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.3284, allocations: 119.8 kB / 432.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3285, allocations: 1.438 kB / 432.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.3285, allocations: 0 / 432.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3285, allocations: 2.547 kB / 432.6 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.3289, allocations: 136.2 kB / 432.8 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3293, allocations: 361.7 kB / 433.1 MB, free: 20.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3296, allocations: 107 kB / 433.2 MB, free: 19.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3298, allocations: 97.56 kB / 433.3 MB, free: 19.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009596/0.3394, allocations: 8.385 MB / 441.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3394, allocations: 43.09 kB / 441.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.3394, allocations: 0 / 441.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007518/0.3402, allocations: 275.4 kB / 442 MB, free: 12.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.3402, allocations: 53.44 kB / 442.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3403, allocations: 137.7 kB / 442.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3403, allocations: 27.08 kB / 442.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.3404, allocations: 86.67 kB / 442.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3404, allocations: 43.36 kB / 442.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.3405, allocations: 26.88 kB / 442.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.3405, allocations: 320.6 kB / 442.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3407, allocations: 76.97 kB / 442.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.3409, allocations: 80.17 kB / 442.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3412, allocations: 155.5 kB / 443 MB, free: 11.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3413, allocations: 4.062 kB / 443 MB, free: 11.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004076/0.3417, allocations: 208.7 kB / 443.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3417, allocations: 5.188 kB / 443.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3417, allocations: 0.8125 kB / 443.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3417, allocations: 1.062 kB / 443.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3419, allocations: 21.92 kB / 443.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3419, allocations: 3.391 kB / 443.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.342, allocations: 20.73 kB / 443.2 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.342, allocations: 8.141 kB / 443.3 MB, free: 11.37 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 6.135e-05/0.3421, allocations: 115.2 kB / 443.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.3421, allocations: 16.44 kB / 443.4 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.3426, allocations: 232.1 kB / 443.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.3427, allocations: 2.375 kB / 443.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3427, allocations: 0 / 443.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3427, allocations: 3.422 kB / 443.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3428, allocations: 215.4 kB / 443.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3429, allocations: 3.562 kB / 443.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.343, allocations: 25.72 kB / 443.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.343, allocations: 4 kB / 443.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.343, allocations: 0 / 443.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.343, allocations: 1.531 kB / 443.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.343, allocations: 6.719 kB / 443.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.3435, allocations: 302.2 kB / 444.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.3436, allocations: 97.28 kB / 444.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3436, allocations: 0.75 kB / 444.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3437, allocations: 16.64 kB / 444.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3438, allocations: 11.03 kB / 444.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3438, allocations: 1.344 kB / 444.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.945e-05/0.3439, allocations: 108.3 kB / 444.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3439, allocations: 0 / 444.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003073/0.3469, allocations: 0.7287 MB / 445.1 MB, free: 10.54 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.003861/0.3508, allocations: 1.204 MB / 446.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.3513, allocations: 186.2 kB / 446.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3513, allocations: 0 / 446.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.3515, allocations: 101.5 kB / 446.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3519, allocations: 45.09 kB / 446.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.3524, allocations: 295.5 kB / 446.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.3525, allocations: 0.6951 MB / 447.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.3526, allocations: 17.86 kB / 447.6 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3526, allocations: 20.06 kB / 447.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3526, allocations: 1.188 kB / 447.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of Templates: time 0.02776/0.3804, allocations: 23.72 MB / 471.4 MB, free: 10.86 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)