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.001591/0.001591, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002086/0.002086, allocations: 215.6 kB / 22.25 MB, free: 5.082 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.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.05139/0.05139, allocations: 9.134 MB / 321.6 MB, free: 10.45 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.002081/0.002081, allocations: 71.89 kB / 447.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 54.93 MB / 0.4902 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.02253/0.1303, allocations: 17.47 MB / 0.5073 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2163/0.3466, allocations: 14.28 MB / 0.5212 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3467, allocations: 1 kB / 0.5212 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008565/0.3475, allocations: 431.2 kB / 0.5217 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.3503, allocations: 1.613 MB / 0.5232 GB, free: 7.309 MB / 382.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.0108/0.3611, allocations: 5.122 MB / 0.5282 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.3614, allocations: 144.1 kB / 0.5284 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.3614, allocations: 9.5 kB / 0.5284 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.3615, allocations: 67.95 kB / 0.5284 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.3616, allocations: 47.78 kB / 0.5285 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3616, allocations: 6.062 kB / 0.5285 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/0.3778, allocations: 10.36 MB / 0.5386 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.3778, allocations: 10.06 kB / 0.5386 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3779, allocations: 56.83 kB / 0.5387 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008754/0.3866, allocations: 3.795 MB / 0.5424 GB, free: 3.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3867, allocations: 0 / 0.5424 GB, free: 3.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3867, allocations: 4 kB / 0.5424 GB, free: 3.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3867, allocations: 5.312 kB / 0.5424 GB, free: 3.48 MB / 382.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.001563/0.3882, allocations: 0.7861 MB / 0.5432 GB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3883, allocations: 13.56 kB / 0.5432 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3884, allocations: 12.2 kB / 0.5432 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.729e-05/0.3884, allocations: 129 kB / 0.5433 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3885, allocations: 6.75 kB / 0.5433 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.3885, allocations: 4.125 kB / 0.5433 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.3887, allocations: 237.4 kB / 0.5435 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3887, allocations: 0 / 0.5435 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3887, allocations: 2.312 kB / 0.5435 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3887, allocations: 9.391 kB / 0.5436 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.3891, allocations: 436.9 kB / 0.544 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.3893, allocations: 289.4 kB / 0.5442 GB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.3895, allocations: 190.6 kB / 0.5444 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.3896, allocations: 182.7 kB / 0.5446 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.4012, allocations: 2.785 MB / 0.5473 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4012, allocations: 37.59 kB / 0.5474 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.4012, allocations: 4 kB / 0.5474 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006049/0.4018, allocations: 0.6088 MB / 0.548 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.4018, allocations: 58.91 kB / 0.548 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.714e-05/0.4019, allocations: 100.8 kB / 0.5481 GB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.4019, allocations: 25.7 kB / 0.5481 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.337e-05/0.4019, allocations: 87.25 kB / 0.5482 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.402, allocations: 134.8 kB / 0.5483 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.4021, allocations: 40.34 kB / 0.5484 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4022, allocations: 330.9 kB / 0.5487 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.4024, allocations: 172.4 kB / 0.5489 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.4025, allocations: 169.2 kB / 0.549 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.4029, allocations: 391.1 kB / 0.5494 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4029, allocations: 0 / 0.5494 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004422/0.4033, allocations: 432.3 kB / 0.5498 GB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4034, allocations: 5.5 kB / 0.5498 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4034, allocations: 0.7031 kB / 0.5498 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4034, allocations: 3.938 kB / 0.5498 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.4035, allocations: 27.11 kB / 0.5498 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4035, allocations: 1.375 kB / 0.5498 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.4036, allocations: 18.53 kB / 0.5499 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.4036, allocations: 4.312 kB / 0.5499 GB, free: 14.94 MB / 398.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 9.979e-05/0.4037, allocations: 129.2 kB / 0.55 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.4037, allocations: 9.453 kB / 0.55 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/0.4044, allocations: 0.6303 MB / 0.5506 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4044, allocations: 2.562 kB / 0.5506 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.4044, allocations: 4.984 kB / 0.5506 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4044, allocations: 3.938 kB / 0.5506 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.4053, allocations: 0.8997 MB / 0.5515 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4053, allocations: 3 kB / 0.5515 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.4054, allocations: 24.91 kB / 0.5515 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4054, allocations: 2.906 kB / 0.5515 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4054, allocations: 17.3 kB / 0.5515 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4054, allocations: 2.844 kB / 0.5516 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4054, allocations: 2.906 kB / 0.5516 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.4057, allocations: 279 kB / 0.5518 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.4057, allocations: 8.219 kB / 0.5518 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.4057, allocations: 23.16 kB / 0.5519 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.4058, allocations: 2.719 kB / 0.5519 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.4058, allocations: 18.34 kB / 0.5519 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4058, allocations: 17.23 kB / 0.5519 GB, free: 13.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.406, allocations: 171.7 kB / 0.5521 GB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.406, allocations: 0 / 0.5521 GB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002377/0.4084, allocations: 0.8063 MB / 0.5528 GB, free: 12.89 MB / 398.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.003698/0.4121, allocations: 1.376 MB / 0.5542 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.4124, allocations: 264.8 kB / 0.5544 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4124, allocations: 3.938 kB / 0.5544 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.4125, allocations: 78.69 kB / 0.5545 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.4131, allocations: 84.5 kB / 0.5546 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.4137, allocations: 417.2 kB / 0.555 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.414, allocations: 0.7051 MB / 0.5557 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.853e-05/0.414, allocations: 19.83 kB / 0.5557 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.4141, allocations: 23.38 kB / 0.5557 GB, free: 11 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4141, allocations: 0 / 0.5557 GB, free: 11 MB / 398.1 MB Notification: Performance of Templates: time 0.04015/0.4542, allocations: 26.91 MB / 0.582 GB, free: 164 kB / 414.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.91995765408501] Failed to read output from testmodel.py, exit status != 0: 0.46262928703799844 0.47836881900000006 0.08859906000000001 Calling exit ...