Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.00177/0.001771, allocations: 121.4 kB / 18.45 MB, free: 4.637 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.002113/0.002112, allocations: 206.5 kB / 21.41 MB, free: 1.684 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.485/1.485, allocations: 227.4 MB / 251.6 MB, free: 100 kB / 190.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.2435/0.2435, allocations: 46.15 MB / 351.1 MB, free: 14.33 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.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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.003567/0.003567, allocations: 77.91 kB / 489.7 MB, free: 28.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1339, allocations: 62.45 MB / 0.5392 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4956/0.6295, allocations: 186 MB / 0.7208 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007046/0.6366, allocations: 3.666 MB / 0.7244 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/0.6374, allocations: 15.94 kB / 0.7244 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.6386, allocations: 317.8 kB / 0.7247 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.6438, allocations: 1.716 MB / 0.7264 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.6461, allocations: 0.7053 MB / 0.7271 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.6486, allocations: 1.536 MB / 0.7286 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009489/0.6496, allocations: 424.8 kB / 0.729 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.6509, allocations: 0.576 MB / 0.7295 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000982/0.652, allocations: 458.1 kB / 0.73 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.6522, allocations: 52 kB / 0.73 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.6566, allocations: 1.925 MB / 0.7319 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.657, allocations: 167.4 kB / 0.732 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007011/0.6577, allocations: 342.5 kB / 0.7324 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004698/0.6624, allocations: 1.827 MB / 0.7342 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6624, allocations: 0 / 0.7342 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6625, allocations: 0 / 0.7342 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.123e-05/0.6625, allocations: 0 / 0.7342 GB, free: 8.234 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002815/0.6653, allocations: 1.112 MB / 0.7352 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6654, allocations: 12.03 kB / 0.7353 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.6656, allocations: 82.53 kB / 0.7353 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.6668, allocations: 143.5 kB / 0.7355 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.6678, allocations: 484.8 kB / 0.7359 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.6679, allocations: 29 kB / 0.736 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.668, allocations: 43.94 kB / 0.736 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6693, allocations: 0.5867 MB / 0.7366 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.6693, allocations: 4 kB / 0.7366 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.6694, allocations: 20 kB / 0.7366 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.6694, allocations: 12 kB / 0.7366 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.6705, allocations: 479.5 kB / 0.7371 GB, free: 5.113 MB / 0.5294 GB 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.003975/0.6745, allocations: 2.644 MB / 0.7396 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009381/0.6755, allocations: 351.4 kB / 0.74 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.6758, allocations: 177.2 kB / 0.7402 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000486/0.6763, allocations: 429.8 kB / 0.7406 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6764, allocations: 38.84 kB / 0.7406 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.6764, allocations: 0 / 0.7406 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.00199/0.6784, allocations: 0.719 MB / 0.7413 GB, free: 432 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.6785, allocations: 140.5 kB / 0.7414 GB, free: 260 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007236/0.6793, allocations: 466 kB / 0.7419 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.6794, allocations: 33.7 kB / 0.7419 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.6796, allocations: 280.2 kB / 0.7422 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.6798, allocations: 123 kB / 0.7423 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.68, allocations: 106.1 kB / 0.7424 GB, free: 15.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.6802, allocations: 354.8 kB / 0.7427 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.6805, allocations: 148.8 kB / 0.7429 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.6811, allocations: 279.6 kB / 0.7431 GB, free: 14.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008378/0.6819, allocations: 437.6 kB / 0.7436 GB, free: 13.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6819, allocations: 0 / 0.7436 GB, free: 13.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001216/0.6831, allocations: 0.5445 MB / 0.7441 GB, free: 13.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6832, allocations: 9.969 kB / 0.7441 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6832, allocations: 4.047 kB / 0.7441 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.6849, allocations: 237 kB / 0.7443 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.6853, allocations: 107.9 kB / 0.7444 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006084/0.6859, allocations: 0.5913 MB / 0.745 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.6863, allocations: 51.66 kB / 0.7451 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.6865, allocations: 47.98 kB / 0.7451 GB, free: 12.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003379/0.6868, allocations: 185.6 kB / 0.7453 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.687, allocations: 55.73 kB / 0.7453 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.6892, allocations: 1.083 MB / 0.7464 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.6892, allocations: 7.984 kB / 0.7464 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.6892, allocations: 0 / 0.7464 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6892, allocations: 0 / 0.7464 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.691, allocations: 1.009 MB / 0.7474 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.691, allocations: 0 / 0.7474 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.6913, allocations: 55.91 kB / 0.7474 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/0.6946, allocations: 432.3 kB / 0.7479 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.6947, allocations: 19.98 kB / 0.7479 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005763/0.6953, allocations: 0.5954 MB / 0.7485 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.6953, allocations: 7.875 kB / 0.7485 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.6963, allocations: 0.508 MB / 0.749 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.6966, allocations: 132.7 kB / 0.7491 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.6967, allocations: 19.89 kB / 0.7491 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.6971, allocations: 15.98 kB / 0.7491 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.6972, allocations: 35.84 kB / 0.7492 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.6972, allocations: 15.98 kB / 0.7492 GB, free: 7.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006049/0.6979, allocations: 398.8 kB / 0.7495 GB, free: 7.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6979, allocations: 0 / 0.7495 GB, free: 7.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001061/0.6989, allocations: 343 kB / 0.7499 GB, free: 7.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002488/0.7014, allocations: 1.392 MB / 0.7512 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.7025, allocations: 379.5 kB / 0.7516 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.7025, allocations: 0 / 0.7516 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.7029, allocations: 169 kB / 0.7518 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.7049, allocations: 378.8 kB / 0.7521 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.7129, allocations: 4.814 MB / 0.7568 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.7135, allocations: 0.8518 MB / 0.7577 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001219/0.7148, allocations: 0.555 MB / 0.7582 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.7153, allocations: 223.3 kB / 0.7584 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.7153, allocations: 0 / 0.7584 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.7779, allocations: 23.13 MB / 0.781 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.7, allocations: 8.469 kB / 0.781 GB, free: 7.336 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.769082954037003] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 13.8047318989411 13.81860556 13.153226951 Calling exit ...