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.001147/0.001147, 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.00174/0.00174, 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.8482/0.8482, 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.02802/0.02802, allocations: 7.516 MB / 266.7 MB, free: 6.195 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.174e-06/2.174e-06, allocations: 0 / 391.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.604e-05, allocations: 2.281 kB / 391.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01488/0.0149, allocations: 15.36 MB / 407.1 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1415/0.1564, allocations: 9.267 MB / 416.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.1565, allocations: 0 / 416.4 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.157, allocations: 232.6 kB / 416.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.023e-05/0.157, allocations: 29.67 kB / 416.6 MB, free: 14.85 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.009102/0.1661, allocations: 6.033 MB / 422.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.1662, allocations: 55.55 kB / 422.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.1662, allocations: 4.922 kB / 422.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.1663, allocations: 40.45 kB / 422.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.077e-05/0.1663, allocations: 12.08 kB / 422.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.1663, allocations: 1.375 kB / 422.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006337/0.1727, allocations: 6.141 MB / 428.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.1727, allocations: 1.953 kB / 428.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.1727, allocations: 8 kB / 428.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003712/0.1764, allocations: 3.607 MB / 432.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1764, allocations: 0 / 432.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1764, allocations: 0 / 432.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1764, allocations: 1.312 kB / 432.5 MB, free: 12.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001167/0.1776, allocations: 0.7004 MB / 433.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1776, allocations: 10.5 kB / 433.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.1777, allocations: 39.77 kB / 433.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.1777, allocations: 1.531 kB / 433.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.1777, allocations: 109.5 kB / 433.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1778, allocations: 1.281 kB / 433.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.1778, allocations: 0 / 433.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.444e-05/0.1779, allocations: 41.05 kB / 433.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1779, allocations: 0 / 433.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1779, allocations: 1.219 kB / 433.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.1779, allocations: 3.984 kB / 433.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.1779, allocations: 18.59 kB / 433.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.178, allocations: 141.2 kB / 433.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.1781, allocations: 29.69 kB / 433.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.1781, allocations: 19.97 kB / 433.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01984/0.1979, allocations: 9.726 MB / 443.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1979, allocations: 36.16 kB / 443.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.1979, allocations: 0 / 443.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001693/0.1981, allocations: 75.48 kB / 443.5 MB, free: 4.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.1981, allocations: 51.41 kB / 443.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.823e-05/0.1982, allocations: 97.8 kB / 443.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.608e-06/0.1982, allocations: 25.7 kB / 443.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.136e-05/0.1982, allocations: 92.12 kB / 443.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1982, allocations: 22.36 kB / 443.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.1982, allocations: 21.88 kB / 443.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.609e-05/0.1983, allocations: 314.8 kB / 444.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.1983, allocations: 12 kB / 444.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.1983, allocations: 13.8 kB / 444.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.1983, allocations: 36.84 kB / 444.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1983, allocations: 0 / 444.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.269e-05/0.1984, allocations: 70.77 kB / 444.2 MB, free: 4.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1984, allocations: 6.5 kB / 444.2 MB, free: 4.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1984, allocations: 4 kB / 444.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1984, allocations: 0 / 444.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1984, allocations: 0 / 444.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1984, allocations: 8 kB / 444.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.1984, allocations: 0 / 444.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1984, allocations: 0 / 444.2 MB, free: 4.16 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: 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 3.798e-05/0.1985, allocations: 117.8 kB / 444.3 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-06/0.1985, allocations: 3.953 kB / 444.3 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.1985, allocations: 170.2 kB / 444.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.1986, allocations: 180.3 kB / 444.7 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.1986, allocations: 187.3 kB / 444.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.1986, allocations: 180.2 kB / 445 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.62e-05/0.1987, allocations: 388.2 kB / 445.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.1987, allocations: 109 kB / 445.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-06/0.1987, allocations: 105 kB / 445.6 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.1987, allocations: 176.3 kB / 445.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1987, allocations: 183.1 kB / 446 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/0.1987, allocations: 183.3 kB / 446.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.1987, allocations: 176.3 kB / 446.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.16e-05/0.1988, allocations: 315 kB / 446.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.1988, allocations: 105 kB / 446.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1988, allocations: 186.6 kB / 446.9 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.1989, allocations: 104.9 kB / 447 MB, free: 1.176 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.1989, allocations: 187.5 kB / 447.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1989, allocations: 113.7 kB / 447.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.247e-05/0.1989, allocations: 98.45 kB / 447.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1989, allocations: 288 / 447.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00141/0.2003, allocations: 0.8763 MB / 448.3 MB, free: 15.89 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: 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.002636/0.203, allocations: 2.189 MB / 450.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.203, allocations: 15.98 kB / 450.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.203, allocations: 0 / 450.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.203, allocations: 4 kB / 450.5 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2034, allocations: 494.3 kB / 451 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2046, allocations: 1.757 MB / 452.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.2047, allocations: 63.34 kB / 452.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.2047, allocations: 8.125 kB / 452.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.2047, allocations: 16.5 kB / 452.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2047, allocations: 0 / 452.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.2424, allocations: 25.91 MB / 478.7 MB, free: 1.59 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.459, allocations: 12.73 kB / 478.7 MB, free: 1.578 MB / 362.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.211165982298553] Failed to read output from testmodel.py, exit status != 0: 7.550905271433294 7.559574637 7.381377762 Calling exit ...