Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001174/0.001174, allocations: 109.5 kB / 19.74 MB, free: 2.586 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.001282/0.001282, allocations: 223.1 kB / 22.92 MB, free: 5.559 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.288/1.288, allocations: 230.2 MB / 256.1 MB, free: 8.617 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.1975/0.1975, allocations: 46.89 MB / 359.3 MB, free: 4.945 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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.002087/0.002087, allocations: 79.86 kB / 0.494 GB, free: 9.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2531, allocations: 65.99 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4405/0.6937, allocations: 186.8 MB / 0.7409 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.6975, allocations: 3.299 MB / 0.7441 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.6978, allocations: 17.5 kB / 0.7441 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.6985, allocations: 330.7 kB / 0.7444 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.7008, allocations: 1.423 MB / 0.7458 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.702, allocations: 0.7273 MB / 0.7465 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.7032, allocations: 1.566 MB / 0.7481 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.7035, allocations: 361.2 kB / 0.7484 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.704, allocations: 0.5961 MB / 0.749 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.7045, allocations: 489.1 kB / 0.7495 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.7045, allocations: 51.84 kB / 0.7495 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.706, allocations: 1.215 MB / 0.7507 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.7061, allocations: 164 kB / 0.7508 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.7064, allocations: 352.3 kB / 0.7512 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.7078, allocations: 1.51 MB / 0.7527 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.7078, allocations: 1.891 kB / 0.7527 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7078, allocations: 0 / 0.7527 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7078, allocations: 4.094 kB / 0.7527 GB, free: 1.578 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001537/0.7093, allocations: 1.079 MB / 0.7537 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.7093, allocations: 6.844 kB / 0.7537 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.736e-05/0.7094, allocations: 86.64 kB / 0.7538 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.7103, allocations: 143.2 kB / 0.7539 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.7109, allocations: 0.4976 MB / 0.7544 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.7109, allocations: 31.78 kB / 0.7545 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.711, allocations: 38.97 kB / 0.7545 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.7118, allocations: 0.5972 MB / 0.7551 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7118, allocations: 2.312 kB / 0.7551 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.7119, allocations: 18.69 kB / 0.7551 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.7119, allocations: 11.78 kB / 0.7551 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.7127, allocations: 486.6 kB / 0.7556 GB, free: 16.47 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.002437/0.7151, allocations: 2.672 MB / 0.7582 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.7157, allocations: 321.2 kB / 0.7585 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.7159, allocations: 157.2 kB / 0.7586 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.7163, allocations: 442.4 kB / 0.7591 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.7163, allocations: 37.59 kB / 0.7591 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.7163, allocations: 0.8438 kB / 0.7591 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001468/0.7178, allocations: 0.733 MB / 0.7598 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.7179, allocations: 135.6 kB / 0.7599 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.7183, allocations: 495.3 kB / 0.7604 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.7183, allocations: 31.45 kB / 0.7604 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.7185, allocations: 290.3 kB / 0.7607 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.7185, allocations: 125.5 kB / 0.7608 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.7187, allocations: 101.3 kB / 0.7609 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7188, allocations: 364.9 kB / 0.7613 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.7191, allocations: 148 kB / 0.7614 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.7194, allocations: 287.6 kB / 0.7617 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.72, allocations: 442.4 kB / 0.7621 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.72, allocations: 3.188 kB / 0.7621 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008299/0.7208, allocations: 0.5401 MB / 0.7627 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7208, allocations: 11.19 kB / 0.7627 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.7208, allocations: 3.688 kB / 0.7627 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.7222, allocations: 240.4 kB / 0.7629 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.7225, allocations: 107.9 kB / 0.763 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004205/0.7229, allocations: 0.6066 MB / 0.7636 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.7232, allocations: 56.03 kB / 0.7636 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.7232, allocations: 46.59 kB / 0.7637 GB, free: 12.19 MB / 0.5762 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.0002034/0.7235, allocations: 178.9 kB / 0.7639 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.7236, allocations: 60.17 kB / 0.7639 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.7251, allocations: 1.093 MB / 0.765 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7251, allocations: 3.375 kB / 0.765 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7251, allocations: 11.36 kB / 0.765 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.7251, allocations: 0 / 0.765 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.7263, allocations: 1.022 MB / 0.766 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7263, allocations: 6.094 kB / 0.766 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.7265, allocations: 52.56 kB / 0.7661 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.7293, allocations: 441 kB / 0.7665 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.7293, allocations: 9.5 kB / 0.7665 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004329/0.7298, allocations: 0.6156 MB / 0.7671 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7298, allocations: 2.094 kB / 0.7671 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.7305, allocations: 0.5094 MB / 0.7676 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.7306, allocations: 143.6 kB / 0.7677 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.7306, allocations: 12.06 kB / 0.7677 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.731, allocations: 20.09 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.731, allocations: 22.66 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.731, allocations: 20.27 kB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003848/0.7314, allocations: 421.8 kB / 0.7682 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7314, allocations: 2.031 kB / 0.7682 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006826/0.7321, allocations: 285.8 kB / 0.7685 GB, free: 10.51 MB / 0.5762 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.001578/0.7337, allocations: 1.33 MB / 0.7698 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006693/0.7343, allocations: 364.1 kB / 0.7701 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7344, allocations: 3 kB / 0.7701 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.7346, allocations: 165.4 kB / 0.7703 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.7361, allocations: 356.7 kB / 0.7706 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.7416, allocations: 4.928 MB / 0.7754 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.742, allocations: 0.8671 MB / 0.7763 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008067/0.7428, allocations: 0.5539 MB / 0.7768 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.7431, allocations: 229.4 kB / 0.777 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.7431, allocations: 0 / 0.777 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.7883, allocations: 21.77 MB / 0.7983 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.07, allocations: 7.688 kB / 0.7983 GB, free: 15.81 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201839 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.567954220998217]