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.001617/0.001617, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001354/0.001354, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05643/0.05643, allocations: 9.1 MB / 279.6 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.002237/0.002238, allocations: 67.91 kB / 339.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4425, allocations: 48.14 MB / 387.6 MB, free: 51.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.03038/0.473, allocations: 17.4 MB / 405 MB, free: 38.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.4858, allocations: 10.09 MB / 415.1 MB, free: 30.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.4861, allocations: 1.281 kB / 415.1 MB, free: 30.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.4874, allocations: 280.8 kB / 415.4 MB, free: 30.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.4881, allocations: 140.9 kB / 415.5 MB, free: 30.19 MB / 318.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.02474/0.5128, allocations: 5.568 MB / 421.1 MB, free: 25.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.5133, allocations: 159.2 kB / 421.2 MB, free: 25.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.5134, allocations: 13.41 kB / 421.3 MB, free: 25.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.5137, allocations: 79.58 kB / 421.3 MB, free: 25.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.5138, allocations: 47.83 kB / 421.4 MB, free: 25.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.5138, allocations: 7.938 kB / 421.4 MB, free: 25.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02292/0.5368, allocations: 9.018 MB / 430.4 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.537, allocations: 19.92 kB / 430.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.5371, allocations: 43.8 kB / 430.5 MB, free: 16.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01824/0.5554, allocations: 3.496 MB / 434 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.5555, allocations: 0 / 434 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.441e-06/0.5555, allocations: 0 / 434 MB, free: 13.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.5555, allocations: 0 / 434 MB, free: 13.01 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.003459/0.559, allocations: 0.7921 MB / 434.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.818e-05/0.5591, allocations: 12.03 kB / 434.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.5592, allocations: 11.81 kB / 434.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.5594, allocations: 180.4 kB / 435 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.5595, allocations: 8 kB / 435 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.5595, allocations: 4 kB / 435 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.5599, allocations: 117.5 kB / 435.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.56, allocations: 0 / 435.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.56, allocations: 4 kB / 435.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.56, allocations: 4 kB / 435.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.5604, allocations: 142 kB / 435.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007327/0.5612, allocations: 360.6 kB / 435.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.5615, allocations: 98.53 kB / 435.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5617, allocations: 96.8 kB / 435.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.5744, allocations: 8.387 MB / 444.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/0.5745, allocations: 38.5 kB / 444.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 5.03e-06/0.5746, allocations: 0 / 444.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009892/0.5756, allocations: 282.9 kB / 444.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.5756, allocations: 51.41 kB / 444.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.5758, allocations: 143.2 kB / 444.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.5759, allocations: 25.7 kB / 444.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.576, allocations: 88.42 kB / 444.8 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.576, allocations: 51.28 kB / 444.8 MB, free: 428 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.5761, allocations: 29.7 kB / 444.9 MB, free: 392 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5763, allocations: 322.8 kB / 445.2 MB, free: 60 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.5765, allocations: 72 kB / 445.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.5767, allocations: 71.89 kB / 445.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.5772, allocations: 165.4 kB / 445.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5772, allocations: 4 kB / 445.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005338/0.5777, allocations: 193.9 kB / 445.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.5778, allocations: 8 kB / 445.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5778, allocations: 4 kB / 445.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.5778, allocations: 0 / 445.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.578, allocations: 23.97 kB / 445.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.578, allocations: 0 / 445.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.5782, allocations: 23.88 kB / 445.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.5782, allocations: 4 kB / 445.7 MB, free: 15.49 MB / 334.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.0001619/0.5784, allocations: 117.8 kB / 445.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.5785, allocations: 19.89 kB / 445.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/0.5791, allocations: 219.7 kB / 446.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.5792, allocations: 4 kB / 446.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5792, allocations: 1.75 kB / 446.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5792, allocations: 0 / 446.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.5796, allocations: 225.4 kB / 446.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5796, allocations: 0 / 446.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.5797, allocations: 19.98 kB / 446.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5798, allocations: 0 / 446.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.5798, allocations: 11.98 kB / 446.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.5798, allocations: 0 / 446.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5798, allocations: 0 / 446.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.5804, allocations: 303.2 kB / 446.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5806, allocations: 96.94 kB / 446.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.5806, allocations: 4 kB / 446.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.5808, allocations: 17.78 kB / 446.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.5809, allocations: 4 kB / 446.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5809, allocations: 7.984 kB / 446.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.581, allocations: 106.7 kB / 446.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.581, allocations: 7.938 kB / 446.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0034/0.5844, allocations: 0.7183 MB / 447.6 MB, free: 13.55 MB / 334.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.00664/0.5911, allocations: 1.226 MB / 448.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007334/0.5918, allocations: 167.9 kB / 449 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5919, allocations: 0 / 449 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.5922, allocations: 95.88 kB / 449.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.5927, allocations: 44.83 kB / 449.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/0.5937, allocations: 259.3 kB / 449.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.5942, allocations: 0.7001 MB / 450.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.597e-05/0.5943, allocations: 11.92 kB / 450.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.5944, allocations: 15.44 kB / 450.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5944, allocations: 8 kB / 450.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Templates: time 0.04348/0.6379, allocations: 23.82 MB / 473.9 MB, free: 3.203 MB / 350.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 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1)