Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002481/0.002481, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2206/0.2206, allocations: 46.94 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 87.86 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3176, allocations: 66.08 MB / 0.5615 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02986/0.3474, allocations: 25.4 MB / 0.5863 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.3547, allocations: 4.406 MB / 0.5906 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.3555, allocations: 27.75 kB / 0.5907 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009801/0.3565, allocations: 298 kB / 0.5909 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.3605, allocations: 1.657 MB / 0.5926 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.3638, allocations: 1.359 MB / 0.5939 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002502/0.3663, allocations: 1.879 MB / 0.5957 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.367, allocations: 425.5 kB / 0.5961 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.3726, allocations: 3.094 MB / 0.5992 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.375, allocations: 1.375 MB / 0.6005 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.3752, allocations: 64 kB / 0.6006 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.3777, allocations: 1.271 MB / 0.6018 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.3781, allocations: 279.1 kB / 0.6021 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005349/0.3786, allocations: 398.2 kB / 0.6024 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.3808, allocations: 1.378 MB / 0.6038 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3808, allocations: 0 / 0.6038 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3808, allocations: 4 kB / 0.6038 GB, free: 8.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.3808, allocations: 0 / 0.6038 GB, free: 8.754 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002207/0.383, allocations: 1.065 MB / 0.6048 GB, free: 7.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.383, allocations: 19.91 kB / 0.6049 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.3832, allocations: 98.7 kB / 0.605 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000989/0.3842, allocations: 144.4 kB / 0.6051 GB, free: 7.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008979/0.3851, allocations: 486.7 kB / 0.6056 GB, free: 6.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.3852, allocations: 155.9 kB / 0.6057 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.3853, allocations: 51.98 kB / 0.6058 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.3868, allocations: 0.8312 MB / 0.6066 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3868, allocations: 7.953 kB / 0.6066 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.3868, allocations: 24 kB / 0.6066 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/0.3869, allocations: 44.91 kB / 0.6066 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3881, allocations: 0.6047 MB / 0.6072 GB, free: 5.066 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.3928, allocations: 4.052 MB / 0.6112 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.3935, allocations: 314.7 kB / 0.6115 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.3937, allocations: 128.8 kB / 0.6116 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.3939, allocations: 31.97 kB / 0.6116 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.3939, allocations: 46.5 kB / 0.6117 GB, free: 268 kB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.3939, allocations: 0 / 0.6117 GB, free: 268 kB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.003964/0.3979, allocations: 1.377 MB / 0.613 GB, free: 14.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.398, allocations: 140.5 kB / 0.6132 GB, free: 14.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.3988, allocations: 0.6486 MB / 0.6138 GB, free: 14.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.3988, allocations: 41.7 kB / 0.6138 GB, free: 13.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.3992, allocations: 399.5 kB / 0.6142 GB, free: 13.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.3993, allocations: 138.9 kB / 0.6143 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3995, allocations: 150.5 kB / 0.6145 GB, free: 13.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.3997, allocations: 378.8 kB / 0.6149 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.4001, allocations: 201.9 kB / 0.615 GB, free: 12.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.4007, allocations: 0.4942 MB / 0.6155 GB, free: 12.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009582/0.4016, allocations: 0.7171 MB / 0.6162 GB, free: 11.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4016, allocations: 4 kB / 0.6162 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001654/0.4033, allocations: 0.8877 MB / 0.6171 GB, free: 10.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4033, allocations: 8 kB / 0.6171 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4033, allocations: 8 kB / 0.6171 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.4046, allocations: 281.1 kB / 0.6174 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.405, allocations: 123.8 kB / 0.6175 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.4063, allocations: 1.398 MB / 0.6189 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.4068, allocations: 35.92 kB / 0.6189 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.4069, allocations: 40 kB / 0.6189 GB, free: 8.387 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003852/0.4073, allocations: 250.3 kB / 0.6192 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.4074, allocations: 75.52 kB / 0.6192 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.409, allocations: 0.705 MB / 0.6199 GB, free: 7.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.409, allocations: 4 kB / 0.6199 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.409, allocations: 0 / 0.6199 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4091, allocations: 3.984 kB / 0.6199 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.4111, allocations: 1.177 MB / 0.6211 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4111, allocations: 4 kB / 0.6211 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.4113, allocations: 43.92 kB / 0.6211 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/0.4121, allocations: 201.5 kB / 0.6213 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.4122, allocations: 12 kB / 0.6213 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.4133, allocations: 1.296 MB / 0.6226 GB, free: 4.465 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4133, allocations: 3.938 kB / 0.6226 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.4146, allocations: 0.8003 MB / 0.6234 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4149, allocations: 123.6 kB / 0.6235 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.415, allocations: 4 kB / 0.6235 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.4153, allocations: 16 kB / 0.6235 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.4154, allocations: 19.95 kB / 0.6235 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.4155, allocations: 23.98 kB / 0.6236 GB, free: 3.449 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005679/0.416, allocations: 455 kB / 0.624 GB, free: 3.012 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.416, allocations: 0 / 0.624 GB, free: 3.012 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.4168, allocations: 259.7 kB / 0.6243 GB, free: 2.758 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002073/0.4189, allocations: 1.514 MB / 0.6257 GB, free: 1.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.42, allocations: 0.5025 MB / 0.6262 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.42, allocations: 1.5 kB / 0.6262 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004953/0.4205, allocations: 212.3 kB / 0.6264 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.4219, allocations: 344.2 kB / 0.6268 GB, free: 168 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/0.4305, allocations: 6.133 MB / 0.6327 GB, free: 9.672 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.4311, allocations: 0.9303 MB / 0.6337 GB, free: 8.711 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007075/0.4318, allocations: 249.3 kB / 0.6339 GB, free: 8.469 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.4321, allocations: 231.3 kB / 0.6341 GB, free: 8.246 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4321, allocations: 0 / 0.6341 GB, free: 8.246 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05512/0.4872, allocations: 22.68 MB / 0.6563 GB, free: 1.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.44, allocations: 0 / 0.6563 GB, free: 1.777 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.408877924084663] Failed to read output from testmodel.py, exit status != 0: ['time', 'p_start', 'T_start', 'h_start', 'X_start[1]', 'volume.medium.T', 'volume.ports[1].m_flow', 'volume.ports[1].p', 'volume.ports[1].h_outflow', 'volume.ports[2].m_flow', 'volume.ports[2].p', 'volume.ports[2].h_outflow', 'volume.ports_H_flow[1]', 'volume.ports_H_flow[2]', 'volume.ports_E_flow[1]', 'volume.ports_E_flow[2]', 'volume.ports_penetration[1]', 'volume.ports_penetration[2]', 'volume.portsData_diameter[1]', 'volume.portsData_diameter[2]', 'volume.portsData_height[1]', 'volume.portsData_height[2]', 'volume.portsData_zeta_in[1]', 'volume.portsData_zeta_in[2]', 'volume.portsData_zeta_out[1]', 'volume.portsData_zeta_out[2]', 'fixedMassFlowRate.ports[1].m_flow', 'fixedMassFlowRate.ports[1].p', 'fixedMassFlowRate.ports[1].h_outflow', 'shortPipe.port_b.m_flow', 'shortPipe.port_b.p', 'shortPipe.port_b.h_outflow'] 14.546786447055638 14.562167005 14.178286237 Calling exit ...