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.001745/0.001745, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.001393/0.001393, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.423/1.423, allocations: 227.4 MB / 251.7 MB, free: 36 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.2295/0.2295, allocations: 46.15 MB / 351.1 MB, free: 14.3 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.003056/0.003056, allocations: 76.66 kB / 489.7 MB, free: 28.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.152, allocations: 62.45 MB / 0.5392 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4956/0.6477, allocations: 184.1 MB / 0.7189 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007577/0.6553, allocations: 4.607 MB / 0.7234 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008337/0.6562, allocations: 19.88 kB / 0.7235 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.6574, allocations: 341.7 kB / 0.7238 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.6624, allocations: 1.783 MB / 0.7255 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.6651, allocations: 0.9465 MB / 0.7265 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002598/0.6677, allocations: 1.699 MB / 0.7281 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.6684, allocations: 442.2 kB / 0.7285 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.6702, allocations: 0.8486 MB / 0.7294 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006946/0.671, allocations: 0.4981 MB / 0.7298 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.6711, allocations: 56 kB / 0.7299 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.6738, allocations: 1.299 MB / 0.7312 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.674, allocations: 171.4 kB / 0.7313 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004207/0.6744, allocations: 382.3 kB / 0.7317 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.677, allocations: 1.632 MB / 0.7333 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.677, allocations: 11.94 kB / 0.7333 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6771, allocations: 0 / 0.7333 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6771, allocations: 3.938 kB / 0.7333 GB, free: 9.086 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002063/0.6791, allocations: 1.132 MB / 0.7344 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6792, allocations: 16.02 kB / 0.7344 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.6793, allocations: 83.41 kB / 0.7345 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.6806, allocations: 163.5 kB / 0.7347 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.6814, allocations: 0.5085 MB / 0.7352 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.6815, allocations: 37 kB / 0.7352 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.6816, allocations: 44 kB / 0.7352 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.6827, allocations: 0.6438 MB / 0.7359 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6828, allocations: 0 / 0.7359 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.6828, allocations: 24 kB / 0.7359 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.6829, allocations: 12 kB / 0.7359 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.6838, allocations: 0.4956 MB / 0.7364 GB, free: 5.781 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.003342/0.6872, allocations: 2.652 MB / 0.739 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.6879, allocations: 324.6 kB / 0.7393 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.6882, allocations: 160.7 kB / 0.7394 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000461/0.6887, allocations: 441.5 kB / 0.7399 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.6888, allocations: 38.56 kB / 0.7399 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.6888, allocations: 4 kB / 0.7399 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001698/0.6905, allocations: 0.7017 MB / 0.7406 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.6906, allocations: 166.2 kB / 0.7407 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.6913, allocations: 0.5185 MB / 0.7412 GB, free: 440 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.6914, allocations: 37.64 kB / 0.7413 GB, free: 396 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.6917, allocations: 312.1 kB / 0.7416 GB, free: 80 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.6918, allocations: 131 kB / 0.7417 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.692, allocations: 118.2 kB / 0.7418 GB, free: 15.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.6922, allocations: 366.8 kB / 0.7422 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.6925, allocations: 141.1 kB / 0.7423 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.693, allocations: 323 kB / 0.7426 GB, free: 14.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008004/0.6938, allocations: 478.5 kB / 0.7431 GB, free: 14.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6939, allocations: 0 / 0.7431 GB, free: 14.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00108/0.6949, allocations: 0.5645 MB / 0.7436 GB, free: 13.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.695, allocations: 15.81 kB / 0.7436 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.695, allocations: 4 kB / 0.7436 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.6966, allocations: 240.5 kB / 0.7439 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.697, allocations: 119.8 kB / 0.744 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005139/0.6975, allocations: 0.5875 MB / 0.7446 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.6979, allocations: 59.56 kB / 0.7446 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.698, allocations: 48 kB / 0.7447 GB, free: 12.73 MB / 0.545 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.0002698/0.6983, allocations: 197.6 kB / 0.7448 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6984, allocations: 63.75 kB / 0.7449 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.7005, allocations: 1.113 MB / 0.746 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7005, allocations: 4 kB / 0.746 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7005, allocations: 0 / 0.746 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.7005, allocations: 0 / 0.746 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.702, allocations: 1.014 MB / 0.747 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.702, allocations: 0 / 0.747 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.7022, allocations: 60.72 kB / 0.747 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00311/0.7053, allocations: 440.4 kB / 0.7475 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.7054, allocations: 8 kB / 0.7475 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004936/0.7059, allocations: 0.6031 MB / 0.7481 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7059, allocations: 4.031 kB / 0.7481 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.7067, allocations: 0.5087 MB / 0.7486 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.7069, allocations: 136.7 kB / 0.7487 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.707, allocations: 15.94 kB / 0.7487 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.7073, allocations: 20 kB / 0.7487 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.7074, allocations: 23.91 kB / 0.7487 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.7075, allocations: 19.98 kB / 0.7488 GB, free: 8.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006221/0.7081, allocations: 455 kB / 0.7492 GB, free: 7.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7081, allocations: 0 / 0.7492 GB, free: 7.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008731/0.709, allocations: 295.4 kB / 0.7495 GB, free: 7.59 MB / 0.545 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.001999/0.711, allocations: 1.335 MB / 0.7508 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009391/0.7119, allocations: 376.6 kB / 0.7511 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7119, allocations: 0 / 0.7511 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.7123, allocations: 160.3 kB / 0.7513 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.7142, allocations: 408 kB / 0.7517 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/0.7218, allocations: 5.054 MB / 0.7566 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.7224, allocations: 0.8755 MB / 0.7575 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001241/0.7237, allocations: 0.5715 MB / 0.758 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.7241, allocations: 239.3 kB / 0.7583 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.7241, allocations: 3.938 kB / 0.7583 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/0.7807, allocations: 23.14 MB / 0.7809 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.44, allocations: 19.5 kB / 0.7809 GB, free: 7.387 MB / 0.5762 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: 16.592280535027385] 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'] 13.547794605023228 13.566060098 12.886409116 Calling exit ...