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.001353/0.001353, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001625/0.001625, allocations: 212.1 kB / 22.25 MB, free: 4.859 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.785 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.05032/0.05032, allocations: 9.132 MB / 321.6 MB, free: 10.21 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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 446.5 MB, free: 0.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09869, allocations: 54.95 MB / 0.4897 GB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01923/0.1179, allocations: 15.73 MB / 0.5051 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.21/0.3279, allocations: 12.57 MB / 0.5173 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.328, allocations: 0.7188 kB / 0.5173 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008154/0.3288, allocations: 343.5 kB / 0.5177 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.3318, allocations: 1.582 MB / 0.5192 GB, free: 6.969 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.0111/0.3429, allocations: 5.036 MB / 0.5241 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.3431, allocations: 148.4 kB / 0.5243 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.3432, allocations: 11.36 kB / 0.5243 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3433, allocations: 61.78 kB / 0.5243 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.3434, allocations: 45.95 kB / 0.5244 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3434, allocations: 4.375 kB / 0.5244 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01278/0.3562, allocations: 7.061 MB / 0.5313 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.3562, allocations: 11.97 kB / 0.5313 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3563, allocations: 52.73 kB / 0.5314 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007466/0.3638, allocations: 3.147 MB / 0.5344 GB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3638, allocations: 1.281 kB / 0.5344 GB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3638, allocations: 0 / 0.5344 GB, free: 5.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3638, allocations: 0 / 0.5344 GB, free: 5.566 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.001459/0.3653, allocations: 0.7893 MB / 0.5352 GB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3653, allocations: 9.906 kB / 0.5352 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.3653, allocations: 45.23 kB / 0.5352 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3655, allocations: 13.86 kB / 0.5353 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.3655, allocations: 125.2 kB / 0.5354 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3655, allocations: 4.812 kB / 0.5354 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3656, allocations: 4.25 kB / 0.5354 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3658, allocations: 238.4 kB / 0.5356 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3658, allocations: 1.062 kB / 0.5356 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3658, allocations: 0 / 0.5356 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3658, allocations: 14.12 kB / 0.5356 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.3662, allocations: 437.2 kB / 0.536 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.3665, allocations: 278.9 kB / 0.5363 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3667, allocations: 190.4 kB / 0.5365 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.3669, allocations: 183.9 kB / 0.5367 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.3784, allocations: 2.802 MB / 0.5394 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3784, allocations: 31.66 kB / 0.5394 GB, free: 3.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.3784, allocations: 0 / 0.5394 GB, free: 3.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006819/0.3791, allocations: 0.6114 MB / 0.54 GB, free: 3.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3791, allocations: 53.97 kB / 0.5401 GB, free: 3.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.782e-05/0.3792, allocations: 98.2 kB / 0.5402 GB, free: 3.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.567e-06/0.3792, allocations: 29.45 kB / 0.5402 GB, free: 3.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.287e-05/0.3792, allocations: 80.8 kB / 0.5403 GB, free: 3.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.3792, allocations: 140.2 kB / 0.5404 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.3793, allocations: 40.55 kB / 0.5405 GB, free: 2.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.3793, allocations: 329.1 kB / 0.5408 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3795, allocations: 175.2 kB / 0.5409 GB, free: 2.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3796, allocations: 172.5 kB / 0.5411 GB, free: 2.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.38, allocations: 388.7 kB / 0.5415 GB, free: 2.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.38, allocations: 5.109 kB / 0.5415 GB, free: 2.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003914/0.3803, allocations: 430 kB / 0.5419 GB, free: 2.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3804, allocations: 7.375 kB / 0.5419 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3804, allocations: 1.375 kB / 0.5419 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3804, allocations: 0 / 0.5419 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.3805, allocations: 22.98 kB / 0.5419 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3805, allocations: 1.312 kB / 0.5419 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.3806, allocations: 19.81 kB / 0.5419 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3806, allocations: 3.219 kB / 0.5419 GB, free: 2.418 MB / 382.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.427e-05/0.3806, allocations: 121.5 kB / 0.5421 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.3807, allocations: 9.703 kB / 0.5421 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.3811, allocations: 0.6457 MB / 0.5427 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3811, allocations: 0 / 0.5427 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3811, allocations: 2.406 kB / 0.5427 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3811, allocations: 8.484 kB / 0.5427 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.3818, allocations: 0.8831 MB / 0.5436 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3818, allocations: 2.906 kB / 0.5436 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3819, allocations: 26.27 kB / 0.5436 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3819, allocations: 2.969 kB / 0.5436 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.3819, allocations: 6.438 kB / 0.5436 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3819, allocations: 3.375 kB / 0.5436 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3819, allocations: 11 kB / 0.5436 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3821, allocations: 281.1 kB / 0.5439 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.3821, allocations: 15.14 kB / 0.5439 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3821, allocations: 19.55 kB / 0.5439 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.3822, allocations: 2.562 kB / 0.5439 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.3822, allocations: 15.14 kB / 0.5439 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3822, allocations: 6.188 kB / 0.5439 GB, free: 1.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3823, allocations: 174.7 kB / 0.5441 GB, free: 1.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 0 / 0.5441 GB, free: 1.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002271/0.3846, allocations: 0.8062 MB / 0.5449 GB, free: 0.8281 MB / 382.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.00373/0.3883, allocations: 2.079 MB / 0.5469 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.3887, allocations: 274 kB / 0.5472 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3887, allocations: 4 kB / 0.5472 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.3888, allocations: 78.47 kB / 0.5473 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.3893, allocations: 101.1 kB / 0.5474 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.3923, allocations: 2.912 MB / 0.5502 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.688e-05/0.3924, allocations: 93.27 kB / 0.5503 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.353e-05/0.3925, allocations: 20.72 kB / 0.5503 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.3925, allocations: 43.92 kB / 0.5504 GB, free: 13.24 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3925, allocations: 0 / 0.5504 GB, free: 13.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06758/0.4601, allocations: 30.3 MB / 0.5799 GB, free: 364 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.19, allocations: 3.859 kB / 0.58 GB, free: 360 kB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.602550711017102] Failed to read output from testmodel.py, exit status != 0: 12.32256455393508 12.350637068 11.981793238 Calling exit ...