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.001836/0.001836, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002233/0.002233, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.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.0797/0.0797, allocations: 9.145 MB / 321.6 MB, free: 10.23 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.003369/0.003369, allocations: 64.12 kB / 447 MB, free: 144 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1356, allocations: 54.94 MB / 0.4902 GB, free: 9.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02063/0.1562, allocations: 15.87 MB / 0.5057 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.1678, allocations: 8.951 MB / 0.5144 GB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.1679, allocations: 0 / 0.5144 GB, free: 188 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2698/0.4377, allocations: 236.8 kB / 0.5146 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.4383, allocations: 132.4 kB / 0.5148 GB, free: 7.703 MB / 382.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.01319/0.4515, allocations: 5.796 MB / 0.5204 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4517, allocations: 158.6 kB / 0.5206 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.4518, allocations: 5.922 kB / 0.5206 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.452, allocations: 99.19 kB / 0.5207 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.4521, allocations: 45.33 kB / 0.5207 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.4521, allocations: 5.406 kB / 0.5207 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.4637, allocations: 6.473 MB / 0.527 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.4637, allocations: 14.22 kB / 0.5271 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.4639, allocations: 38.91 kB / 0.5271 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007115/0.471, allocations: 2.887 MB / 0.5299 GB, free: 7.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.471, allocations: 0.6875 kB / 0.5299 GB, free: 7.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.471, allocations: 0 / 0.5299 GB, free: 7.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.471, allocations: 1.156 kB / 0.5299 GB, free: 7.055 MB / 382.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.001969/0.4729, allocations: 0.7608 MB / 0.5307 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.473, allocations: 9.375 kB / 0.5307 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.4731, allocations: 30.69 kB / 0.5307 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.4733, allocations: 134.1 kB / 0.5308 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4733, allocations: 5.469 kB / 0.5308 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4733, allocations: 2.25 kB / 0.5308 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.4736, allocations: 118.6 kB / 0.5309 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4736, allocations: 0 / 0.5309 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4736, allocations: 3.875 kB / 0.5309 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4736, allocations: 2.547 kB / 0.5309 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.474, allocations: 141.5 kB / 0.5311 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.4744, allocations: 293.2 kB / 0.5314 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.4746, allocations: 107 kB / 0.5315 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.4748, allocations: 86.33 kB / 0.5315 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008408/0.4832, allocations: 2.197 MB / 0.5337 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4832, allocations: 33.19 kB / 0.5337 GB, free: 5.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.4832, allocations: 1.203 kB / 0.5337 GB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007694/0.484, allocations: 307 kB / 0.534 GB, free: 5.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.484, allocations: 52.84 kB / 0.5341 GB, free: 5.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.4841, allocations: 134.1 kB / 0.5342 GB, free: 5.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.4841, allocations: 26.7 kB / 0.5342 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.4842, allocations: 95.17 kB / 0.5343 GB, free: 5.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.4842, allocations: 40.2 kB / 0.5343 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.4842, allocations: 24.7 kB / 0.5344 GB, free: 5.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.4843, allocations: 324.7 kB / 0.5347 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.4845, allocations: 72.81 kB / 0.5348 GB, free: 4.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.4847, allocations: 79.44 kB / 0.5348 GB, free: 4.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.485, allocations: 171.8 kB / 0.535 GB, free: 4.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.485, allocations: 1.344 kB / 0.535 GB, free: 4.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004237/0.4855, allocations: 205.8 kB / 0.5352 GB, free: 4.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4855, allocations: 9.719 kB / 0.5352 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4855, allocations: 7.266 kB / 0.5352 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4855, allocations: 1.609 kB / 0.5352 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4856, allocations: 23.73 kB / 0.5352 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.4856, allocations: 0.6562 kB / 0.5352 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.4858, allocations: 20.88 kB / 0.5352 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4858, allocations: 2.062 kB / 0.5353 GB, free: 4.668 MB / 382.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 5.848e-05/0.4858, allocations: 114.2 kB / 0.5354 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.4859, allocations: 21.25 kB / 0.5354 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.4864, allocations: 229.7 kB / 0.5356 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4864, allocations: 1.062 kB / 0.5356 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4864, allocations: 0 / 0.5356 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4864, allocations: 1.953 kB / 0.5356 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.4866, allocations: 158.5 kB / 0.5358 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4866, allocations: 0 / 0.5358 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.4867, allocations: 23.75 kB / 0.5358 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4867, allocations: 4 kB / 0.5358 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4867, allocations: 8.688 kB / 0.5358 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4867, allocations: 1.219 kB / 0.5358 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4867, allocations: 0.6562 kB / 0.5358 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.4872, allocations: 303.2 kB / 0.5361 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.4872, allocations: 27.12 kB / 0.5361 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4872, allocations: 9.188 kB / 0.5361 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.4874, allocations: 16.8 kB / 0.5361 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.4874, allocations: 11.92 kB / 0.5361 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.4874, allocations: 1.312 kB / 0.5361 GB, free: 4.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.4875, allocations: 102.1 kB / 0.5362 GB, free: 4.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4875, allocations: 0 / 0.5362 GB, free: 4.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002437/0.4899, allocations: 0.7375 MB / 0.537 GB, free: 3.848 MB / 382.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.003303/0.4932, allocations: 1.251 MB / 0.5382 GB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004898/0.4937, allocations: 158.7 kB / 0.5383 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4937, allocations: 4 kB / 0.5383 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.4939, allocations: 90.84 kB / 0.5384 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4943, allocations: 38.44 kB / 0.5385 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.4948, allocations: 276.8 kB / 0.5387 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.4948, allocations: 89.06 kB / 0.5388 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.4949, allocations: 7.875 kB / 0.5388 GB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.4949, allocations: 13.75 kB / 0.5388 GB, free: 3.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4949, allocations: 3.938 kB / 0.5388 GB, free: 3.066 MB / 382.1 MB Notification: Performance of Templates: time 0.03359/0.5285, allocations: 24.13 MB / 0.5624 GB, free: 24 kB / 398.1 MB " [Timeout remaining time 659] 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.92704164236784] Failed to read output from testmodel.py, exit status != 0: 0.5378099419176579 0.550949003 0.076736911 Calling exit ...