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.00108/0.00108, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.00114/0.00114, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.302/1.302, 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.04634/0.04634, allocations: 9.101 MB / 279.7 MB, free: 2.957 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.002753/0.002753, allocations: 67.47 kB / 388.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09235, allocations: 48.18 MB / 436.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01624/0.1086, allocations: 17.4 MB / 453.7 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008885/0.1176, allocations: 10.08 MB / 463.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.1177, allocations: 3.938 kB / 463.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000654/0.1184, allocations: 263.7 kB / 464 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1187, allocations: 159.2 kB / 464.2 MB, free: 11.62 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.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.1302, allocations: 5.559 MB / 469.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1304, allocations: 163.2 kB / 469.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1305, allocations: 5.406 kB / 469.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.1307, allocations: 83.58 kB / 470 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.1308, allocations: 51.78 kB / 470.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1308, allocations: 4 kB / 470.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01292/0.1437, allocations: 9.018 MB / 479.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.1438, allocations: 15.92 kB / 479.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.93e-05/0.1439, allocations: 59.72 kB / 479.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006026/0.1499, allocations: 3.493 MB / 482.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1499, allocations: 4 kB / 482.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1499, allocations: 0 / 482.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.15, allocations: 0 / 482.6 MB, free: 9.137 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001504/0.1515, allocations: 0.7991 MB / 483.4 MB, free: 8.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1515, allocations: 8.031 kB / 483.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1516, allocations: 7.906 kB / 483.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1517, allocations: 190.7 kB / 483.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1517, allocations: 4 kB / 483.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1517, allocations: 4 kB / 483.7 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.1521, allocations: 113.6 kB / 483.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1521, allocations: 0 / 483.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1521, allocations: 4 kB / 483.8 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1521, allocations: 4 kB / 483.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003793/0.1525, allocations: 139.9 kB / 483.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.153, allocations: 356.6 kB / 484.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1532, allocations: 106.5 kB / 484.4 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.1535, allocations: 100.8 kB / 484.5 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01181/0.1653, allocations: 8.386 MB / 492.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1653, allocations: 30.56 kB / 492.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.1653, allocations: 3.938 kB / 492.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007688/0.1661, allocations: 281.3 kB / 493.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1662, allocations: 59.39 kB / 493.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1663, allocations: 133.9 kB / 493.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1663, allocations: 25.7 kB / 493.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.1664, allocations: 88.42 kB / 493.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1664, allocations: 39.36 kB / 493.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.1665, allocations: 33.7 kB / 493.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1666, allocations: 314.8 kB / 493.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1668, allocations: 71.94 kB / 493.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.167, allocations: 79.19 kB / 494 MB, free: 12.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.1674, allocations: 168.7 kB / 494.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1674, allocations: 0 / 494.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004576/0.1679, allocations: 201.4 kB / 494.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1679, allocations: 8 kB / 494.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1679, allocations: 4 kB / 494.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1679, allocations: 0 / 494.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1681, allocations: 23.97 kB / 494.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1681, allocations: 0 / 494.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1683, allocations: 19.86 kB / 494.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1683, allocations: 7.984 kB / 494.4 MB, free: 11.61 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 (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.0001035/0.1684, allocations: 124.8 kB / 494.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1684, allocations: 15.81 kB / 494.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.169, allocations: 222.3 kB / 494.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.169, allocations: 4 kB / 494.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.169, allocations: 0 / 494.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.1691, allocations: 93 kB / 494.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1691, allocations: 4 kB / 494.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1693, allocations: 15.97 kB / 494.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1693, allocations: 11.94 kB / 494.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005672/0.1699, allocations: 292 kB / 495.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005216/0.1704, allocations: 378.5 kB / 495.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002172/0.1707, allocations: 91.94 kB / 495.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.924e-05/0.1707, allocations: 103.3 kB / 495.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Backend: time 4.01e-07/0.1707, allocations: 0 / 495.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004154/0.1749, allocations: 1.338 MB / 497.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005857/0.1755, allocations: 0.6797 MB / 497.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of Templates: time 0.03466/0.2102, allocations: 24.3 MB / 0.5098 GB, free: 15.85 MB / 414.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)