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.0007587/0.0007587, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008064/0.0008064, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8629/0.8629, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.02843/0.02843, allocations: 7.517 MB / 266.7 MB, free: 6.199 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 1.233e-06/1.233e-06, allocations: 0 / 391.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.161e-05, allocations: 5.094 kB / 391.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01175/0.01176, allocations: 15.44 MB / 407.2 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1367/0.1484, allocations: 9.822 MB / 417 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.1485, allocations: 0 / 417 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.1489, allocations: 234.8 kB / 417.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.149, allocations: 44.08 kB / 417.3 MB, free: 14.33 MB / 330.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.008541/0.1575, allocations: 6.082 MB / 423.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.1576, allocations: 91.16 kB / 423.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.1576, allocations: 3.359 kB / 423.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.1577, allocations: 55.91 kB / 423.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.064e-05/0.1578, allocations: 13.22 kB / 423.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1578, allocations: 0 / 423.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005684/0.1635, allocations: 6.142 MB / 429.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1635, allocations: 6.375 kB / 429.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1635, allocations: 17.28 kB / 429.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.1664, allocations: 3.644 MB / 433.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1664, allocations: 1.406 kB / 433.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1664, allocations: 0 / 433.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1665, allocations: 1.312 kB / 433.3 MB, free: 11.68 MB / 330.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.0008304/0.1673, allocations: 0.7458 MB / 434.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1673, allocations: 9.188 kB / 434.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.08e-05/0.1673, allocations: 37.2 kB / 434.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.1674, allocations: 10.8 kB / 434.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.903e-05/0.1674, allocations: 103.4 kB / 434.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1674, allocations: 0 / 434.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.1674, allocations: 10.94 kB / 434.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.1675, allocations: 55.62 kB / 434.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1675, allocations: 0 / 434.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.1675, allocations: 0 / 434.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1675, allocations: 8 kB / 434.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.432e-05/0.1675, allocations: 25.64 kB / 434.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.646e-05/0.1676, allocations: 153.8 kB / 434.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.909e-05/0.1677, allocations: 45.44 kB / 434.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.1677, allocations: 37.41 kB / 434.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0225/0.1902, allocations: 11.9 MB / 446.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1902, allocations: 37.06 kB / 446.5 MB, free: 2.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.1902, allocations: 0 / 446.5 MB, free: 2.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001841/0.1904, allocations: 133.6 kB / 446.6 MB, free: 2.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.1904, allocations: 59.28 kB / 446.7 MB, free: 1.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.624e-05/0.1905, allocations: 101.8 kB / 446.8 MB, free: 1.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.1905, allocations: 25.7 kB / 446.8 MB, free: 1.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.23e-05/0.1905, allocations: 84.12 kB / 446.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1905, allocations: 51.53 kB / 446.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.1905, allocations: 21.88 kB / 446.9 MB, free: 1.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.62e-05/0.1906, allocations: 314.8 kB / 447.3 MB, free: 1.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.1906, allocations: 28 kB / 447.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.1906, allocations: 23.98 kB / 447.3 MB, free: 1.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.1906, allocations: 75.58 kB / 447.4 MB, free: 1.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1906, allocations: 0 / 447.4 MB, free: 1.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 5.675e-05/0.1907, allocations: 101.5 kB / 447.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1907, allocations: 8.781 kB / 447.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1907, allocations: 0 / 447.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1907, allocations: 0 / 447.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.803e-06/0.1907, allocations: 7.922 kB / 447.5 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1907, allocations: 4.062 kB / 447.5 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.1908, allocations: 0.9375 kB / 447.5 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1908, allocations: 4 kB / 447.5 MB, free: 1.094 MB / 330.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.755e-05/0.1908, allocations: 105.8 kB / 447.6 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.1908, allocations: 7.953 kB / 447.6 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.1909, allocations: 164.2 kB / 447.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1909, allocations: 7.922 kB / 447.8 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1909, allocations: 3.938 kB / 447.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-06/0.1909, allocations: 0 / 447.8 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.171e-05/0.191, allocations: 140.8 kB / 447.9 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.191, allocations: 4.828 kB / 447.9 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.191, allocations: 0.875 kB / 447.9 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.191, allocations: 0 / 447.9 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.191, allocations: 4 kB / 447.9 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.191, allocations: 0 / 447.9 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.191, allocations: 3.938 kB / 447.9 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.134e-05/0.191, allocations: 93.06 kB / 448 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-06/0.1911, allocations: 3.938 kB / 448 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1911, allocations: 4.578 kB / 448 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.1911, allocations: 4 kB / 448 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.1911, allocations: 7.969 kB / 448 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.1911, allocations: 0 / 448 MB, free: 460 kB / 330.7 MB Notification: Performance of sorting global known variables: time 2.605e-05/0.1911, allocations: 107.1 kB / 448.1 MB, free: 352 kB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1911, allocations: 0 / 448.1 MB, free: 352 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001045/0.1922, allocations: 0.8841 MB / 449 MB, free: 15.45 MB / 346.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.002294/0.1945, allocations: 2.008 MB / 451 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.1945, allocations: 43.98 kB / 451.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1945, allocations: 4.062 kB / 451.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.1945, allocations: 12 kB / 451.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.1948, allocations: 61.95 kB / 451.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.196, allocations: 1.691 MB / 452.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.196, allocations: 67.34 kB / 452.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.248e-05/0.1961, allocations: 7.938 kB / 452.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.1961, allocations: 20.48 kB / 452.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1961, allocations: 96 / 452.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03264/0.2287, allocations: 26.64 MB / 479.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.588, allocations: 11.91 kB / 479.6 MB, free: 1.051 MB / 362.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.272195420227945] Failed to read output from testmodel.py, exit status != 0: 7.680903010070324 7.689874487 7.521717236 Calling exit ...