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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 207.6 MB / 231.4 MB, free: 3.164 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05172/0.05172, allocations: 9.161 MB / 292.6 MB, free: 6.059 MB / 238.1 MB " [Timeout remaining time 180] 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=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: 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.002276/0.002276, allocations: 74.97 kB / 409.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3553, allocations: 50.71 MB / 459.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02551/0.3808, allocations: 17.52 MB / 477.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.3929, allocations: 10.12 MB / 487.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.3931, allocations: 4 kB / 487.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.3939, allocations: 299.6 kB / 487.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.3944, allocations: 147 kB / 487.9 MB, free: 11.11 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/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.01796/0.4124, allocations: 5.851 MB / 493.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.4126, allocations: 151.2 kB / 493.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.4127, allocations: 9.406 kB / 493.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.4129, allocations: 87.58 kB / 494 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.413, allocations: 51.78 kB / 494.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.413, allocations: 8 kB / 494.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01786/0.4309, allocations: 9.205 MB / 0.4915 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.431, allocations: 19.91 kB / 0.4915 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.4311, allocations: 47.73 kB / 0.4915 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.4425, allocations: 3.495 MB / 0.495 GB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4425, allocations: 0 / 0.495 GB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4425, allocations: 0 / 0.495 GB, free: 8.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.4425, allocations: 0 / 0.495 GB, free: 8.145 MB / 366.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.002695/0.4452, allocations: 0.8268 MB / 0.4958 GB, free: 7.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.4453, allocations: 12.03 kB / 0.4958 GB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.4453, allocations: 11.89 kB / 0.4958 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.4456, allocations: 186.8 kB / 0.496 GB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.4456, allocations: 4 kB / 0.496 GB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.4456, allocations: 4 kB / 0.496 GB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.446, allocations: 125.5 kB / 0.4961 GB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.446, allocations: 4 kB / 0.4961 GB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.446, allocations: 4 kB / 0.4961 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4461, allocations: 0 / 0.4961 GB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.4465, allocations: 135.9 kB / 0.4962 GB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.4472, allocations: 352.7 kB / 0.4966 GB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.4475, allocations: 106.5 kB / 0.4967 GB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.4477, allocations: 80.8 kB / 0.4967 GB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/0.4621, allocations: 8.386 MB / 0.5049 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.4622, allocations: 30.56 kB / 0.505 GB, free: 12.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.866e-06/0.4622, allocations: 3.938 kB / 0.505 GB, free: 12.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009191/0.4631, allocations: 285.4 kB / 0.5052 GB, free: 11.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.4631, allocations: 55.39 kB / 0.5053 GB, free: 11.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.4633, allocations: 137.4 kB / 0.5054 GB, free: 11.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4633, allocations: 29.7 kB / 0.5054 GB, free: 11.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.4634, allocations: 84.42 kB / 0.5055 GB, free: 11.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.4634, allocations: 51.56 kB / 0.5056 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.4635, allocations: 25.7 kB / 0.5056 GB, free: 11.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4637, allocations: 322.8 kB / 0.5059 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.4639, allocations: 71.94 kB / 0.506 GB, free: 11.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.4641, allocations: 79.94 kB / 0.5061 GB, free: 11.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.4645, allocations: 156.7 kB / 0.5062 GB, free: 10.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4645, allocations: 0 / 0.5062 GB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004853/0.4649, allocations: 210 kB / 0.5064 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.465, allocations: 4 kB / 0.5064 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.465, allocations: 0 / 0.5064 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.465, allocations: 4 kB / 0.5064 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4652, allocations: 19.97 kB / 0.5064 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4652, allocations: 4 kB / 0.5064 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.4653, allocations: 11.98 kB / 0.5064 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.4653, allocations: 11.98 kB / 0.5065 GB, free: 10.59 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 0.0001203/0.4654, allocations: 121.8 kB / 0.5066 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4655, allocations: 11.91 kB / 0.5066 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.466, allocations: 230.3 kB / 0.5068 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4661, allocations: 0 / 0.5068 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4661, allocations: 4 kB / 0.5068 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4661, allocations: 0 / 0.5068 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.4664, allocations: 217.5 kB / 0.507 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4664, allocations: 3.938 kB / 0.507 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.4665, allocations: 23.97 kB / 0.507 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4665, allocations: 0 / 0.507 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4665, allocations: 0 / 0.507 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4665, allocations: 3.938 kB / 0.507 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4665, allocations: 7.984 kB / 0.5071 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.467, allocations: 311.2 kB / 0.5074 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.4671, allocations: 93.05 kB / 0.5074 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.4671, allocations: 0 / 0.5074 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4673, allocations: 15.98 kB / 0.5075 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.4673, allocations: 15.97 kB / 0.5075 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.4674, allocations: 7.938 kB / 0.5075 GB, free: 9.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.493e-05/0.4674, allocations: 103.2 kB / 0.5076 GB, free: 9.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4674, allocations: 0 / 0.5076 GB, free: 9.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002528/0.47, allocations: 0.7396 MB / 0.5083 GB, free: 8.602 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.003531/0.4735, allocations: 1.231 MB / 0.5095 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005586/0.4741, allocations: 159.9 kB / 0.5097 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4741, allocations: 4 kB / 0.5097 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.4743, allocations: 83.88 kB / 0.5097 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.4747, allocations: 59.89 kB / 0.5098 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.4754, allocations: 267.2 kB / 0.51 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.4757, allocations: 0.6924 MB / 0.5107 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.4758, allocations: 8 kB / 0.5107 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.4758, allocations: 19.42 kB / 0.5108 GB, free: 6.039 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4758, allocations: 0 / 0.5108 GB, free: 6.039 MB / 382.1 MB Notification: Performance of Templates: time 0.03667/0.5125, allocations: 23.87 MB / 0.5341 GB, free: 14.15 MB / 414.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: 7.011819978244603]