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.0007456/0.0007456, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008332/0.0008332, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 0.8906/0.8906, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02945/0.02945, allocations: 7.507 MB / 266.7 MB, free: 6.207 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: "" <> 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 2.595e-06/2.595e-06, allocations: 0 / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.129e-05, allocations: 2.281 kB / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport): time 0.01354/0.01356, allocations: 15.72 MB / 407.5 MB, free: 6.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008659/0.02222, allocations: 12.58 MB / 420 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.02236, allocations: 0 / 420 MB, free: 9.957 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.02322, allocations: 335.7 kB / 420.4 MB, free: 9.629 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.02567, allocations: 1.601 MB / 422 MB, free: 8.023 MB / 394.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.009375/0.03505, allocations: 5.121 MB / 427.1 MB, free: 2.879 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.03525, allocations: 155.1 kB / 427.2 MB, free: 2.727 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.0353, allocations: 9.25 kB / 427.2 MB, free: 2.719 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.03541, allocations: 83.69 kB / 427.3 MB, free: 2.637 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.03546, allocations: 47.83 kB / 427.4 MB, free: 2.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.03547, allocations: 4 kB / 427.4 MB, free: 2.586 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008952/0.04442, allocations: 7.098 MB / 434.5 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.04445, allocations: 23.84 kB / 434.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.85e-05/0.04454, allocations: 31.94 kB / 434.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00814/0.05268, allocations: 3.635 MB / 438.2 MB, free: 7.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.05268, allocations: 4 kB / 438.2 MB, free: 7.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.05268, allocations: 0 / 438.2 MB, free: 7.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.05269, allocations: 0 / 438.2 MB, free: 7.77 MB / 410.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.00158/0.05427, allocations: 0.7863 MB / 438.9 MB, free: 6.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.05431, allocations: 8.625 kB / 439 MB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.05435, allocations: 50.48 kB / 439 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.952e-05/0.05445, allocations: 23.89 kB / 439 MB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.686e-05/0.05453, allocations: 117 kB / 439.1 MB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.05455, allocations: 0 / 439.1 MB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.05456, allocations: 12 kB / 439.2 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.05478, allocations: 230.6 kB / 439.4 MB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.05479, allocations: 0 / 439.4 MB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.0548, allocations: 4 kB / 439.4 MB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.05481, allocations: 15.91 kB / 439.4 MB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.05509, allocations: 448 kB / 439.8 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.05531, allocations: 274.5 kB / 440.1 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.05547, allocations: 190.8 kB / 440.3 MB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.05559, allocations: 185.1 kB / 440.5 MB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005865/0.06145, allocations: 2.788 MB / 443.3 MB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.06147, allocations: 30.56 kB / 443.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.06148, allocations: 0 / 443.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005224/0.062, allocations: 0.6271 MB / 443.9 MB, free: 1.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.06203, allocations: 51.41 kB / 444 MB, free: 1.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.06209, allocations: 97.86 kB / 444.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.0621, allocations: 29.7 kB / 444.1 MB, free: 1.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.309e-05/0.06212, allocations: 80.8 kB / 444.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.0622, allocations: 138.7 kB / 444.3 MB, free: 1.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.06224, allocations: 37.7 kB / 444.3 MB, free: 1.402 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.06233, allocations: 322.8 kB / 444.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.06245, allocations: 167.9 kB / 444.8 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.06256, allocations: 175.9 kB / 445 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.0628, allocations: 396.4 kB / 445.4 MB, free: 360 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.06281, allocations: 0 / 445.4 MB, free: 360 kB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.1404/0.2032, allocations: 427.9 kB / 445.8 MB, free: 92.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2033, allocations: 7.812 kB / 445.8 MB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.2033, allocations: 0 / 445.8 MB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2033, allocations: 2.625 kB / 445.8 MB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.2034, allocations: 20.28 kB / 445.8 MB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2034, allocations: 0 / 445.8 MB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.2034, allocations: 18.95 kB / 445.8 MB, free: 92.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2034, allocations: 3.219 kB / 445.9 MB, free: 92.35 MB / 410.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 6.016e-05/0.2035, allocations: 123.2 kB / 446 MB, free: 92.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.2035, allocations: 15.75 kB / 446 MB, free: 92.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.2039, allocations: 0.6447 MB / 446.6 MB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2039, allocations: 2.844 kB / 446.6 MB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2039, allocations: 3.188 kB / 446.6 MB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2039, allocations: 4.797 kB / 446.6 MB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.2044, allocations: 0.8907 MB / 447.5 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2044, allocations: 3.219 kB / 447.5 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.2045, allocations: 23.22 kB / 447.6 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2045, allocations: 6.938 kB / 447.6 MB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.2045, allocations: 7.031 kB / 447.6 MB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2045, allocations: 3.062 kB / 447.6 MB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2045, allocations: 2.938 kB / 447.6 MB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.2046, allocations: 266.7 kB / 447.8 MB, free: 91.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.2046, allocations: 15.42 kB / 447.9 MB, free: 91.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2047, allocations: 21.52 kB / 447.9 MB, free: 91.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.2047, allocations: 3.156 kB / 447.9 MB, free: 91.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.2047, allocations: 17.95 kB / 447.9 MB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.2047, allocations: 3.281 kB / 447.9 MB, free: 91.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.086e-05/0.2048, allocations: 170.2 kB / 448.1 MB, free: 91.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2048, allocations: 0 / 448.1 MB, free: 91.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001385/0.2062, allocations: 0.8074 MB / 448.9 MB, free: 91.07 MB / 410.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.002337/0.2085, allocations: 2.185 MB / 451.1 MB, free: 90.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.2087, allocations: 259.1 kB / 451.3 MB, free: 90.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2087, allocations: 0 / 451.3 MB, free: 90.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.2088, allocations: 79.5 kB / 451.4 MB, free: 90 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.2091, allocations: 93.84 kB / 451.5 MB, free: 89.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2107, allocations: 2.905 MB / 454.4 MB, free: 88.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.2107, allocations: 96.47 kB / 454.5 MB, free: 87.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.787e-05/0.2108, allocations: 18.34 kB / 454.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.2108, allocations: 45.06 kB / 454.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2108, allocations: 0 / 454.5 MB, free: 87.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/0.2555, allocations: 30.57 MB / 485.1 MB, free: 80.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.842, allocations: 7.594 kB / 485.1 MB, free: 80.59 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_Transport_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 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: 9.653073935769498] Failed to read output from testmodel.py, exit status != 0: 7.940888332203031 7.949606707 7.895307405 Calling exit ...