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.0008837/0.0008837, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008873/0.0008873, allocations: 173.3 kB / 23.5 MB, free: 1.055 MB / 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 0.9117/0.9117, allocations: 177.1 MB / 203.8 MB, free: 5.195 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.02995/0.02995, allocations: 7.528 MB / 267.8 MB, free: 5.918 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.603e-06/1.603e-06, allocations: 0 / 338.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.577e-05, allocations: 2.312 kB / 338.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01166/0.01167, allocations: 17.5 MB / 356.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006968/0.01864, allocations: 10.13 MB / 366.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.01871, allocations: 4 kB / 366.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.01916, allocations: 243.7 kB / 366.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.01937, allocations: 135.5 kB / 366.6 MB, free: 15.22 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.007453/0.02682, allocations: 5.889 MB / 372.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.02698, allocations: 155.1 kB / 372.7 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.02702, allocations: 13.56 kB / 372.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.02724, allocations: 115.5 kB / 372.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.0273, allocations: 39.91 kB / 372.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.02731, allocations: 4 kB / 372.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005852/0.03316, allocations: 6.517 MB / 379.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.03318, allocations: 19.92 kB / 379.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.03323, allocations: 27.94 kB / 379.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.03639, allocations: 3.339 MB / 382.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.0364, allocations: 0 / 382.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0364, allocations: 0 / 382.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.0364, allocations: 0 / 382.8 MB, free: 15.05 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.0008811/0.03728, allocations: 0.8393 MB / 383.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.03732, allocations: 12.62 kB / 383.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.03743, allocations: 19.94 kB / 383.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.03757, allocations: 135.9 kB / 383.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.03758, allocations: 8 kB / 383.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.03759, allocations: 4 kB / 383.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.03774, allocations: 86.3 kB / 383.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.03775, allocations: 3.938 kB / 383.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.03776, allocations: 4 kB / 383.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.03777, allocations: 3.938 kB / 383.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.03783, allocations: 35.98 kB / 383.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.03815, allocations: 315.7 kB / 384.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.03823, allocations: 55 kB / 384.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.03828, allocations: 35.75 kB / 384.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004107/0.04239, allocations: 2.128 MB / 386.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.04241, allocations: 41.33 kB / 386.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.04241, allocations: 0 / 386.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002316/0.04264, allocations: 133.1 kB / 386.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.04267, allocations: 59.39 kB / 386.7 MB, free: 11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.04276, allocations: 196.1 kB / 386.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.04277, allocations: 25.7 kB / 386.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.04282, allocations: 143.2 kB / 387 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.04285, allocations: 39.64 kB / 387.1 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.04289, allocations: 31.36 kB / 387.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.043, allocations: 0.4884 MB / 387.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.04303, allocations: 23.98 kB / 387.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.04306, allocations: 16 kB / 387.6 MB, free: 10 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.91e-05/0.04313, allocations: 59.62 kB / 387.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.04313, allocations: 0 / 387.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001071/0.04324, allocations: 97.52 kB / 387.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.04325, allocations: 10.03 kB / 387.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.04326, allocations: 0 / 387.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.04327, allocations: 4 kB / 387.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.04334, allocations: 15.98 kB / 387.8 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.04335, allocations: 0 / 387.8 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.04339, allocations: 19.92 kB / 387.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.04339, allocations: 0 / 387.8 MB, free: 9.789 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 6.648e-05/0.04346, allocations: 152.6 kB / 388 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.04348, allocations: 27.84 kB / 388 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.04365, allocations: 130.2 kB / 388.1 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.04365, allocations: 7.984 kB / 388.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.04366, allocations: 0 / 388.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.04366, allocations: 0 / 388.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.04377, allocations: 156.5 kB / 388.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.04378, allocations: 3.984 kB / 388.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.04382, allocations: 12 kB / 388.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.04382, allocations: 7.984 kB / 388.3 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.04383, allocations: 3.938 kB / 388.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.04383, allocations: 0 / 388.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.04383, allocations: 0 / 388.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.04398, allocations: 251.3 kB / 388.6 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.04401, allocations: 23.94 kB / 388.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.04403, allocations: 7.938 kB / 388.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.04407, allocations: 7.984 kB / 388.6 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.04412, allocations: 11.98 kB / 388.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.04412, allocations: 0 / 388.6 MB, free: 8.926 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.898e-05/0.04417, allocations: 150.4 kB / 388.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04417, allocations: 0 / 388.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009561/0.04513, allocations: 0.7396 MB / 389.5 MB, free: 8.039 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.001988/0.04712, allocations: 1.323 MB / 390.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.04725, allocations: 62.67 kB / 390.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.04726, allocations: 0 / 390.9 MB, free: 6.648 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.0473, allocations: 44.16 kB / 390.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.04757, allocations: 52.09 kB / 391 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.04832, allocations: 261.9 kB / 391.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.04836, allocations: 63.34 kB / 391.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.694e-05/0.04839, allocations: 11.69 kB / 391.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.04843, allocations: 24.48 kB / 391.3 MB, free: 6.152 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.04843, allocations: 4 kB / 391.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of Templates: time 0.1226/0.1711, allocations: 24.25 MB / 415.6 MB, free: 84.41 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: 3.6444046520628035]