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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03195/0.03195, allocations: 7.51 MB / 268.6 MB, free: 5.793 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 339.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.971e-05, allocations: 2.312 kB / 339.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.0132/0.01322, allocations: 17.24 MB / 357.1 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007285/0.0205, allocations: 9.928 MB / 367 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.0206, allocations: 0 / 367 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.02114, allocations: 251.7 kB / 367.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.0214, allocations: 135.6 kB / 367.4 MB, free: 15.04 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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.01365/0.03505, allocations: 5.881 MB / 373.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.03526, allocations: 171 kB / 373.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.03531, allocations: 5.594 kB / 373.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.03555, allocations: 115.6 kB / 373.6 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.03562, allocations: 43.83 kB / 373.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.03564, allocations: 8 kB / 373.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009702/0.04534, allocations: 6.521 MB / 380.2 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.04538, allocations: 19.92 kB / 380.2 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.04546, allocations: 35.92 kB / 380.2 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009401/0.05486, allocations: 3.343 MB / 383.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.05487, allocations: 0 / 383.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.05487, allocations: 0 / 383.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.05488, allocations: 0 / 383.6 MB, free: 14.85 MB / 314.7 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.001794/0.05667, allocations: 0.8471 MB / 384.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.05671, allocations: 8.625 kB / 384.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.05683, allocations: 15.95 kB / 384.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.05698, allocations: 139.8 kB / 384.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.05699, allocations: 4 kB / 384.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.057, allocations: 3.984 kB / 384.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.05715, allocations: 86.36 kB / 384.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.05716, allocations: 0 / 384.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.05717, allocations: 0 / 384.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.05718, allocations: 7.938 kB / 384.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.05722, allocations: 27.92 kB / 384.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.05754, allocations: 292.3 kB / 385 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.05763, allocations: 43.06 kB / 385 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.05766, allocations: 31.67 kB / 385 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003989/0.06165, allocations: 1.848 MB / 386.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.06168, allocations: 37.39 kB / 386.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.06168, allocations: 0 / 386.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002353/0.06192, allocations: 113.5 kB / 387 MB, free: 11.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.06195, allocations: 55.41 kB / 387.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.06204, allocations: 196.9 kB / 387.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.06205, allocations: 29.7 kB / 387.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.0621, allocations: 135.2 kB / 387.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.06213, allocations: 43.62 kB / 387.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.06218, allocations: 35.34 kB / 387.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.06229, allocations: 0.4923 MB / 388 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.06232, allocations: 15.94 kB / 388 MB, free: 10.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.06235, allocations: 12 kB / 388 MB, free: 10.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.863e-05/0.06242, allocations: 59.17 kB / 388.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.06242, allocations: 0 / 388.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001146/0.06253, allocations: 85.64 kB / 388.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.06255, allocations: 7.938 kB / 388.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.06256, allocations: 4 kB / 388.2 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.06257, allocations: 4 kB / 388.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.06264, allocations: 19.92 kB / 388.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.06264, allocations: 0 / 388.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.06268, allocations: 11.92 kB / 388.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.06269, allocations: 4 kB / 388.2 MB, free: 9.961 MB / 314.7 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 7.434e-05/0.06277, allocations: 156.6 kB / 388.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.06279, allocations: 15.91 kB / 388.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.06296, allocations: 118.3 kB / 388.5 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.06296, allocations: 3.984 kB / 388.5 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.06297, allocations: 7.938 kB / 388.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.06297, allocations: 0 / 388.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.06311, allocations: 133.1 kB / 388.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.06311, allocations: 4 kB / 388.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.06316, allocations: 15.98 kB / 388.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.06316, allocations: 0 / 388.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.06317, allocations: 4 kB / 388.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.06317, allocations: 0 / 388.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.06318, allocations: 3.938 kB / 388.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.06335, allocations: 243.8 kB / 388.9 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.06339, allocations: 15.94 kB / 388.9 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.0634, allocations: 4 kB / 388.9 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.06346, allocations: 8 kB / 389 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.0635, allocations: 19.84 kB / 389 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.0635, allocations: 4 kB / 389 MB, free: 9.148 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.224e-05/0.06356, allocations: 139.2 kB / 389.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06356, allocations: 0 / 389.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001742/0.0653, allocations: 0.7474 MB / 389.9 MB, free: 8.262 MB / 314.7 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.003056/0.06835, allocations: 1.352 MB / 391.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.06851, allocations: 59.59 kB / 391.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.06851, allocations: 4 kB / 391.3 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.06855, allocations: 47.66 kB / 391.3 MB, free: 6.797 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.06884, allocations: 35.95 kB / 391.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.0696, allocations: 261.8 kB / 391.6 MB, free: 6.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.06964, allocations: 63.34 kB / 391.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.08e-05/0.0697, allocations: 15.69 kB / 391.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.06982, allocations: 106.2 kB / 391.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.06982, allocations: 0 / 391.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of Templates: time 0.1706/0.2404, allocations: 28.56 MB / 420.4 MB, free: 78.39 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile [Timeout 660] (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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.107137992046773]