Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_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.001492/0.001492, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001786/0.001786, allocations: 164.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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.364/1.364, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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.04781/0.04781, allocations: 7.527 MB / 266.7 MB, free: 9.637 MB / 254.1 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.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 392.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.753e-05, allocations: 2.281 kB / 392.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02027/0.02029, allocations: 15.73 MB / 408 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.03422, allocations: 12.58 MB / 420.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.03431, allocations: 0 / 420.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009385/0.03525, allocations: 339.7 kB / 420.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.03853, allocations: 1.597 MB / 422.5 MB, free: 12.03 MB / 350.1 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.Parameter.State_pT_parameter_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.04984, allocations: 5.115 MB / 427.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.05006, allocations: 163 kB / 427.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.05011, allocations: 5.312 kB / 427.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.05026, allocations: 95.66 kB / 427.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.05033, allocations: 31.92 kB / 427.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.05035, allocations: 0 / 427.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.06227, allocations: 7.117 MB / 435 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.06229, allocations: 7.922 kB / 435 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.06237, allocations: 39.92 kB / 435 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006541/0.06891, allocations: 3.639 MB / 438.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.06891, allocations: 0 / 438.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.06892, allocations: 0 / 438.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.06893, allocations: 0 / 438.7 MB, free: 11.77 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001432/0.07036, allocations: 0.7863 MB / 439.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.07039, allocations: 8.625 kB / 439.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.07052, allocations: 19.91 kB / 439.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.07065, allocations: 121.1 kB / 439.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.07066, allocations: 4 kB / 439.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.07068, allocations: 8 kB / 439.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.07099, allocations: 226.6 kB / 439.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.071, allocations: 0 / 439.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.07101, allocations: 4 kB / 439.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.07102, allocations: 7.922 kB / 439.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.07151, allocations: 440 kB / 440.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.0718, allocations: 247 kB / 440.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.07203, allocations: 194.8 kB / 440.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.07222, allocations: 185.1 kB / 440.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/0.08474, allocations: 2.788 MB / 443.7 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.08477, allocations: 34.56 kB / 443.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.552e-06/0.08477, allocations: 0 / 443.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008002/0.08557, allocations: 0.6232 MB / 444.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.08561, allocations: 55.34 kB / 444.4 MB, free: 5.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.08569, allocations: 97.86 kB / 444.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.08571, allocations: 25.7 kB / 444.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.08576, allocations: 84.78 kB / 444.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.08587, allocations: 138.8 kB / 444.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.08593, allocations: 33.7 kB / 444.8 MB, free: 5.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.08608, allocations: 326.8 kB / 445.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.08626, allocations: 167.9 kB / 445.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.08645, allocations: 175.9 kB / 445.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.08687, allocations: 400.6 kB / 445.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.08687, allocations: 0 / 445.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005055/0.08738, allocations: 435.9 kB / 446.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.08739, allocations: 8 kB / 446.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.08739, allocations: 0 / 446.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.08741, allocations: 0 / 446.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.08751, allocations: 19.98 kB / 446.3 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.08751, allocations: 3.938 kB / 446.3 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.08757, allocations: 15.84 kB / 446.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.08758, allocations: 4 kB / 446.3 MB, free: 3.98 MB / 366.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001128/0.0877, allocations: 125.8 kB / 446.4 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.08772, allocations: 11.91 kB / 446.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/0.08845, allocations: 0.6351 MB / 447 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.08845, allocations: 0 / 447 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.08845, allocations: 3.938 kB / 447 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.08846, allocations: 0 / 447 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009747/0.08943, allocations: 0.881 MB / 447.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.08943, allocations: 4 kB / 447.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/0.08951, allocations: 19.94 kB / 448 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.08951, allocations: 4 kB / 448 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.08953, allocations: 7.984 kB / 448 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.08953, allocations: 4 kB / 448 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.08953, allocations: 7.938 kB / 448 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.08986, allocations: 265.5 kB / 448.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.08988, allocations: 12.11 kB / 448.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.08991, allocations: 15.89 kB / 448.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.08999, allocations: 8 kB / 448.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.09002, allocations: 15.86 kB / 448.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.09003, allocations: 11.98 kB / 448.3 MB, free: 1.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.09021, allocations: 179.7 kB / 448.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09021, allocations: 0 / 448.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001744/0.09196, allocations: 0.8097 MB / 449.3 MB, free: 0.7461 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.1305/0.2224, allocations: 1.471 MB / 450.8 MB, free: 67.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.2228, allocations: 262.6 kB / 451 MB, free: 67.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2228, allocations: 0 / 451 MB, free: 67.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.2229, allocations: 86.14 kB / 451.1 MB, free: 67.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.2235, allocations: 81.03 kB / 451.2 MB, free: 67.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.2239, allocations: 368.9 kB / 451.5 MB, free: 67.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.633e-05/0.224, allocations: 91.33 kB / 451.6 MB, free: 67.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.224, allocations: 21.38 kB / 451.6 MB, free: 67.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.2241, allocations: 23.81 kB / 451.7 MB, free: 67.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2241, allocations: 0 / 451.7 MB, free: 67.32 MB / 366.1 MB Notification: Performance of Templates: time 0.03019/0.2543, allocations: 27.29 MB / 479 MB, free: 48.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.351258605718613] Failed to read output from testmodel.py, exit status != 0: 0.2620432563126087 0.270049727 0.19894604100000002 Calling exit ...