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.001419/0.001419, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001491/0.001491, allocations: 222.5 kB / 22.92 MB, free: 5.535 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.319/1.319, allocations: 230.2 MB / 256.1 MB, free: 8.746 MB / 206.1 MB " [Timeout remaining time 179] 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.2035/0.2035, allocations: 46.89 MB / 359.3 MB, free: 4.965 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.002122/0.002122, allocations: 75.88 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2643, allocations: 65.99 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4378/0.7021, allocations: 184.9 MB / 0.739 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005307/0.7074, allocations: 4.649 MB / 0.7435 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.7079, allocations: 18.22 kB / 0.7435 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007066/0.7086, allocations: 347.3 kB / 0.7439 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.7121, allocations: 1.807 MB / 0.7456 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.7139, allocations: 0.9504 MB / 0.7466 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001492/0.7154, allocations: 1.72 MB / 0.7482 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.7158, allocations: 374.7 kB / 0.7486 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.7168, allocations: 0.8634 MB / 0.7494 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.7173, allocations: 0.5209 MB / 0.7499 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.423e-05/0.7174, allocations: 53.56 kB / 0.75 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.7193, allocations: 1.317 MB / 0.7513 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.7195, allocations: 178.3 kB / 0.7515 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.7198, allocations: 375.6 kB / 0.7518 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.7214, allocations: 1.637 MB / 0.7534 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7214, allocations: 4.781 kB / 0.7534 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7214, allocations: 0 / 0.7534 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.7214, allocations: 0.9375 kB / 0.7534 GB, free: 1.5 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.001639/0.723, allocations: 1.138 MB / 0.7545 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.723, allocations: 9.688 kB / 0.7545 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.725e-05/0.7231, allocations: 94.44 kB / 0.7546 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.7243, allocations: 163.1 kB / 0.7548 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.7249, allocations: 0.5076 MB / 0.7553 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.7249, allocations: 35.66 kB / 0.7553 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.725, allocations: 53.77 kB / 0.7554 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.7259, allocations: 0.6402 MB / 0.756 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.7259, allocations: 3.188 kB / 0.756 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/0.7259, allocations: 25.17 kB / 0.756 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.726, allocations: 16.17 kB / 0.756 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.7267, allocations: 499.2 kB / 0.7565 GB, free: 16.34 MB / 0.5762 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.002579/0.7293, allocations: 2.643 MB / 0.7591 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.7298, allocations: 303.3 kB / 0.7594 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.73, allocations: 148.6 kB / 0.7595 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.7304, allocations: 443.2 kB / 0.7599 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.7305, allocations: 37.56 kB / 0.76 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.7305, allocations: 0 / 0.76 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001389/0.7318, allocations: 0.7065 MB / 0.7607 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.7319, allocations: 164 kB / 0.7608 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.7324, allocations: 0.5173 MB / 0.7613 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.7324, allocations: 35.36 kB / 0.7614 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.7326, allocations: 306.7 kB / 0.7617 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.7327, allocations: 131.9 kB / 0.7618 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.7328, allocations: 121.1 kB / 0.7619 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.733, allocations: 368.5 kB / 0.7622 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.7332, allocations: 145.5 kB / 0.7624 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.7335, allocations: 320 kB / 0.7627 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.7341, allocations: 480.1 kB / 0.7631 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7341, allocations: 0.9375 kB / 0.7631 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008565/0.7349, allocations: 0.5775 MB / 0.7637 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.735, allocations: 7.812 kB / 0.7637 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.735, allocations: 6.875 kB / 0.7637 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.7363, allocations: 238.6 kB / 0.764 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.7367, allocations: 123.8 kB / 0.7641 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004303/0.7371, allocations: 0.5836 MB / 0.7646 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.7374, allocations: 59.86 kB / 0.7647 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.7375, allocations: 58.59 kB / 0.7648 GB, free: 12.01 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.0002131/0.7377, allocations: 187.5 kB / 0.7649 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.7378, allocations: 67.28 kB / 0.765 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.7393, allocations: 1.097 MB / 0.7661 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.7393, allocations: 3.344 kB / 0.7661 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.7393, allocations: 4.625 kB / 0.7661 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7393, allocations: 6.125 kB / 0.7661 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.7405, allocations: 1.006 MB / 0.7671 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7405, allocations: 8.531 kB / 0.7671 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.7407, allocations: 46.17 kB / 0.7671 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/0.7435, allocations: 438.1 kB / 0.7675 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.7436, allocations: 11.41 kB / 0.7675 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000426/0.744, allocations: 0.6 MB / 0.7681 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.744, allocations: 2.969 kB / 0.7681 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.7446, allocations: 0.5066 MB / 0.7686 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.7448, allocations: 141 kB / 0.7688 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.7449, allocations: 16.31 kB / 0.7688 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.7452, allocations: 18.16 kB / 0.7688 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.7452, allocations: 28.78 kB / 0.7688 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.7453, allocations: 19.89 kB / 0.7688 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004527/0.7457, allocations: 447.2 kB / 0.7693 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7457, allocations: 0 / 0.7693 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008232/0.7465, allocations: 301.6 kB / 0.7696 GB, free: 10.27 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.001582/0.7481, allocations: 1.34 MB / 0.7709 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006583/0.7488, allocations: 357.6 kB / 0.7712 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7488, allocations: 0.9062 kB / 0.7712 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.749, allocations: 154.5 kB / 0.7714 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.7507, allocations: 400 kB / 0.7717 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.7565, allocations: 5.05 MB / 0.7767 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.7569, allocations: 0.8739 MB / 0.7775 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009144/0.7578, allocations: 0.5613 MB / 0.7781 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.7581, allocations: 243.4 kB / 0.7783 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.7581, allocations: 4.188 kB / 0.7783 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04755/0.8057, allocations: 23.27 MB / 0.801 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.19, allocations: 3.859 kB / 0.801 GB, free: 13.17 MB / 0.5919 GB " [Timeout remaining time 648] (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: 14.804197561010369]