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.001938/0.001938, allocations: 92.7 kB / 19.44 MB, free: 316 kB / 13.93 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.002509/0.002509, allocations: 161.3 kB / 22.76 MB, free: 1.648 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 1.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.05468/0.05468, allocations: 7.52 MB / 267.1 MB, free: 6.012 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 2.815e-06/2.815e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.599e-05, allocations: 6.312 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02155/0.02159, allocations: 15.84 MB / 353.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.03718, allocations: 8.947 MB / 362.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.03736, allocations: 0 / 362.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009576/0.03832, allocations: 247.6 kB / 362.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.0389, allocations: 139.5 kB / 363.1 MB, free: 2.086 MB / 282.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.02076/0.05966, allocations: 5.893 MB / 369 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.06002, allocations: 163.1 kB / 369.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.06008, allocations: 5.594 kB / 369.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.06054, allocations: 123.5 kB / 369.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.06066, allocations: 39.91 kB / 369.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.06068, allocations: 4 kB / 369.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/0.07671, allocations: 6.513 MB / 375.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.07675, allocations: 11.92 kB / 375.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.07687, allocations: 35.91 kB / 375.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.08764, allocations: 3.343 MB / 379.2 MB, free: 1.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.08764, allocations: 0 / 379.2 MB, free: 1.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08765, allocations: 3.938 kB / 379.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.08765, allocations: 0 / 379.2 MB, free: 1.906 MB / 298.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.002387/0.09004, allocations: 0.7632 MB / 380 MB, free: 1.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.09009, allocations: 8.625 kB / 380 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.09031, allocations: 23.94 kB / 380 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.09066, allocations: 133.1 kB / 380.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.09067, allocations: 0 / 380.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.09069, allocations: 4 kB / 380.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.09109, allocations: 113.6 kB / 380.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.0911, allocations: 0 / 380.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.09112, allocations: 12 kB / 380.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.09113, allocations: 7.875 kB / 380.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.09159, allocations: 139.9 kB / 380.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.09221, allocations: 292.4 kB / 380.7 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.09252, allocations: 102.5 kB / 380.8 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.09278, allocations: 92.73 kB / 380.9 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.1037, allocations: 2.214 MB / 383.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.293e-05/0.1038, allocations: 42.5 kB / 383.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.386e-06/0.1038, allocations: 0 / 383.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009742/0.1047, allocations: 293.4 kB / 383.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1048, allocations: 55.41 kB / 383.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.105, allocations: 136.5 kB / 383.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.105, allocations: 33.7 kB / 383.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.1051, allocations: 84.42 kB / 383.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.1051, allocations: 51.58 kB / 383.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.1052, allocations: 21.7 kB / 383.8 MB, free: 13.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1054, allocations: 322.8 kB / 384.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.1056, allocations: 71.95 kB / 384.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1059, allocations: 79.94 kB / 384.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1063, allocations: 164.2 kB / 384.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1063, allocations: 0 / 384.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005962/0.1069, allocations: 217.4 kB / 384.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1069, allocations: 8 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1069, allocations: 3.938 kB / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.107, allocations: 0 / 384.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.1071, allocations: 23.97 kB / 384.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1072, allocations: 0 / 384.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1073, allocations: 23.91 kB / 384.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1073, allocations: 0 / 384.7 MB, free: 12.24 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 0.0001268/0.1074, allocations: 117.8 kB / 384.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.1075, allocations: 19.84 kB / 384.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.1082, allocations: 234.2 kB / 385 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.1082, allocations: 0 / 385 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1082, allocations: 0 / 385 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1082, allocations: 4 kB / 385 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1085, allocations: 157.2 kB / 385.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1085, allocations: 0 / 385.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.1086, allocations: 23.92 kB / 385.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1086, allocations: 0 / 385.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1087, allocations: 11.91 kB / 385.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1087, allocations: 0 / 385.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1087, allocations: 4.312 kB / 385.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.1093, allocations: 307.3 kB / 385.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.1094, allocations: 23.83 kB / 385.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1094, allocations: 7.938 kB / 385.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1096, allocations: 15.98 kB / 385.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.1096, allocations: 3.984 kB / 385.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.1096, allocations: 11.98 kB / 385.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.1098, allocations: 102.2 kB / 385.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1098, allocations: 0 / 385.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002356/0.1121, allocations: 0.7358 MB / 386.4 MB, free: 10.41 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.004927/0.117, allocations: 1.326 MB / 387.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007035/0.1177, allocations: 175.8 kB / 387.9 MB, free: 8.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1177, allocations: 3.938 kB / 387.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.118, allocations: 83.94 kB / 388 MB, free: 8.828 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.1186, allocations: 43.95 kB / 388.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.1193, allocations: 252.2 kB / 388.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.1194, allocations: 80.98 kB / 388.4 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.403e-05/0.1195, allocations: 19.67 kB / 388.4 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.1195, allocations: 16.5 kB / 388.4 MB, free: 8.383 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1196, allocations: 0 / 388.4 MB, free: 8.383 MB / 314.7 MB Notification: Performance of Templates: time 0.04859/0.1681, allocations: 24.14 MB / 412.6 MB, free: 296 kB / 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.501406315015629]