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.001313/0.001313, allocations: 93.06 kB / 19.65 MB, free: 276 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.001035/0.001035, allocations: 169 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 1.078/1.078, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.03171/0.03171, allocations: 7.522 MB / 267.5 MB, free: 6.008 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.645e-06/2.645e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/3.029e-05, allocations: 2.312 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01568/0.01571, allocations: 17.51 MB / 356.1 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008499/0.02421, allocations: 10.14 MB / 366.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.02443, allocations: 0 / 366.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007468/0.02517, allocations: 247.7 kB / 366.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.02549, allocations: 135.5 kB / 366.6 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.01166/0.03715, allocations: 5.889 MB / 372.5 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.03736, allocations: 167.1 kB / 372.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.03741, allocations: 9.594 kB / 372.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.03769, allocations: 123.5 kB / 372.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.03776, allocations: 35.91 kB / 372.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.03777, allocations: 4 kB / 372.9 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009978/0.04775, allocations: 6.509 MB / 379.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.0478, allocations: 15.92 kB / 379.4 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.0479, allocations: 39.91 kB / 379.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007554/0.05546, allocations: 3.331 MB / 382.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.05546, allocations: 0 / 382.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.05546, allocations: 4 kB / 382.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.05547, allocations: 0 / 382.8 MB, free: 14.72 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.001438/0.05691, allocations: 0.8432 MB / 383.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.05695, allocations: 12.62 kB / 383.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.05707, allocations: 19.94 kB / 383.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.05722, allocations: 134.8 kB / 383.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.05723, allocations: 7.984 kB / 383.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.05724, allocations: 3.938 kB / 383.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.05742, allocations: 86.36 kB / 383.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.05743, allocations: 7.938 kB / 383.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.05744, allocations: 4 kB / 383.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.05745, allocations: 7.922 kB / 383.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.508e-05/0.05751, allocations: 35.73 kB / 383.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.05785, allocations: 311.7 kB / 384.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/0.05794, allocations: 54.98 kB / 384.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.05799, allocations: 35.69 kB / 384.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004525/0.06251, allocations: 2.136 MB / 386.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.06254, allocations: 41.33 kB / 386.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/0.06255, allocations: 0 / 386.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002656/0.06281, allocations: 129.5 kB / 386.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.06284, allocations: 59.39 kB / 386.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.06293, allocations: 189.9 kB / 386.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.06294, allocations: 25.7 kB / 386.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.06299, allocations: 135.2 kB / 387 MB, free: 10.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.06302, allocations: 43.64 kB / 387.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.06306, allocations: 31.36 kB / 387.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.06317, allocations: 0.4962 MB / 387.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.06321, allocations: 16 kB / 387.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.06324, allocations: 23.98 kB / 387.6 MB, free: 9.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/0.06331, allocations: 55.62 kB / 387.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.06331, allocations: 0 / 387.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001187/0.06343, allocations: 101.5 kB / 387.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.06345, allocations: 8 kB / 387.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.06345, allocations: 0 / 387.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.06347, allocations: 0 / 387.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.06356, allocations: 15.98 kB / 387.8 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.06356, allocations: 4 kB / 387.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.0636, allocations: 15.92 kB / 387.8 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.06361, allocations: 0 / 387.8 MB, free: 9.449 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.882e-05/0.06368, allocations: 156.6 kB / 388 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.06371, allocations: 19.84 kB / 388 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.0639, allocations: 137.6 kB / 388.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.0639, allocations: 0 / 388.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.06391, allocations: 0 / 388.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.06391, allocations: 0 / 388.1 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.06404, allocations: 156.5 kB / 388.3 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.06404, allocations: 0 / 388.3 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.06409, allocations: 23.98 kB / 388.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.06409, allocations: 4 kB / 388.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.0641, allocations: 3.938 kB / 388.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.0641, allocations: 0 / 388.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.0641, allocations: 0 / 388.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.06426, allocations: 251.8 kB / 388.6 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.06429, allocations: 15.95 kB / 388.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.06431, allocations: 7.922 kB / 388.6 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.868e-05/0.06436, allocations: 8 kB / 388.6 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.0644, allocations: 11.98 kB / 388.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.06441, allocations: 0 / 388.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.06446, allocations: 153.9 kB / 388.8 MB, free: 8.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06446, allocations: 0 / 388.8 MB, free: 8.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001515/0.06598, allocations: 0.7396 MB / 389.5 MB, free: 7.703 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.002518/0.0685, allocations: 1.324 MB / 390.8 MB, free: 6.375 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.06868, allocations: 66.41 kB / 390.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.06868, allocations: 0 / 390.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.06873, allocations: 47.61 kB / 390.9 MB, free: 6.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.06902, allocations: 42.77 kB / 391 MB, free: 6.219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.06986, allocations: 257.9 kB / 391.2 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.589e-05/0.06991, allocations: 63.34 kB / 391.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.039e-05/0.06996, allocations: 19.66 kB / 391.3 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.07, allocations: 12.5 kB / 391.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.07, allocations: 0 / 391.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of Templates: time 0.1305/0.2005, allocations: 24.26 MB / 415.6 MB, free: 79.83 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.211017398163676]