Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.001702/0.001702, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002193/0.002193, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.465/1.465, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2271/0.2271, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.002508/0.002508, allocations: 83.86 kB / 0.4917 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1408, allocations: 66.03 MB / 0.5562 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4992/0.64, allocations: 184.7 MB / 0.7365 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007269/0.6473, allocations: 4.623 MB / 0.741 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.6478, allocations: 19.81 kB / 0.741 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009401/0.6487, allocations: 349.7 kB / 0.7414 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.6529, allocations: 1.808 MB / 0.7431 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.6551, allocations: 0.9578 MB / 0.7441 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.6572, allocations: 1.707 MB / 0.7457 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005376/0.6577, allocations: 391.1 kB / 0.7461 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.6591, allocations: 0.8721 MB / 0.747 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/0.6598, allocations: 0.5292 MB / 0.7475 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.734e-05/0.6599, allocations: 56 kB / 0.7475 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.6622, allocations: 1.314 MB / 0.7488 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.6624, allocations: 179.3 kB / 0.749 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.6628, allocations: 374.3 kB / 0.7493 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.665, allocations: 1.636 MB / 0.7509 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.665, allocations: 0 / 0.7509 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.665, allocations: 4 kB / 0.7509 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.665, allocations: 0 / 0.7509 GB, free: 9.539 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001955/0.6669, allocations: 1.14 MB / 0.7521 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.667, allocations: 12.03 kB / 0.7521 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.6671, allocations: 90.52 kB / 0.7522 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.6683, allocations: 155.5 kB / 0.7523 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.6691, allocations: 0.5124 MB / 0.7528 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.6691, allocations: 33 kB / 0.7528 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.6692, allocations: 44 kB / 0.7529 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.6703, allocations: 0.6438 MB / 0.7535 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.6704, allocations: 0 / 0.7535 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.6704, allocations: 24 kB / 0.7535 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.6704, allocations: 12 kB / 0.7535 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/0.6713, allocations: 499.6 kB / 0.754 GB, free: 6.242 MB / 0.5606 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.003223/0.6746, allocations: 2.657 MB / 0.7566 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.6753, allocations: 294.9 kB / 0.7569 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.6755, allocations: 148.7 kB / 0.757 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004198/0.676, allocations: 437.5 kB / 0.7575 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.676, allocations: 46.44 kB / 0.7575 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.676, allocations: 4 kB / 0.7575 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001701/0.6777, allocations: 0.7134 MB / 0.7582 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.6778, allocations: 158.2 kB / 0.7583 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.6784, allocations: 0.5185 MB / 0.7589 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.6785, allocations: 37.7 kB / 0.7589 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.6787, allocations: 308.1 kB / 0.7592 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.6788, allocations: 130.8 kB / 0.7593 GB, free: 452 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.679, allocations: 122.2 kB / 0.7594 GB, free: 324 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.6792, allocations: 366.7 kB / 0.7598 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.6795, allocations: 145 kB / 0.7599 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.68, allocations: 319 kB / 0.7602 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.6807, allocations: 474.5 kB / 0.7607 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6807, allocations: 4 kB / 0.7607 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001069/0.6818, allocations: 0.5722 MB / 0.7612 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6818, allocations: 11.94 kB / 0.7612 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6818, allocations: 8.031 kB / 0.7613 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.6834, allocations: 240.5 kB / 0.7615 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.6838, allocations: 119.8 kB / 0.7616 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005217/0.6843, allocations: 0.5836 MB / 0.7622 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.6846, allocations: 55.58 kB / 0.7622 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.6847, allocations: 55.98 kB / 0.7623 GB, free: 13.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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.000283/0.685, allocations: 197.7 kB / 0.7625 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.6851, allocations: 59.66 kB / 0.7625 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.6871, allocations: 1.106 MB / 0.7636 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6871, allocations: 4 kB / 0.7636 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6871, allocations: 0 / 0.7636 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6871, allocations: 3.984 kB / 0.7636 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.6886, allocations: 1.002 MB / 0.7646 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.6886, allocations: 4 kB / 0.7646 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.6888, allocations: 57.03 kB / 0.7646 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/0.6922, allocations: 440.3 kB / 0.7651 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.6922, allocations: 11.98 kB / 0.7651 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006981/0.6929, allocations: 0.5961 MB / 0.7657 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6929, allocations: 3.938 kB / 0.7657 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.6942, allocations: 0.5087 MB / 0.7662 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.6944, allocations: 144.7 kB / 0.7663 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.6946, allocations: 11.94 kB / 0.7663 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.6951, allocations: 15.98 kB / 0.7663 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.6952, allocations: 31.91 kB / 0.7664 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.6953, allocations: 24.05 kB / 0.7664 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009025/0.6962, allocations: 447 kB / 0.7668 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6962, allocations: 0 / 0.7668 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001509/0.6977, allocations: 295.4 kB / 0.7671 GB, free: 8.086 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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.002619/0.7003, allocations: 1.319 MB / 0.7684 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.7016, allocations: 352.7 kB / 0.7687 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.7016, allocations: 4.062 kB / 0.7687 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004734/0.702, allocations: 147.7 kB / 0.7689 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.7049, allocations: 407.4 kB / 0.7692 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.7155, allocations: 5.057 MB / 0.7742 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006917/0.7162, allocations: 0.8716 MB / 0.775 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001689/0.7179, allocations: 0.5706 MB / 0.7756 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/0.7185, allocations: 235.3 kB / 0.7758 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.7185, allocations: 0 / 0.7758 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06509/0.7836, allocations: 23.22 MB / 0.7985 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.06, allocations: 3.938 kB / 0.7985 GB, free: 7.852 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.23885346390307] Failed to read output from testmodel.py, exit status != 0: ['time', 'input_mflow.y', 'input_p.y', 'IN_p.ports[1].m_flow', 'IN_p.ports[1].p', 'IN_p.ports[1].h_outflow', 'OUT_dp.ports[1].m_flow', 'OUT_dp.ports[1].p', 'OUT_dp.ports[1].h_outflow', 'OUT_mflow.ports[1].m_flow', 'OUT_mflow.ports[1].p', 'OUT_mflow.ports[1].h_outflow', 'IN_mflow.ports[1].m_flow', 'IN_mflow.ports[1].p', 'IN_mflow.ports[1].h_outflow', 'from_dp.port_b.m_flow', 'from_dp.port_b.p', 'from_dp.port_b.h_outflow', 'from_mflow.port_b.m_flow', 'from_mflow.port_b.p', 'from_mflow.port_b.h_outflow'] 14.183496086392552 14.199128601 13.531200386 Calling exit ...