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.001281/0.001281, allocations: 92.22 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.001554/0.001554, 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.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.05274/0.05274, allocations: 7.517 MB / 267.5 MB, free: 6.004 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.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 2.074e-06/2.074e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.07e-05, allocations: 4.703 kB / 338.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01293/0.01296, allocations: 17.39 MB / 356 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009555/0.02251, allocations: 14.27 MB / 370.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.02258, allocations: 0 / 370.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.02338, allocations: 339.6 kB / 370.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.02571, allocations: 1.601 MB / 372.2 MB, free: 9.293 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.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.008669/0.03438, allocations: 5.131 MB / 377.4 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.03455, allocations: 151 kB / 377.5 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.03459, allocations: 13.28 kB / 377.5 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.03469, allocations: 83.73 kB / 377.6 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.03474, allocations: 39.86 kB / 377.6 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.03476, allocations: 4 kB / 377.6 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008498/0.04325, allocations: 7.109 MB / 384.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.04327, allocations: 11.94 kB / 384.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.04334, allocations: 39.91 kB / 384.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.04943, allocations: 3.631 MB / 388.4 MB, free: 9.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.04943, allocations: 8 kB / 388.4 MB, free: 9.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.04944, allocations: 0 / 388.4 MB, free: 9.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.04944, allocations: 0 / 388.4 MB, free: 9.02 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00147/0.05091, allocations: 0.8859 MB / 389.3 MB, free: 8.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.05095, allocations: 8.625 kB / 389.3 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.05108, allocations: 27.89 kB / 389.4 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.05116, allocations: 123.8 kB / 389.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.05117, allocations: 7.984 kB / 389.5 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.05119, allocations: 8 kB / 389.5 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.05134, allocations: 114.5 kB / 389.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.05134, allocations: 4 kB / 389.6 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.05135, allocations: 8 kB / 389.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.05136, allocations: 0 / 389.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.05154, allocations: 192.1 kB / 389.8 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.05172, allocations: 198.4 kB / 390 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.05182, allocations: 99.38 kB / 390.1 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.05189, allocations: 84 kB / 390.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005976/0.05786, allocations: 2.701 MB / 392.9 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.0579, allocations: 41.39 kB / 392.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.0579, allocations: 0 / 392.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004552/0.05836, allocations: 342.4 kB / 393.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.05838, allocations: 59.28 kB / 393.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.05846, allocations: 161.9 kB / 393.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.05848, allocations: 25.7 kB / 393.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.05851, allocations: 127.5 kB / 393.6 MB, free: 3.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-05/0.0586, allocations: 130.9 kB / 393.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.05865, allocations: 51.34 kB / 393.8 MB, free: 3.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.05877, allocations: 0.5001 MB / 394.3 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.05884, allocations: 63.98 kB / 394.4 MB, free: 2.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.05889, allocations: 68.97 kB / 394.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.05905, allocations: 186.6 kB / 394.6 MB, free: 2.637 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.05905, allocations: 0 / 394.6 MB, free: 2.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002164/0.05927, allocations: 248 kB / 394.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.05929, allocations: 8 kB / 394.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.0593, allocations: 0 / 394.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.05931, allocations: 0 / 394.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.05938, allocations: 19.98 kB / 394.9 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.05939, allocations: 3.938 kB / 394.9 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.05942, allocations: 23.72 kB / 394.9 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.05944, allocations: 8 kB / 394.9 MB, free: 2.328 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 (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 7.515e-05/0.05951, allocations: 160.6 kB / 395.1 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.05953, allocations: 19.91 kB / 395.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.06005, allocations: 0.6806 MB / 395.8 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.06005, allocations: 0 / 395.8 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.06005, allocations: 3.938 kB / 395.8 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.06006, allocations: 3.984 kB / 395.8 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.06056, allocations: 0.7153 MB / 396.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.06057, allocations: 0 / 396.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.06061, allocations: 27.92 kB / 396.5 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.06062, allocations: 0 / 396.5 MB, free: 500 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.06063, allocations: 4 kB / 396.5 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.06063, allocations: 4 kB / 396.5 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.06063, allocations: 7.938 kB / 396.5 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.06079, allocations: 217.1 kB / 396.8 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.0608, allocations: 7.984 kB / 396.8 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.06082, allocations: 23.94 kB / 396.8 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.06086, allocations: 8 kB / 396.8 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.06088, allocations: 15.86 kB / 396.8 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.06089, allocations: 8 kB / 396.8 MB, free: 136 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.061, allocations: 195.1 kB / 397 MB, free: 15.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.061, allocations: 0 / 397 MB, free: 15.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001546/0.06255, allocations: 0.802 MB / 397.8 MB, free: 15.14 MB / 330.7 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.002401/0.06495, allocations: 1.479 MB / 399.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.06514, allocations: 131.6 kB / 399.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.06514, allocations: 0 / 399.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.06518, allocations: 39.55 kB / 399.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.06554, allocations: 101.1 kB / 399.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.06626, allocations: 380 kB / 399.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.0663, allocations: 67.84 kB / 400 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.06636, allocations: 27.27 kB / 400 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.06639, allocations: 16.5 kB / 400 MB, free: 12.81 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.06639, allocations: 3.938 kB / 400 MB, free: 12.81 MB / 330.7 MB Notification: Performance of Templates: time 0.1253/0.1916, allocations: 27.44 MB / 427.5 MB, free: 72.01 MB / 330.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8731910712085664]