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.0009081/0.0009081, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008757/0.000876, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04726/0.04727, allocations: 9.061 MB / 279.5 MB, free: 12.25 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.0005353/0.0005355, allocations: 12 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 49.21 MB / 388.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02028/0.1344, allocations: 16.09 MB / 404.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.1439, allocations: 9.407 MB / 413.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1441, allocations: 0 / 413.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.145, allocations: 234.9 kB / 414 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.1454, allocations: 119.3 kB / 414.2 MB, free: 14.83 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.01654/0.162, allocations: 4.548 MB / 418.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.1623, allocations: 147.2 kB / 418.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.369e-05/0.1624, allocations: 13.39 kB / 418.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1626, allocations: 71.58 kB / 418.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1627, allocations: 47.84 kB / 419 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1627, allocations: 0 / 419 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01577/0.1785, allocations: 7.596 MB / 426.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.1786, allocations: 15.92 kB / 426.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.1787, allocations: 45.64 kB / 426.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.184, allocations: 1.941 MB / 428.6 MB, free: 380 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.184, allocations: 8 kB / 428.6 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.184, allocations: 0 / 428.6 MB, free: 372 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.184, allocations: 3.938 kB / 428.6 MB, free: 368 kB / 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.2163/0.4004, allocations: 0.7889 MB / 429.4 MB, free: 46.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.4004, allocations: 12.88 kB / 429.4 MB, free: 46.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.4005, allocations: 11.27 kB / 429.4 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.4007, allocations: 178.4 kB / 429.6 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.4007, allocations: 6.516 kB / 429.6 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4007, allocations: 4.094 kB / 429.6 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.4012, allocations: 127.7 kB / 429.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4012, allocations: 0 / 429.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4012, allocations: 2.062 kB / 429.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4012, allocations: 0.7812 kB / 429.7 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.4017, allocations: 170.1 kB / 429.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.4024, allocations: 356.2 kB / 430.2 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.4027, allocations: 119.9 kB / 430.3 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.403, allocations: 110.8 kB / 430.5 MB, free: 45.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00979/0.4128, allocations: 8.245 MB / 438.7 MB, free: 37.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4129, allocations: 40.84 kB / 438.7 MB, free: 37.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.534e-06/0.4129, allocations: 2.078 kB / 438.7 MB, free: 37.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008174/0.4137, allocations: 315.5 kB / 439.1 MB, free: 37.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.4138, allocations: 55.03 kB / 439.1 MB, free: 37.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4139, allocations: 138.2 kB / 439.2 MB, free: 37.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.4139, allocations: 27.94 kB / 439.3 MB, free: 37.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.414, allocations: 86.2 kB / 439.4 MB, free: 37.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.414, allocations: 51.44 kB / 439.4 MB, free: 37.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.414, allocations: 1.188 kB / 439.4 MB, free: 37.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.4141, allocations: 318.9 kB / 439.7 MB, free: 36.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4143, allocations: 88.39 kB / 439.8 MB, free: 36.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.4145, allocations: 88.56 kB / 439.9 MB, free: 36.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.4147, allocations: 87.06 kB / 440 MB, free: 36.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4148, allocations: 0 / 440 MB, free: 36.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004752/0.4152, allocations: 229.4 kB / 440.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4153, allocations: 5.812 kB / 440.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4153, allocations: 1.766 kB / 440.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4153, allocations: 0 / 440.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.4155, allocations: 34.25 kB / 440.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4155, allocations: 3.5 kB / 440.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4156, allocations: 24.27 kB / 440.3 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.4156, allocations: 3.703 kB / 440.3 MB, free: 36.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.4157, allocations: 122 kB / 440.4 MB, free: 36.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.4157, allocations: 13.55 kB / 440.4 MB, free: 36.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.4163, allocations: 244.4 kB / 440.6 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4163, allocations: 3.625 kB / 440.6 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4164, allocations: 6 kB / 440.6 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4164, allocations: 3.922 kB / 440.7 MB, free: 36.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.4166, allocations: 217.9 kB / 440.9 MB, free: 36.56 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4166, allocations: 1.094 kB / 440.9 MB, free: 36.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.4167, allocations: 33.06 kB / 440.9 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4167, allocations: 0 / 440.9 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4167, allocations: 3.031 kB / 440.9 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4167, allocations: 3.641 kB / 440.9 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4167, allocations: 1.391 kB / 440.9 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.4172, allocations: 330.6 kB / 441.2 MB, free: 36.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.4173, allocations: 97.83 kB / 441.3 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4173, allocations: 1.953 kB / 441.3 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4175, allocations: 28.25 kB / 441.4 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4175, allocations: 6.547 kB / 441.4 MB, free: 36.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4175, allocations: 2.234 kB / 441.4 MB, free: 36.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.4176, allocations: 107.4 kB / 441.5 MB, free: 36.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4176, allocations: 1.281 kB / 441.5 MB, free: 36.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00183/0.4194, allocations: 0.7213 MB / 442.2 MB, free: 36.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003083/0.4225, allocations: 1.211 MB / 443.4 MB, free: 35.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005308/0.4231, allocations: 196.5 kB / 443.6 MB, free: 35.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4231, allocations: 1.031 kB / 443.6 MB, free: 35.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.4233, allocations: 112.6 kB / 443.7 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.4238, allocations: 39.3 kB / 443.7 MB, free: 35.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.4243, allocations: 324 kB / 444.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.4245, allocations: 0.7007 MB / 444.8 MB, free: 34.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.4245, allocations: 8.719 kB / 444.8 MB, free: 34.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.4246, allocations: 14.23 kB / 444.8 MB, free: 34.81 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4246, allocations: 0 / 444.8 MB, free: 34.81 MB / 318.1 MB Notification: Performance of Templates: time 0.02899/0.4536, allocations: 23.5 MB / 468.3 MB, free: 16.37 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: