Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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.0007767/0.0007767, 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.0007667/0.0007667, allocations: 169.9 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.8654/0.8654, 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.02886/0.02886, allocations: 7.511 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_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 0 / 391.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.08e-05, allocations: 6.219 kB / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01451/0.01453, allocations: 15.37 MB / 407.1 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.02054, allocations: 9.269 MB / 416.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.02056, allocations: 0 / 416.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.02106, allocations: 235.3 kB / 416.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.191e-05/0.02108, allocations: 31.83 kB / 416.6 MB, free: 13.39 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.008051/0.02913, allocations: 6.038 MB / 422.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.02921, allocations: 55.67 kB / 422.7 MB, free: 7.285 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.02924, allocations: 3.984 kB / 422.7 MB, free: 7.281 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.02934, allocations: 47.84 kB / 422.8 MB, free: 7.234 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.02937, allocations: 11.94 kB / 422.8 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.02938, allocations: 0 / 422.8 MB, free: 7.223 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.03461, allocations: 6.142 MB / 428.9 MB, free: 1.066 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.03462, allocations: 0 / 428.9 MB, free: 1.066 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.03464, allocations: 12 kB / 428.9 MB, free: 1.055 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.03754, allocations: 3.597 MB / 432.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.03755, allocations: 4 kB / 432.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.03755, allocations: 0 / 432.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.03755, allocations: 0 / 432.5 MB, free: 13.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000726/0.03828, allocations: 0.6934 MB / 433.2 MB, free: 12.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.03832, allocations: 12.62 kB / 433.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.455e-05/0.03834, allocations: 30.56 kB / 433.3 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.03836, allocations: 7.891 kB / 433.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.607e-05/0.03843, allocations: 113.2 kB / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.03844, allocations: 0 / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.03844, allocations: 3.938 kB / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.484e-05/0.03853, allocations: 53.62 kB / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.03853, allocations: 3.984 kB / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.03854, allocations: 0 / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.03855, allocations: 4 kB / 433.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.788e-05/0.03856, allocations: 11.98 kB / 433.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.03867, allocations: 136.7 kB / 433.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/0.03871, allocations: 30.56 kB / 433.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.03873, allocations: 16.89 kB / 433.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01997/0.0587, allocations: 9.731 MB / 443.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.05873, allocations: 30.56 kB / 443.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.05873, allocations: 0 / 443.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001644/0.05889, allocations: 77.69 kB / 443.5 MB, free: 2.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.05892, allocations: 55.34 kB / 443.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.75e-05/0.05897, allocations: 97.88 kB / 443.6 MB, free: 2.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.05897, allocations: 29.7 kB / 443.7 MB, free: 2.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.05899, allocations: 88.06 kB / 443.7 MB, free: 2.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.05902, allocations: 23.73 kB / 443.8 MB, free: 2.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.05905, allocations: 17.7 kB / 443.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.05911, allocations: 318.8 kB / 444.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.05913, allocations: 8 kB / 444.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.05915, allocations: 16.22 kB / 444.1 MB, free: 1.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.05918, allocations: 36.92 kB / 444.1 MB, free: 1.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.05918, allocations: 0 / 444.1 MB, free: 1.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.004e-05/0.05923, allocations: 57.69 kB / 444.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.05925, allocations: 12.19 kB / 444.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.05925, allocations: 0 / 444.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.05926, allocations: 3.984 kB / 444.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.05926, allocations: 3.938 kB / 444.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.05927, allocations: 3.938 kB / 444.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.05928, allocations: 3.953 kB / 444.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.05929, allocations: 4 kB / 444.2 MB, free: 1.52 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 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.973e-05/0.05934, allocations: 105.8 kB / 444.3 MB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-06/0.05935, allocations: 8 kB / 444.3 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.05945, allocations: 174.9 kB / 444.5 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/0.05949, allocations: 188.2 kB / 444.7 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.59e-05/0.05952, allocations: 180.2 kB / 444.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/0.05956, allocations: 184.2 kB / 445.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.05969, allocations: 384.2 kB / 445.4 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.05971, allocations: 101 kB / 445.5 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1334/0.1931, allocations: 105.1 kB / 445.6 MB, free: 92.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.551e-05/0.1932, allocations: 181.5 kB / 445.8 MB, free: 92.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1932, allocations: 183.1 kB / 446 MB, free: 92.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.1932, allocations: 179.8 kB / 446.2 MB, free: 92.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.1932, allocations: 181.7 kB / 446.3 MB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.564e-05/0.1933, allocations: 311 kB / 446.6 MB, free: 91.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.1933, allocations: 108.8 kB / 446.8 MB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1933, allocations: 183.1 kB / 446.9 MB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.1934, allocations: 109.5 kB / 447 MB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.1934, allocations: 186.5 kB / 447.2 MB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1934, allocations: 104.8 kB / 447.3 MB, free: 91.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.1934, allocations: 101.4 kB / 447.4 MB, free: 91.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1934, allocations: 0 / 447.4 MB, free: 91.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001478/0.1949, allocations: 0.8782 MB / 448.3 MB, free: 91.18 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.002068/0.197, allocations: 2.185 MB / 450.5 MB, free: 90.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.1971, allocations: 16.89 kB / 450.5 MB, free: 90.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1971, allocations: 0 / 450.5 MB, free: 90.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.1971, allocations: 3.125 kB / 450.5 MB, free: 90.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1973, allocations: 495.4 kB / 451 MB, free: 89.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.1982, allocations: 1.757 MB / 452.7 MB, free: 88.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.647e-05/0.1982, allocations: 61.2 kB / 452.8 MB, free: 88.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.1983, allocations: 0 / 452.8 MB, free: 88.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.1983, allocations: 17.31 kB / 452.8 MB, free: 88.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1983, allocations: 3.125 kB / 452.8 MB, free: 88.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.2305, allocations: 25.76 MB / 478.6 MB, free: 83.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.755, allocations: 8.906 kB / 478.6 MB, free: 83.71 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.50086229853332] Failed to read output from testmodel.py, exit status != 0: 7.846810066141188 7.855997203 7.816725503 Calling exit ...