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.001849/0.001849, allocations: 120.4 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.002031/0.002031, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.404/1.404, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2288/0.2288, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.002227/0.002227, allocations: 79.86 kB / 0.4912 GB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1247, allocations: 65.98 MB / 0.5556 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4894/0.6141, allocations: 184.7 MB / 0.736 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00864/0.6227, allocations: 4.615 MB / 0.7405 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008439/0.6236, allocations: 19.88 kB / 0.7405 GB, free: 4.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.6248, allocations: 349.7 kB / 0.7409 GB, free: 4.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005432/0.6302, allocations: 1.818 MB / 0.7426 GB, free: 2.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.6328, allocations: 0.9441 MB / 0.7436 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002627/0.6354, allocations: 1.703 MB / 0.7452 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007945/0.6362, allocations: 398.8 kB / 0.7456 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.6382, allocations: 0.8643 MB / 0.7464 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.6393, allocations: 0.5215 MB / 0.747 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.6395, allocations: 56 kB / 0.747 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.6424, allocations: 1.31 MB / 0.7483 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.6426, allocations: 183.3 kB / 0.7485 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005594/0.6432, allocations: 374.4 kB / 0.7488 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.646, allocations: 1.643 MB / 0.7504 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.646, allocations: 0 / 0.7504 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.646, allocations: 0 / 0.7504 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.646, allocations: 0 / 0.7504 GB, free: 10.51 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.002145/0.6482, allocations: 1.128 MB / 0.7515 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6482, allocations: 16.02 kB / 0.7515 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.6483, allocations: 90.52 kB / 0.7516 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.6496, allocations: 163.5 kB / 0.7518 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/0.6506, allocations: 0.5201 MB / 0.7523 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.6506, allocations: 33 kB / 0.7523 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.6507, allocations: 44 kB / 0.7524 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.6519, allocations: 0.6399 MB / 0.753 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.6519, allocations: 7.938 kB / 0.753 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.652, allocations: 20 kB / 0.753 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.652, allocations: 12 kB / 0.753 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.653, allocations: 0.4918 MB / 0.7535 GB, free: 7.199 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.003655/0.6567, allocations: 2.645 MB / 0.7561 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007654/0.6574, allocations: 302.8 kB / 0.7564 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.6577, allocations: 144.8 kB / 0.7565 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.6582, allocations: 437.5 kB / 0.7569 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.6582, allocations: 41.75 kB / 0.757 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.475e-06/0.6582, allocations: 0 / 0.757 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001742/0.66, allocations: 0.7173 MB / 0.7577 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.6601, allocations: 162.2 kB / 0.7578 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.6608, allocations: 0.5146 MB / 0.7583 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.6608, allocations: 33.7 kB / 0.7584 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.6612, allocations: 312.1 kB / 0.7587 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.6613, allocations: 130.8 kB / 0.7588 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.6615, allocations: 118.2 kB / 0.7589 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002434/0.6617, allocations: 370.8 kB / 0.7593 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.6621, allocations: 141.1 kB / 0.7594 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.6625, allocations: 322.9 kB / 0.7597 GB, free: 396 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.6633, allocations: 474.6 kB / 0.7602 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6633, allocations: 4 kB / 0.7602 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001072/0.6644, allocations: 0.5756 MB / 0.7607 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6644, allocations: 11.88 kB / 0.7607 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.6644, allocations: 8 kB / 0.7607 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.666, allocations: 237 kB / 0.761 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.6664, allocations: 115.9 kB / 0.7611 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000619/0.667, allocations: 0.5836 MB / 0.7616 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.6674, allocations: 59.56 kB / 0.7617 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.6674, allocations: 52 kB / 0.7617 GB, free: 14.18 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.000302/0.6677, allocations: 196.4 kB / 0.7619 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.6679, allocations: 63.66 kB / 0.762 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.6699, allocations: 1.109 MB / 0.7631 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.6699, allocations: 4 kB / 0.7631 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6699, allocations: 0 / 0.7631 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.6699, allocations: 0 / 0.7631 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.6716, allocations: 1.01 MB / 0.7641 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6716, allocations: 5.125 kB / 0.7641 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.6718, allocations: 55.91 kB / 0.7641 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003244/0.6751, allocations: 436.3 kB / 0.7645 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.6751, allocations: 12 kB / 0.7646 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005042/0.6756, allocations: 0.5961 MB / 0.7651 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6756, allocations: 8.094 kB / 0.7651 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.6764, allocations: 0.5047 MB / 0.7656 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.6766, allocations: 144.7 kB / 0.7658 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/0.6767, allocations: 11.94 kB / 0.7658 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.677, allocations: 12 kB / 0.7658 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.677, allocations: 27.97 kB / 0.7658 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.6771, allocations: 23.98 kB / 0.7658 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005806/0.6777, allocations: 451 kB / 0.7663 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6777, allocations: 0 / 0.7663 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009056/0.6786, allocations: 299.4 kB / 0.7666 GB, free: 9.055 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.002051/0.6806, allocations: 1.343 MB / 0.7679 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008726/0.6815, allocations: 348.8 kB / 0.7682 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6815, allocations: 0 / 0.7682 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.6818, allocations: 148 kB / 0.7683 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.6836, allocations: 401.1 kB / 0.7687 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/0.691, allocations: 5.056 MB / 0.7737 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.6915, allocations: 0.8676 MB / 0.7745 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001206/0.6927, allocations: 0.5747 MB / 0.7751 GB, free: 36 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.6932, allocations: 239.4 kB / 0.7753 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/0.6932, allocations: 0 / 0.7753 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05788/0.7511, allocations: 23.26 MB / 0.798 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.73, allocations: 2.656 kB / 0.798 GB, free: 8.785 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 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.65015329280868] 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.841860324144363 13.86771404 13.216806594 Calling exit ...