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.001395/0.001395, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009805/0.0009805, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9771/0.9771, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.03418/0.03418, allocations: 7.512 MB / 267.5 MB, free: 6 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.814e-06/1.814e-06, allocations: 0 / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.126e-05, allocations: 2.312 kB / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01326/0.01328, allocations: 17.52 MB / 356.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007237/0.02052, allocations: 10.13 MB / 366.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.02061, allocations: 0 / 366.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.02123, allocations: 239.7 kB / 366.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.02151, allocations: 135.5 kB / 366.7 MB, free: 14.89 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.01039/0.03189, allocations: 5.897 MB / 372.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.03208, allocations: 163.1 kB / 372.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.03213, allocations: 5.594 kB / 372.7 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.03235, allocations: 123.5 kB / 372.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.03241, allocations: 39.91 kB / 372.9 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.03242, allocations: 4 kB / 372.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007257/0.03968, allocations: 6.521 MB / 379.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.03971, allocations: 15.91 kB / 379.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.03977, allocations: 35.92 kB / 379.4 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00477/0.04454, allocations: 3.339 MB / 382.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.04454, allocations: 0 / 382.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.04454, allocations: 0 / 382.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.04455, allocations: 0 / 382.8 MB, free: 14.7 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.001237/0.04578, allocations: 0.8354 MB / 383.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.04583, allocations: 20.61 kB / 383.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.04598, allocations: 19.95 kB / 383.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.04614, allocations: 138.5 kB / 383.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.04615, allocations: 0 / 383.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.04616, allocations: 7.938 kB / 383.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.04633, allocations: 86.34 kB / 383.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.04634, allocations: 3.938 kB / 383.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.04635, allocations: 4 kB / 383.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.04636, allocations: 7.938 kB / 383.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.314e-05/0.04643, allocations: 31.98 kB / 383.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.04677, allocations: 311.7 kB / 384.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.04686, allocations: 58.98 kB / 384.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.04691, allocations: 31.69 kB / 384.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004071/0.05098, allocations: 2.132 MB / 386.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.051, allocations: 41.33 kB / 386.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.051, allocations: 0 / 386.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002468/0.05125, allocations: 144.3 kB / 386.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.05128, allocations: 51.41 kB / 386.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.05137, allocations: 189.9 kB / 386.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.05138, allocations: 29.7 kB / 386.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.05143, allocations: 139.1 kB / 387 MB, free: 10.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.05146, allocations: 39.64 kB / 387.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.0515, allocations: 35.36 kB / 387.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.05161, allocations: 0.4923 MB / 387.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.05164, allocations: 12 kB / 387.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.05167, allocations: 23.98 kB / 387.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.05174, allocations: 59.64 kB / 387.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.05174, allocations: 0 / 387.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001066/0.05185, allocations: 104.3 kB / 387.8 MB, free: 9.469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.05186, allocations: 4 kB / 387.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.05187, allocations: 3.984 kB / 387.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.05189, allocations: 4 kB / 387.8 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.601e-05/0.05196, allocations: 15.98 kB / 387.8 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.05197, allocations: 0 / 387.8 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.052, allocations: 7.938 kB / 387.8 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.05201, allocations: 4 kB / 387.8 MB, free: 9.43 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.097e-05/0.05208, allocations: 160.6 kB / 388 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.05211, allocations: 23.83 kB / 388 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.05227, allocations: 126.2 kB / 388.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.05227, allocations: 0 / 388.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.05228, allocations: 0 / 388.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.05228, allocations: 0 / 388.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.0524, allocations: 160.5 kB / 388.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.0524, allocations: 0 / 388.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.05245, allocations: 19.98 kB / 388.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.05245, allocations: 4 kB / 388.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.05246, allocations: 11.94 kB / 388.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.05246, allocations: 0 / 388.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.05246, allocations: 0 / 388.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.05261, allocations: 251.8 kB / 388.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.05264, allocations: 15.94 kB / 388.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.05266, allocations: 7.938 kB / 388.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.0527, allocations: 4 kB / 388.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.05275, allocations: 15.97 kB / 388.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.05276, allocations: 0 / 388.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.05281, allocations: 142.1 kB / 388.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05281, allocations: 8 kB / 388.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00116/0.05397, allocations: 0.7396 MB / 389.5 MB, free: 7.68 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.002236/0.0562, allocations: 1.326 MB / 390.8 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.05637, allocations: 63.66 kB / 390.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.05637, allocations: 4 kB / 390.9 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.05642, allocations: 47.61 kB / 390.9 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.05669, allocations: 35.95 kB / 391 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.05744, allocations: 265.8 kB / 391.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.05748, allocations: 67.34 kB / 391.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.783e-05/0.05751, allocations: 11.73 kB / 391.3 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.05754, allocations: 16.5 kB / 391.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05754, allocations: 0 / 391.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of Templates: time 0.1347/0.1923, allocations: 29.44 MB / 420.8 MB, free: 77.76 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.210885040927678]