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.001438/0.001438, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001581/0.001581, allocations: 159.2 kB / 23.01 MB, free: 4.941 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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.05042/0.05042, allocations: 7.532 MB / 267.3 MB, free: 9.582 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 0.002108/0.002108, allocations: 67.91 kB / 392.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1038, allocations: 54.91 MB / 447.7 MB, free: 4.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02082/0.1247, allocations: 15.73 MB / 463.4 MB, free: 4.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.1396, allocations: 12.58 MB / 476 MB, free: 8.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1397, allocations: 0 / 476 MB, free: 8.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1408, allocations: 335.8 kB / 476.3 MB, free: 7.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.1442, allocations: 1.593 MB / 477.9 MB, free: 6.25 MB / 446.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.01264/0.1569, allocations: 5.032 MB / 482.9 MB, free: 1.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.1571, allocations: 143.1 kB / 483.1 MB, free: 1.055 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.1572, allocations: 9.312 kB / 483.1 MB, free: 1.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1573, allocations: 75.53 kB / 483.2 MB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.1574, allocations: 43.78 kB / 483.2 MB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1574, allocations: 8 kB / 483.2 MB, free: 0.9219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1915/0.3489, allocations: 7.051 MB / 490.3 MB, free: 48.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.3489, allocations: 10.86 kB / 490.3 MB, free: 48.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.349, allocations: 50.41 kB / 490.3 MB, free: 48.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.3553, allocations: 3.146 MB / 493.5 MB, free: 48.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3553, allocations: 3.094 kB / 493.5 MB, free: 48.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3553, allocations: 3.594 kB / 493.5 MB, free: 48.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3553, allocations: 0 / 493.5 MB, free: 48.63 MB / 446.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.001223/0.3565, allocations: 0.7841 MB / 494.3 MB, free: 48.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3565, allocations: 10.31 kB / 494.3 MB, free: 48.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.3566, allocations: 19.98 kB / 494.3 MB, free: 48.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.76e-05/0.3567, allocations: 119.2 kB / 494.4 MB, free: 47.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3567, allocations: 7 kB / 494.4 MB, free: 47.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3568, allocations: 3.281 kB / 494.4 MB, free: 47.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.357, allocations: 235 kB / 494.6 MB, free: 47.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.357, allocations: 2.562 kB / 494.6 MB, free: 47.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.357, allocations: 3.562 kB / 494.6 MB, free: 47.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.357, allocations: 7.328 kB / 494.7 MB, free: 47.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.3573, allocations: 435.7 kB / 495.1 MB, free: 47.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.3575, allocations: 246.3 kB / 495.3 MB, free: 47.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.3577, allocations: 192.4 kB / 495.5 MB, free: 47.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3578, allocations: 185.7 kB / 495.7 MB, free: 47.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.3685, allocations: 2.807 MB / 498.5 MB, free: 47.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.3686, allocations: 34.31 kB / 498.5 MB, free: 47.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.3686, allocations: 0 / 498.5 MB, free: 47.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005852/0.3691, allocations: 0.6085 MB / 499.1 MB, free: 47.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3692, allocations: 54.25 kB / 499.2 MB, free: 47.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.172e-05/0.3692, allocations: 96.83 kB / 499.3 MB, free: 47.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.3692, allocations: 27.34 kB / 499.3 MB, free: 47.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.434e-05/0.3692, allocations: 88.2 kB / 499.4 MB, free: 47.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.3693, allocations: 137.6 kB / 499.5 MB, free: 47.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.3693, allocations: 36.84 kB / 499.6 MB, free: 47.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.3694, allocations: 327.6 kB / 499.9 MB, free: 46.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3695, allocations: 179 kB / 0.4883 GB, free: 46.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3696, allocations: 170.2 kB / 0.4885 GB, free: 46.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.3699, allocations: 388.9 kB / 0.4889 GB, free: 46.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3699, allocations: 0 / 0.4889 GB, free: 46.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003554/0.3703, allocations: 437.8 kB / 0.4893 GB, free: 46.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3703, allocations: 3.5 kB / 0.4893 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3703, allocations: 3.984 kB / 0.4893 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3703, allocations: 9.906 kB / 0.4893 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.3704, allocations: 17.8 kB / 0.4893 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3704, allocations: 0 / 0.4893 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.3705, allocations: 10.92 kB / 0.4893 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3705, allocations: 6.188 kB / 0.4893 GB, free: 46.82 MB / 446.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 6.306e-05/0.3705, allocations: 123.3 kB / 0.4895 GB, free: 46.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.3706, allocations: 17.88 kB / 0.4895 GB, free: 46.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.371, allocations: 0.6427 MB / 0.4901 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.371, allocations: 0 / 0.4901 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.371, allocations: 6.5 kB / 0.4901 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.371, allocations: 0 / 0.4901 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/0.3717, allocations: 0.8602 MB / 0.4909 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3717, allocations: 3 kB / 0.491 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.3717, allocations: 22.5 kB / 0.491 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3717, allocations: 8.578 kB / 0.491 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3718, allocations: 10.62 kB / 0.491 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3718, allocations: 6.938 kB / 0.491 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3718, allocations: 9.312 kB / 0.491 GB, free: 45.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.372, allocations: 267.8 kB / 0.4913 GB, free: 45.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.372, allocations: 6.75 kB / 0.4913 GB, free: 45.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.372, allocations: 23.8 kB / 0.4913 GB, free: 45.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.3721, allocations: 8.125 kB / 0.4913 GB, free: 45.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.3721, allocations: 13.3 kB / 0.4913 GB, free: 45.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3721, allocations: 6.438 kB / 0.4913 GB, free: 45.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3722, allocations: 179.7 kB / 0.4915 GB, free: 45.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3722, allocations: 0 / 0.4915 GB, free: 45.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001808/0.3741, allocations: 0.8109 MB / 0.4923 GB, free: 45.56 MB / 446.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.002929/0.377, allocations: 1.379 MB / 0.4936 GB, free: 45.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.3773, allocations: 261.4 kB / 0.4939 GB, free: 45.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3773, allocations: 4 kB / 0.4939 GB, free: 45.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.547e-05/0.3773, allocations: 78.69 kB / 0.494 GB, free: 45.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.3779, allocations: 89.56 kB / 0.494 GB, free: 45.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.3783, allocations: 404.1 kB / 0.4944 GB, free: 44.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.3784, allocations: 93.03 kB / 0.4945 GB, free: 44.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.3784, allocations: 23.66 kB / 0.4945 GB, free: 44.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.3784, allocations: 18.19 kB / 0.4946 GB, free: 44.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3784, allocations: 0 / 0.4946 GB, free: 44.86 MB / 446.1 MB Notification: Performance of Templates: time 0.03796/0.4164, allocations: 27.15 MB / 0.5211 GB, free: 39.97 MB / 446.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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952275269082747] Failed to read output from testmodel.py, exit status != 0: 0.42450860294047743 0.43362503100000005 0.076008534 Calling exit ...