Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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.001338/0.001338, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001586/0.001586, allocations: 216.8 kB / 22.25 MB, free: 4.852 MB / 14.72 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 1.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.04892/0.04892, allocations: 9.131 MB / 321.6 MB, free: 10.23 MB / 254.1 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_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 68.12 kB / 446.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1078, allocations: 54.94 MB / 0.4897 GB, free: 9.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01949/0.1273, allocations: 15.4 MB / 0.5047 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1292, allocations: 1.659 MB / 0.5063 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.1293, allocations: 4 kB / 0.5063 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.1299, allocations: 231.9 kB / 0.5066 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.917e-05/0.1299, allocations: 27.89 kB / 0.5066 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006858/0.1368, allocations: 2.865 MB / 0.5094 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1369, allocations: 55.67 kB / 0.5094 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.1369, allocations: 0 / 0.5094 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.137, allocations: 31.86 kB / 0.5095 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.137, allocations: 19.92 kB / 0.5095 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-06/0.1371, allocations: 0 / 0.5095 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005491/0.1425, allocations: 3.282 MB / 0.5127 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.1426, allocations: 3.938 kB / 0.5127 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.1426, allocations: 15.92 kB / 0.5127 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.1453, allocations: 1.539 MB / 0.5142 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1453, allocations: 0 / 0.5142 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1453, allocations: 8 kB / 0.5142 GB, free: 360 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1453, allocations: 0 / 0.5142 GB, free: 360 kB / 382.1 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.2026/0.3479, allocations: 443.4 kB / 0.5147 GB, free: 30.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3479, allocations: 8.844 kB / 0.5147 GB, free: 30.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.3479, allocations: 36.61 kB / 0.5147 GB, free: 30.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.348, allocations: 2.969 kB / 0.5147 GB, free: 30.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.16e-05/0.348, allocations: 105.1 kB / 0.5148 GB, free: 30.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.348, allocations: 4.703 kB / 0.5148 GB, free: 30.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.3481, allocations: 0 / 0.5148 GB, free: 30.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.3481, allocations: 41.14 kB / 0.5148 GB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3482, allocations: 3.938 kB / 0.5148 GB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-06/0.3482, allocations: 0.5938 kB / 0.5148 GB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3482, allocations: 2.453 kB / 0.5148 GB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.3482, allocations: 15.44 kB / 0.5149 GB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.3483, allocations: 135.7 kB / 0.515 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.3484, allocations: 29.77 kB / 0.515 GB, free: 29.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.3484, allocations: 18.05 kB / 0.515 GB, free: 29.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/0.3699, allocations: 5.733 MB / 0.5206 GB, free: 29.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.37, allocations: 43.36 kB / 0.5207 GB, free: 29.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.186e-06/0.37, allocations: 0 / 0.5207 GB, free: 29.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000223/0.3702, allocations: 79.98 kB / 0.5208 GB, free: 29.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.3702, allocations: 52.5 kB / 0.5208 GB, free: 29.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.3703, allocations: 96.92 kB / 0.5209 GB, free: 29.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.3703, allocations: 26.89 kB / 0.5209 GB, free: 29.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.862e-05/0.3703, allocations: 80.94 kB / 0.521 GB, free: 29.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3703, allocations: 22.94 kB / 0.521 GB, free: 29.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.3704, allocations: 16.27 kB / 0.521 GB, free: 29.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.3704, allocations: 317.8 kB / 0.5213 GB, free: 29.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.3704, allocations: 11.81 kB / 0.5214 GB, free: 29.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.3704, allocations: 13.11 kB / 0.5214 GB, free: 29.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.3705, allocations: 39.62 kB / 0.5214 GB, free: 29.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3705, allocations: 1.5 kB / 0.5214 GB, free: 29.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.978e-05/0.3706, allocations: 60.34 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3706, allocations: 10.55 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3706, allocations: 0 / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3706, allocations: 0 / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.563e-06/0.3706, allocations: 1.875 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3706, allocations: 3.406 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.3706, allocations: 5.109 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3706, allocations: 1.797 kB / 0.5215 GB, free: 29.07 MB / 382.1 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 5.14e-05/0.3707, allocations: 113.5 kB / 0.5216 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.3707, allocations: 10.34 kB / 0.5216 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.3708, allocations: 180.3 kB / 0.5218 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.3708, allocations: 179.4 kB / 0.5219 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.76e-05/0.3709, allocations: 180.8 kB / 0.5221 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.3709, allocations: 178.3 kB / 0.5223 GB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.371, allocations: 384.6 kB / 0.5227 GB, free: 27.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.371, allocations: 102.8 kB / 0.5228 GB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.3711, allocations: 104.7 kB / 0.5229 GB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/0.3711, allocations: 187.6 kB / 0.523 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.3711, allocations: 181.9 kB / 0.5232 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-05/0.3711, allocations: 186.4 kB / 0.5234 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-05/0.3712, allocations: 186.5 kB / 0.5236 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.372e-05/0.3712, allocations: 304.2 kB / 0.5238 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3712, allocations: 111.3 kB / 0.524 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.3713, allocations: 188.8 kB / 0.5241 GB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.3713, allocations: 106.8 kB / 0.5242 GB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.3714, allocations: 178.4 kB / 0.5244 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.3714, allocations: 102.5 kB / 0.5245 GB, free: 25.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.3714, allocations: 102.5 kB / 0.5246 GB, free: 25.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3714, allocations: 1.5 kB / 0.5246 GB, free: 25.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001055/0.3725, allocations: 393.3 kB / 0.525 GB, free: 25.79 MB / 382.1 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.001768/0.3743, allocations: 1.364 MB / 0.5263 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.851e-05/0.3744, allocations: 17.27 kB / 0.5263 GB, free: 24.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3744, allocations: 0 / 0.5263 GB, free: 24.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.3744, allocations: 5.719 kB / 0.5263 GB, free: 24.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3748, allocations: 489.3 kB / 0.5268 GB, free: 24.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3758, allocations: 1.547 MB / 0.5283 GB, free: 23.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.3759, allocations: 59.16 kB / 0.5284 GB, free: 22.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.113e-05/0.3759, allocations: 5.906 kB / 0.5284 GB, free: 22.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.3759, allocations: 10.7 kB / 0.5284 GB, free: 22.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3759, allocations: 3.938 kB / 0.5284 GB, free: 22.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05241/0.4283, allocations: 16.13 MB / 0.5441 GB, free: 16.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 5.312 kB / 0.5441 GB, free: 16.01 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.159713863860816] Failed to read output from testmodel.py, exit status != 0: 11.75669346190989 11.767245629 11.619828658 Calling exit ...