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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.238/0.238, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB 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.002206/0.002207, allocations: 82.8 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1271, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4396/0.5667, allocations: 184.1 MB / 0.6487 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008962/0.5758, allocations: 4.613 MB / 0.6532 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008728/0.5767, allocations: 11.94 kB / 0.6532 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.5778, allocations: 349.7 kB / 0.6536 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005428/0.5833, allocations: 1.782 MB / 0.6553 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.5863, allocations: 0.9456 MB / 0.6562 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002734/0.589, allocations: 1.699 MB / 0.6579 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000725/0.5898, allocations: 446.2 kB / 0.6583 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.5915, allocations: 0.841 MB / 0.6591 GB, free: 236 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.5923, allocations: 0.4942 MB / 0.6596 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.5925, allocations: 56 kB / 0.6597 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.5952, allocations: 1.256 MB / 0.6609 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.5954, allocations: 175.4 kB / 0.6611 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.5959, allocations: 378.3 kB / 0.6614 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.5991, allocations: 1.632 MB / 0.663 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5991, allocations: 0 / 0.663 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5991, allocations: 0 / 0.663 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.5991, allocations: 0 / 0.663 GB, free: 12.24 MB / 0.4981 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.002227/0.6014, allocations: 1.115 MB / 0.6641 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6014, allocations: 11.97 kB / 0.6641 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.6016, allocations: 90.53 kB / 0.6642 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.6029, allocations: 159.1 kB / 0.6644 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/0.6037, allocations: 492.3 kB / 0.6648 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.6037, allocations: 37 kB / 0.6649 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.6038, allocations: 45.75 kB / 0.6649 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.605, allocations: 0.6438 MB / 0.6655 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.6051, allocations: 3.938 kB / 0.6656 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.6052, allocations: 27.98 kB / 0.6656 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.6052, allocations: 16 kB / 0.6656 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009768/0.6062, allocations: 495.6 kB / 0.6661 GB, free: 8.984 MB / 0.4981 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.00353/0.6097, allocations: 2.656 MB / 0.6687 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.6105, allocations: 326.8 kB / 0.669 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.6108, allocations: 164.6 kB / 0.6691 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000547/0.6114, allocations: 433.5 kB / 0.6695 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.6114, allocations: 42.55 kB / 0.6696 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.504e-06/0.6115, allocations: 0 / 0.6696 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001817/0.6133, allocations: 0.7092 MB / 0.6703 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.6134, allocations: 166.1 kB / 0.6704 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.6141, allocations: 0.5146 MB / 0.6709 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.6142, allocations: 33.7 kB / 0.671 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.6144, allocations: 303.5 kB / 0.6713 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.6146, allocations: 130.2 kB / 0.6714 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.6148, allocations: 118.1 kB / 0.6715 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.615, allocations: 366.7 kB / 0.6718 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.6153, allocations: 145 kB / 0.672 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.6158, allocations: 322.9 kB / 0.6723 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007803/0.6165, allocations: 474.7 kB / 0.6727 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6166, allocations: 0 / 0.6727 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001088/0.6177, allocations: 0.5713 MB / 0.6733 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6177, allocations: 11.94 kB / 0.6733 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.6177, allocations: 4 kB / 0.6733 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.6193, allocations: 245.1 kB / 0.6735 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.6198, allocations: 119.1 kB / 0.6737 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005205/0.6203, allocations: 0.5913 MB / 0.6742 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.6207, allocations: 47.61 kB / 0.6743 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.6208, allocations: 59.98 kB / 0.6743 GB, free: 15.92 MB / 0.5137 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.0003285/0.6212, allocations: 193.7 kB / 0.6745 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6213, allocations: 55.34 kB / 0.6746 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.6235, allocations: 1.108 MB / 0.6757 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.6235, allocations: 7.984 kB / 0.6757 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6235, allocations: 0 / 0.6757 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6235, allocations: 4 kB / 0.6757 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.6251, allocations: 1.019 MB / 0.6767 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6251, allocations: 0 / 0.6767 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.6253, allocations: 56.11 kB / 0.6767 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/0.6286, allocations: 444.1 kB / 0.6771 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.6287, allocations: 8 kB / 0.6772 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000592/0.6293, allocations: 0.5953 MB / 0.6777 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6293, allocations: 0 / 0.6777 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/0.6302, allocations: 0.5045 MB / 0.6782 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.6304, allocations: 140.3 kB / 0.6784 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6305, allocations: 19.92 kB / 0.6784 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.6309, allocations: 12 kB / 0.6784 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.631, allocations: 27.91 kB / 0.6784 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.631, allocations: 19.98 kB / 0.6784 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006307/0.6317, allocations: 447 kB / 0.6789 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6317, allocations: 4 kB / 0.6789 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009519/0.6326, allocations: 295.8 kB / 0.6791 GB, free: 10.79 MB / 0.5137 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.001986/0.6346, allocations: 1.322 MB / 0.6804 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009527/0.6356, allocations: 380 kB / 0.6808 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6356, allocations: 5.25 kB / 0.6808 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.636, allocations: 160.2 kB / 0.681 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/0.638, allocations: 418.9 kB / 0.6814 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/0.6455, allocations: 5.205 MB / 0.6864 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.6461, allocations: 0.8676 MB / 0.6873 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001524/0.6476, allocations: 0.5634 MB / 0.6878 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.6481, allocations: 243.3 kB / 0.6881 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.6481, allocations: 3.938 kB / 0.6881 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/0.9065, allocations: 22.93 MB / 0.7105 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.37, allocations: 10.84 kB / 0.7105 GB, free: 197.9 MB / 0.5294 GB (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)