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.0009849/0.0009849, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.001608/0.001608, allocations: 165.4 kB / 23.27 MB, free: 1.219 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.9343/0.9343, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.02958/0.02958, allocations: 7.519 MB / 267.8 MB, free: 5.848 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.703e-06/1.703e-06, allocations: 0 / 339.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.336e-05, allocations: 2.312 kB / 339.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01123/0.01124, allocations: 17.25 MB / 356.3 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.01796, allocations: 9.928 MB / 366.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.01802, allocations: 0 / 366.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.01846, allocations: 251.6 kB / 366.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.01867, allocations: 131.6 kB / 366.6 MB, free: 15.07 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.007887/0.02656, allocations: 5.889 MB / 372.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.02671, allocations: 159.1 kB / 372.7 MB, free: 9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.02675, allocations: 9.578 kB / 372.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.02696, allocations: 119.5 kB / 372.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.02701, allocations: 39.91 kB / 372.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.02703, allocations: 8 kB / 372.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/0.03379, allocations: 6.525 MB / 379.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.03382, allocations: 23.91 kB / 379.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.03386, allocations: 27.94 kB / 379.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.03822, allocations: 3.335 MB / 382.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03822, allocations: 0 / 382.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.03822, allocations: 0 / 382.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.03823, allocations: 0 / 382.8 MB, free: 14.89 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.0008185/0.03904, allocations: 0.8549 MB / 383.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.03908, allocations: 8.625 kB / 383.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.171e-05/0.03917, allocations: 19.94 kB / 383.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.03929, allocations: 139.8 kB / 383.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.0393, allocations: 7.984 kB / 383.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.03931, allocations: 3.938 kB / 383.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.03943, allocations: 82.36 kB / 383.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.03943, allocations: 0 / 383.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-06/0.03944, allocations: 0 / 383.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.03945, allocations: 3.938 kB / 383.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.03949, allocations: 27.98 kB / 383.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.03975, allocations: 300.2 kB / 384.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.03982, allocations: 47.05 kB / 384.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.03985, allocations: 27.75 kB / 384.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003524/0.04337, allocations: 1.911 MB / 386.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.04339, allocations: 45.33 kB / 386.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.04339, allocations: 0 / 386.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001947/0.04359, allocations: 125.5 kB / 386.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.04361, allocations: 51.41 kB / 386.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.04369, allocations: 188.6 kB / 386.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.0437, allocations: 25.7 kB / 386.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.04375, allocations: 143.1 kB / 386.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.04378, allocations: 43.62 kB / 386.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.04381, allocations: 27.38 kB / 386.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003995/0.04421, allocations: 0.4923 MB / 387.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.04424, allocations: 16 kB / 387.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.04426, allocations: 23.05 kB / 387.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.04431, allocations: 51.62 kB / 387.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.04432, allocations: 0 / 387.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.598e-05/0.04441, allocations: 85.64 kB / 387.5 MB, free: 9.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.04442, allocations: 11.92 kB / 387.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.04443, allocations: 0 / 387.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.04444, allocations: 0 / 387.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.04452, allocations: 19.98 kB / 387.5 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.04452, allocations: 0 / 387.5 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.04456, allocations: 15.94 kB / 387.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.04457, allocations: 3.938 kB / 387.5 MB, free: 9.938 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 7.821e-05/0.04465, allocations: 164.5 kB / 387.7 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.04467, allocations: 15.91 kB / 387.7 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.04484, allocations: 110.3 kB / 387.8 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.04484, allocations: 4 kB / 387.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.04485, allocations: 4 kB / 387.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.04485, allocations: 0 / 387.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.04498, allocations: 133.1 kB / 388 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.04498, allocations: 0 / 388 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.04503, allocations: 23.92 kB / 388 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.04503, allocations: 0 / 388 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.04503, allocations: 7.984 kB / 388 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.04503, allocations: 0 / 388 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.04504, allocations: 3.938 kB / 388 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.04518, allocations: 239.1 kB / 388.2 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.04521, allocations: 23.92 kB / 388.2 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.04522, allocations: 0 / 388.2 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.04527, allocations: 7.984 kB / 388.3 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.04531, allocations: 15.92 kB / 388.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.04531, allocations: 4 kB / 388.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.04536, allocations: 143.1 kB / 388.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04536, allocations: 3.938 kB / 388.4 MB, free: 8.984 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008928/0.04625, allocations: 0.7435 MB / 389.2 MB, free: 8.238 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.002035/0.04828, allocations: 1.358 MB / 390.5 MB, free: 6.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.0484, allocations: 59.58 kB / 390.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.0484, allocations: 0 / 390.6 MB, free: 6.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.04844, allocations: 37.55 kB / 390.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.04871, allocations: 50.7 kB / 390.7 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.04936, allocations: 253.8 kB / 390.9 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.04939, allocations: 67.34 kB / 391 MB, free: 6.367 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.04943, allocations: 15.69 kB / 391 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.04953, allocations: 110.1 kB / 391.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.04954, allocations: 0 / 391.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of Templates: time 0.1226/0.1722, allocations: 28.52 MB / 419.6 MB, free: 78.42 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: 4.047125657089055]