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.Essotherm650.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.001708/0.001708, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001968/0.001968, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.416/1.416, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2175/0.2175, allocations: 46.92 MB / 361.6 MB, free: 4.203 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.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.00224/0.00224, allocations: 75.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3429, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.0305/0.3734, allocations: 25.38 MB / 0.5863 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007015/0.3804, allocations: 4.406 MB / 0.5906 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006784/0.3811, allocations: 27.75 kB / 0.5906 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009348/0.382, allocations: 302.1 kB / 0.5909 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.3862, allocations: 1.704 MB / 0.5926 GB, free: 4.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.3896, allocations: 1.401 MB / 0.594 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002645/0.3922, allocations: 1.875 MB / 0.5958 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007102/0.3929, allocations: 421.5 kB / 0.5962 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006345/0.3993, allocations: 3.445 MB / 0.5996 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.4018, allocations: 1.48 MB / 0.601 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.402, allocations: 60 kB / 0.6011 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.4052, allocations: 1.369 MB / 0.6024 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.4056, allocations: 279.1 kB / 0.6027 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005579/0.4061, allocations: 398.2 kB / 0.603 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.4082, allocations: 1.382 MB / 0.6044 GB, free: 8.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4082, allocations: 0 / 0.6044 GB, free: 8.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4082, allocations: 0 / 0.6044 GB, free: 8.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.4082, allocations: 0 / 0.6044 GB, free: 8.242 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.00222/0.4104, allocations: 1.072 MB / 0.6054 GB, free: 7.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4105, allocations: 8.031 kB / 0.6054 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.4106, allocations: 98.7 kB / 0.6055 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009926/0.4116, allocations: 148.4 kB / 0.6057 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.4126, allocations: 490.6 kB / 0.6062 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.4127, allocations: 163.9 kB / 0.6063 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.4128, allocations: 47.98 kB / 0.6064 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.4143, allocations: 0.8317 MB / 0.6072 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.4144, allocations: 7.953 kB / 0.6072 GB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.4144, allocations: 27.98 kB / 0.6072 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-05/0.4145, allocations: 36.98 kB / 0.6072 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.4157, allocations: 0.6009 MB / 0.6078 GB, free: 4.551 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.005339/0.4211, allocations: 4.04 MB / 0.6118 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.4218, allocations: 318.6 kB / 0.6121 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.4221, allocations: 132.8 kB / 0.6122 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.4223, allocations: 31.98 kB / 0.6122 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.4223, allocations: 38.56 kB / 0.6123 GB, free: 15.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.4223, allocations: 0 / 0.6123 GB, free: 15.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.004009/0.4263, allocations: 1.393 MB / 0.6136 GB, free: 14.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.4264, allocations: 132.5 kB / 0.6138 GB, free: 14.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/0.4273, allocations: 0.6603 MB / 0.6144 GB, free: 13.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.4273, allocations: 33.7 kB / 0.6144 GB, free: 13.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.4276, allocations: 403.5 kB / 0.6148 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4278, allocations: 134.9 kB / 0.6149 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.428, allocations: 154.5 kB / 0.6151 GB, free: 12.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.4282, allocations: 374.8 kB / 0.6154 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.4286, allocations: 201.9 kB / 0.6156 GB, free: 12.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.4292, allocations: 0.5059 MB / 0.6161 GB, free: 11.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.4302, allocations: 0.7015 MB / 0.6168 GB, free: 10.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4302, allocations: 4 kB / 0.6168 GB, free: 10.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001677/0.4319, allocations: 0.8875 MB / 0.6177 GB, free: 9.812 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4319, allocations: 8 kB / 0.6177 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.4319, allocations: 8 kB / 0.6177 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4332, allocations: 284.9 kB / 0.618 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.4335, allocations: 123.8 kB / 0.6181 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.4349, allocations: 1.397 MB / 0.6195 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.4354, allocations: 28 kB / 0.6195 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.4354, allocations: 40 kB / 0.6195 GB, free: 7.879 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.0003563/0.4358, allocations: 258.5 kB / 0.6198 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.4359, allocations: 79.45 kB / 0.6198 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.4376, allocations: 0.7083 MB / 0.6205 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.4376, allocations: 4 kB / 0.6205 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4376, allocations: 0 / 0.6205 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4376, allocations: 3.984 kB / 0.6205 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.4396, allocations: 1.177 MB / 0.6217 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4396, allocations: 0 / 0.6217 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.4397, allocations: 39.92 kB / 0.6217 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008604/0.4406, allocations: 205.5 kB / 0.6219 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.4406, allocations: 8 kB / 0.6219 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.4418, allocations: 1.296 MB / 0.6232 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4418, allocations: 7.875 kB / 0.6232 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.4432, allocations: 0.8161 MB / 0.624 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.4434, allocations: 107.5 kB / 0.6241 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.4435, allocations: 8 kB / 0.6241 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.4439, allocations: 15.98 kB / 0.6241 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.4439, allocations: 23.95 kB / 0.6242 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.444, allocations: 23.98 kB / 0.6242 GB, free: 2.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005794/0.4446, allocations: 455.1 kB / 0.6246 GB, free: 2.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4446, allocations: 0 / 0.6246 GB, free: 2.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008126/0.4454, allocations: 255.7 kB / 0.6249 GB, free: 2.238 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.002101/0.4475, allocations: 1.51 MB / 0.6263 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.4486, allocations: 0.5076 MB / 0.6268 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4486, allocations: 4.25 kB / 0.6268 GB, free: 184 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.4491, allocations: 208.2 kB / 0.627 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.4506, allocations: 336.4 kB / 0.6274 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008742/0.4593, allocations: 6.133 MB / 0.6333 GB, free: 9.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.46, allocations: 0.9303 MB / 0.6342 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007403/0.4607, allocations: 257.5 kB / 0.6345 GB, free: 7.949 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.461, allocations: 227.4 kB / 0.6347 GB, free: 7.73 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.461, allocations: 0 / 0.6347 GB, free: 7.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/0.5226, allocations: 22.67 MB / 0.6568 GB, free: 1.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.54, allocations: 13.81 kB / 0.6569 GB, free: 1.258 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_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_Essotherm650.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.46885672910139] 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.651037816889584 14.674365364 14.26139166 Calling exit ...