Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.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.001102/0.001102, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008117/0.0008117, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.9206/0.9206, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.0322/0.0322, allocations: 7.513 MB / 266.7 MB, free: 6.203 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,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.08e-05, allocations: 6.219 kB / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01344/0.01346, allocations: 15.43 MB / 407.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00759/0.02105, allocations: 9.825 MB / 417 MB, free: 13.01 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.02111, allocations: 0 / 417 MB, free: 13.01 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.02164, allocations: 235.2 kB / 417.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.0217, allocations: 43.75 kB / 417.3 MB, free: 12.74 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.03316, allocations: 6.102 MB / 423.4 MB, free: 6.625 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.03329, allocations: 87.47 kB / 423.4 MB, free: 6.539 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.03333, allocations: 0 / 423.4 MB, free: 6.539 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.03342, allocations: 47.78 kB / 423.5 MB, free: 6.492 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.03346, allocations: 19.92 kB / 423.5 MB, free: 6.473 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.03347, allocations: 0 / 423.5 MB, free: 6.473 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007614/0.04108, allocations: 6.146 MB / 429.7 MB, free: 320 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.0411, allocations: 7.922 kB / 429.7 MB, free: 312 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.04115, allocations: 12 kB / 429.7 MB, free: 300 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.04664, allocations: 3.643 MB / 433.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.04664, allocations: 0 / 433.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.04664, allocations: 4 kB / 433.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.04665, allocations: 0 / 433.3 MB, free: 12.64 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001313/0.04796, allocations: 0.7323 MB / 434.1 MB, free: 11.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.048, allocations: 8.625 kB / 434.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.04803, allocations: 34.55 kB / 434.1 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.04806, allocations: 11.89 kB / 434.1 MB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.095e-05/0.04814, allocations: 117.1 kB / 434.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.04815, allocations: 3.938 kB / 434.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-06/0.04815, allocations: 3.938 kB / 434.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.04825, allocations: 57.69 kB / 434.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-06/0.04826, allocations: 4 kB / 434.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.04827, allocations: 0 / 434.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.04827, allocations: 3.984 kB / 434.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.04831, allocations: 31.94 kB / 434.3 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.04846, allocations: 152.6 kB / 434.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.252e-05/0.04851, allocations: 42.58 kB / 434.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.04854, allocations: 30.38 kB / 434.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1787/0.2272, allocations: 11.91 MB / 446.5 MB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2272, allocations: 37.28 kB / 446.5 MB, free: 93.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/0.2272, allocations: 0 / 446.5 MB, free: 93.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002173/0.2274, allocations: 135.1 kB / 446.6 MB, free: 93.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.2275, allocations: 58.56 kB / 446.7 MB, free: 93.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.566e-05/0.2275, allocations: 97.48 kB / 446.8 MB, free: 93.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.2275, allocations: 25.7 kB / 446.8 MB, free: 93.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.388e-06/0.2275, allocations: 81.14 kB / 446.9 MB, free: 92.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.2275, allocations: 39.38 kB / 446.9 MB, free: 92.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.2276, allocations: 20.09 kB / 446.9 MB, free: 92.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.927e-05/0.2276, allocations: 325.2 kB / 447.3 MB, free: 92.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.2276, allocations: 27.14 kB / 447.3 MB, free: 92.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.2276, allocations: 23.95 kB / 447.3 MB, free: 92.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.2277, allocations: 68.38 kB / 447.4 MB, free: 92.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2277, allocations: 3.125 kB / 447.4 MB, free: 92.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.317e-05/0.2277, allocations: 101.2 kB / 447.5 MB, free: 92.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2277, allocations: 3.125 kB / 447.5 MB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2277, allocations: 3.234 kB / 447.5 MB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2278, allocations: 5.25 kB / 447.5 MB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.2278, allocations: 0 / 447.5 MB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2278, allocations: 3.344 kB / 447.5 MB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.2278, allocations: 6.766 kB / 447.5 MB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2278, allocations: 4.688 kB / 447.5 MB, free: 92.59 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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 3.969e-05/0.2278, allocations: 117.2 kB / 447.6 MB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-06/0.2278, allocations: 0 / 447.6 MB, free: 92.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.228, allocations: 171.4 kB / 447.8 MB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.228, allocations: 0 / 447.8 MB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.228, allocations: 0.5625 kB / 447.8 MB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.228, allocations: 0 / 447.8 MB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.827e-05/0.228, allocations: 150.7 kB / 447.9 MB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.228, allocations: 3.328 kB / 447.9 MB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.228, allocations: 2.734 kB / 447.9 MB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.228, allocations: 0 / 447.9 MB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.228, allocations: 0 / 447.9 MB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.228, allocations: 0 / 447.9 MB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.228, allocations: 3.062 kB / 447.9 MB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.857e-05/0.2281, allocations: 92.58 kB / 448 MB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.2281, allocations: 18.08 kB / 448 MB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2281, allocations: 0 / 448 MB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.2281, allocations: 2.312 kB / 448.1 MB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.072e-05/0.2281, allocations: 3.156 kB / 448.1 MB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2281, allocations: 0 / 448.1 MB, free: 92.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.624e-05/0.2282, allocations: 97.2 kB / 448.1 MB, free: 92.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2282, allocations: 0 / 448.1 MB, free: 92.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001339/0.2295, allocations: 0.8858 MB / 449 MB, free: 92.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002483/0.232, allocations: 2.015 MB / 451.1 MB, free: 91.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2321, allocations: 45.55 kB / 451.1 MB, free: 91.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2321, allocations: 0 / 451.1 MB, free: 91.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.2321, allocations: 13.72 kB / 451.1 MB, free: 91.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2324, allocations: 57.83 kB / 451.2 MB, free: 91.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2339, allocations: 1.681 MB / 452.8 MB, free: 89.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.982e-05/0.2339, allocations: 69.25 kB / 452.9 MB, free: 89.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.298e-05/0.234, allocations: 0 / 452.9 MB, free: 89.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.234, allocations: 18.59 kB / 452.9 MB, free: 89.77 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.234, allocations: 2.344 kB / 452.9 MB, free: 89.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.2778, allocations: 26.78 MB / 479.7 MB, free: 84.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.587, allocations: 9.047 kB / 479.7 MB, free: 84.33 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter_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.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.427653257735074] Failed to read output from testmodel.py, exit status != 0: 7.681119900196791 7.695387221 7.646280571 Calling exit ...