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.006159/0.006159, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001311/0.001312, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.588/1.588, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04516/0.04516, allocations: 9.085 MB / 279 MB, free: 12.09 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.001415/0.001415, allocations: 63.91 kB / 387.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3153, allocations: 48.15 MB / 435.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02172/0.3371, allocations: 17.41 MB / 453 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3483, allocations: 10.09 MB / 463.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.3486, allocations: 5.438 kB / 463.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.3496, allocations: 276.7 kB / 463.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.35, allocations: 138.3 kB / 463.5 MB, free: 2.191 MB / 334.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.01714/0.3672, allocations: 5.565 MB / 469.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.3675, allocations: 150.9 kB / 469.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.3676, allocations: 10.7 kB / 469.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.3679, allocations: 88.91 kB / 469.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.368, allocations: 52.72 kB / 469.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.368, allocations: 5.531 kB / 469.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/0.386, allocations: 9.028 MB / 478.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.3862, allocations: 7.938 kB / 478.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.3863, allocations: 47.8 kB / 478.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.3978, allocations: 3.496 MB / 481.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3978, allocations: 3.938 kB / 482 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3978, allocations: 0 / 482 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.3979, allocations: 0 / 482 MB, free: 2.281 MB / 350.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.00246/0.4003, allocations: 0.7991 MB / 482.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.4004, allocations: 12.03 kB / 482.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.4005, allocations: 11.91 kB / 482.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.4006, allocations: 182.8 kB / 483 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4007, allocations: 4 kB / 483 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.4007, allocations: 0 / 483 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.401, allocations: 117.6 kB / 483.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4011, allocations: 0 / 483.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4011, allocations: 0 / 483.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4011, allocations: 7.938 kB / 483.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.4016, allocations: 143.9 kB / 483.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.4021, allocations: 348.6 kB / 483.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.4024, allocations: 110.5 kB / 483.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.4027, allocations: 96.8 kB / 483.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.415, allocations: 8.382 MB / 492.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.4151, allocations: 34.5 kB / 492.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.4151, allocations: 0 / 492.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008314/0.416, allocations: 281.4 kB / 492.5 MB, free: 6.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.416, allocations: 55.41 kB / 492.5 MB, free: 6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4162, allocations: 133.6 kB / 492.6 MB, free: 5.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4162, allocations: 25.7 kB / 492.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.4163, allocations: 92.42 kB / 492.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.4164, allocations: 51.22 kB / 492.8 MB, free: 5.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-05/0.4165, allocations: 29.64 kB / 492.8 MB, free: 5.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4166, allocations: 318.8 kB / 493.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.4169, allocations: 75.94 kB / 493.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.4171, allocations: 84.25 kB / 493.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.4175, allocations: 160.9 kB / 493.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4175, allocations: 0 / 493.5 MB, free: 5.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004886/0.418, allocations: 205.5 kB / 493.7 MB, free: 4.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.418, allocations: 8 kB / 493.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4181, allocations: 0 / 493.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4181, allocations: 0 / 493.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.4182, allocations: 23.97 kB / 493.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4183, allocations: 0 / 493.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.4184, allocations: 15.97 kB / 493.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.4184, allocations: 4 kB / 493.7 MB, free: 4.754 MB / 366.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.0001135/0.4185, allocations: 133.6 kB / 493.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.4186, allocations: 11.81 kB / 493.9 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.4192, allocations: 222.3 kB / 494.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.4192, allocations: 4 kB / 494.1 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4192, allocations: 4 kB / 494.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4192, allocations: 0 / 494.1 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.4195, allocations: 221.4 kB / 494.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4195, allocations: 0 / 494.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4196, allocations: 23.92 kB / 494.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4196, allocations: 0 / 494.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4196, allocations: 7.984 kB / 494.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4196, allocations: 0 / 494.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4196, allocations: 0 / 494.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005721/0.4202, allocations: 307.3 kB / 494.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.4203, allocations: 93 kB / 494.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4204, allocations: 4 kB / 494.7 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.4205, allocations: 15.97 kB / 494.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.4206, allocations: 8 kB / 494.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4206, allocations: 4 kB / 494.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.055e-05/0.4207, allocations: 111.1 kB / 494.9 MB, free: 3.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4207, allocations: 3.938 kB / 494.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002891/0.4236, allocations: 0.7222 MB / 495.6 MB, free: 2.781 MB / 366.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.004473/0.4281, allocations: 1.217 MB / 496.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.4286, allocations: 172.2 kB / 497 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4287, allocations: 0 / 497 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.4289, allocations: 96.09 kB / 497.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.4294, allocations: 51.97 kB / 497.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.4299, allocations: 271.2 kB / 497.4 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.4302, allocations: 0.6995 MB / 498.1 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.4302, allocations: 15.92 kB / 498.1 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.4303, allocations: 15.44 kB / 498.1 MB, free: 212 kB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4303, allocations: 0 / 498.1 MB, free: 212 kB / 366.1 MB Notification: Performance of Templates: time 0.0337/0.464, allocations: 23.83 MB / 0.5097 GB, free: 8.375 MB / 398.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)