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.001425/0.001425, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001556/0.001556, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] 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.04845/0.04845, allocations: 7.532 MB / 267.3 MB, free: 9.582 MB / 254.1 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 0.002701/0.002701, allocations: 67.89 kB / 392.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1388, allocations: 54.92 MB / 447.7 MB, free: 4.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02129/0.1601, allocations: 15.85 MB / 463.5 MB, free: 4.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01079/0.1709, allocations: 8.947 MB / 472.5 MB, free: 11.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.171, allocations: 0 / 472.5 MB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.1717, allocations: 247.7 kB / 472.7 MB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1721, allocations: 139.6 kB / 472.8 MB, free: 11.32 MB / 446.1 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.01439/0.1865, allocations: 5.808 MB / 478.6 MB, free: 5.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1867, allocations: 163.2 kB / 478.8 MB, free: 5.336 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.1868, allocations: 1.594 kB / 478.8 MB, free: 5.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1871, allocations: 95.56 kB / 478.9 MB, free: 5.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.1872, allocations: 47.78 kB / 478.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1872, allocations: 4 kB / 478.9 MB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2178/0.405, allocations: 6.466 MB / 485.4 MB, free: 49.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.4051, allocations: 19.41 kB / 485.4 MB, free: 49.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.4051, allocations: 44 kB / 485.5 MB, free: 49.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006232/0.4114, allocations: 2.882 MB / 488.4 MB, free: 49.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4114, allocations: 3.375 kB / 488.4 MB, free: 49.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4114, allocations: 1.859 kB / 488.4 MB, free: 49.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4114, allocations: 0 / 488.4 MB, free: 49.72 MB / 446.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.001585/0.413, allocations: 0.7544 MB / 489.1 MB, free: 49.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.413, allocations: 10.03 kB / 489.1 MB, free: 49.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.4132, allocations: 23.44 kB / 489.2 MB, free: 49.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.4134, allocations: 135.9 kB / 489.3 MB, free: 49.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4134, allocations: 0 / 489.3 MB, free: 49.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.4134, allocations: 3.156 kB / 489.3 MB, free: 49.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.4137, allocations: 124.4 kB / 489.4 MB, free: 49.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4137, allocations: 5.359 kB / 489.4 MB, free: 49.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4137, allocations: 1.344 kB / 489.4 MB, free: 49.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4137, allocations: 3.125 kB / 489.4 MB, free: 49.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.4141, allocations: 140.3 kB / 489.6 MB, free: 49.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.4144, allocations: 294.5 kB / 489.8 MB, free: 48.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.4147, allocations: 106.2 kB / 489.9 MB, free: 48.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4149, allocations: 83.95 kB / 490 MB, free: 48.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00805/0.4229, allocations: 2.202 MB / 492.2 MB, free: 48.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.423, allocations: 30.56 kB / 492.3 MB, free: 48.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.423, allocations: 0 / 492.3 MB, free: 48.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.000748/0.4237, allocations: 294.3 kB / 492.5 MB, free: 48.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.4237, allocations: 59.36 kB / 492.6 MB, free: 48.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/0.4238, allocations: 136.4 kB / 492.7 MB, free: 48.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4238, allocations: 29.33 kB / 492.8 MB, free: 48.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.4239, allocations: 91.11 kB / 492.9 MB, free: 48.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4239, allocations: 41.44 kB / 492.9 MB, free: 48.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.4239, allocations: 26.58 kB / 492.9 MB, free: 48.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.424, allocations: 314.3 kB / 493.2 MB, free: 48.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.4242, allocations: 85.89 kB / 493.3 MB, free: 48.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.4244, allocations: 74.56 kB / 493.4 MB, free: 48.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.4247, allocations: 166.5 kB / 493.5 MB, free: 48.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4247, allocations: 4 kB / 493.6 MB, free: 48.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004187/0.4251, allocations: 213.6 kB / 493.8 MB, free: 47.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4252, allocations: 12.12 kB / 493.8 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4252, allocations: 0 / 493.8 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4252, allocations: 0 / 493.8 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4253, allocations: 22.84 kB / 493.8 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4253, allocations: 4 kB / 493.8 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4254, allocations: 21.62 kB / 493.8 MB, free: 47.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4255, allocations: 0 / 493.8 MB, free: 47.96 MB / 446.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 6.704e-05/0.4255, allocations: 116.2 kB / 493.9 MB, free: 47.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.4256, allocations: 17.98 kB / 494 MB, free: 47.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.4261, allocations: 233.4 kB / 494.2 MB, free: 47.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4261, allocations: 0 / 494.2 MB, free: 47.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4261, allocations: 0 / 494.2 MB, free: 47.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4261, allocations: 0 / 494.2 MB, free: 47.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.4262, allocations: 162.8 kB / 494.3 MB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4262, allocations: 2.5 kB / 494.3 MB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.4264, allocations: 23.28 kB / 494.4 MB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4264, allocations: 3.328 kB / 494.4 MB, free: 47.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.4264, allocations: 7.812 kB / 494.4 MB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4264, allocations: 10.5 kB / 494.4 MB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4264, allocations: 0 / 494.4 MB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.4268, allocations: 298.5 kB / 494.7 MB, free: 47.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.4269, allocations: 20.95 kB / 494.7 MB, free: 47.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.4269, allocations: 7.5 kB / 494.7 MB, free: 47.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.427, allocations: 19.38 kB / 494.7 MB, free: 47.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4271, allocations: 9.938 kB / 494.7 MB, free: 47.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4271, allocations: 3.328 kB / 494.7 MB, free: 47.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.007e-05/0.4271, allocations: 101.9 kB / 494.8 MB, free: 47.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4271, allocations: 3 kB / 494.8 MB, free: 47.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001733/0.4288, allocations: 0.7412 MB / 495.6 MB, free: 47.29 MB / 446.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.002864/0.4317, allocations: 1.235 MB / 496.8 MB, free: 46.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004999/0.4322, allocations: 167.7 kB / 497 MB, free: 46.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4322, allocations: 0 / 497 MB, free: 46.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.4324, allocations: 85.03 kB / 497.1 MB, free: 46.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.4328, allocations: 47.92 kB / 497.1 MB, free: 46.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.4333, allocations: 275.3 kB / 497.4 MB, free: 46.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.4334, allocations: 81.64 kB / 497.5 MB, free: 46.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.092e-05/0.4334, allocations: 15.62 kB / 497.5 MB, free: 46.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.4335, allocations: 22.47 kB / 497.5 MB, free: 46.72 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4335, allocations: 0 / 497.5 MB, free: 46.72 MB / 446.1 MB Notification: Performance of Templates: time 0.03779/0.4713, allocations: 24.01 MB / 0.5093 GB, free: 45.25 MB / 446.1 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=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.482161276973784] Failed to read output from testmodel.py, exit status != 0: 0.4817499939817935 0.49100409 0.07715308 Calling exit ...