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.001263/0.001263, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2405/0.2405, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002208/0.002208, allocations: 84.94 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4426/0.5565, allocations: 184.1 MB / 0.6487 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008035/0.5645, allocations: 4.612 MB / 0.6532 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000804/0.5655, allocations: 15.88 kB / 0.6533 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.5667, allocations: 349.7 kB / 0.6536 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005652/0.5724, allocations: 1.782 MB / 0.6553 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.5751, allocations: 0.9468 MB / 0.6563 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00307/0.5782, allocations: 1.702 MB / 0.6579 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009921/0.5792, allocations: 446.2 kB / 0.6583 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.5812, allocations: 0.8448 MB / 0.6592 GB, free: 272 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.5823, allocations: 0.4942 MB / 0.6596 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.5825, allocations: 52 kB / 0.6597 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.5856, allocations: 1.26 MB / 0.6609 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.5859, allocations: 171.5 kB / 0.6611 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/0.5867, allocations: 378.4 kB / 0.6615 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.5903, allocations: 1.632 MB / 0.663 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5904, allocations: 0 / 0.663 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5904, allocations: 0 / 0.663 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.499e-05/0.5904, allocations: 0 / 0.663 GB, free: 12.28 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.0028/0.5932, allocations: 1.115 MB / 0.6641 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5933, allocations: 8.031 kB / 0.6641 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.5935, allocations: 86.53 kB / 0.6642 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.5949, allocations: 163.1 kB / 0.6644 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.5958, allocations: 492.3 kB / 0.6648 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.5959, allocations: 37 kB / 0.6649 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.596, allocations: 40 kB / 0.6649 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5974, allocations: 0.6516 MB / 0.6656 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5974, allocations: 0 / 0.6656 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.5975, allocations: 24 kB / 0.6656 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.5975, allocations: 16 kB / 0.6656 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.5986, allocations: 499.6 kB / 0.6661 GB, free: 9.027 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.003817/0.6025, allocations: 2.66 MB / 0.6687 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008593/0.6034, allocations: 326.6 kB / 0.669 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.6037, allocations: 164.8 kB / 0.6691 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.6043, allocations: 433.5 kB / 0.6696 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/0.6043, allocations: 50.47 kB / 0.6696 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.524e-06/0.6043, allocations: 0 / 0.6696 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001947/0.6063, allocations: 0.7054 MB / 0.6703 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/0.6065, allocations: 162.1 kB / 0.6704 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.6073, allocations: 0.5146 MB / 0.6709 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.6074, allocations: 37.7 kB / 0.671 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.6076, allocations: 303.5 kB / 0.6713 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.6078, allocations: 126.2 kB / 0.6714 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.6081, allocations: 118.1 kB / 0.6715 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002335/0.6083, allocations: 362.8 kB / 0.6719 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.6088, allocations: 153 kB / 0.672 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.6093, allocations: 319 kB / 0.6723 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.6103, allocations: 474.6 kB / 0.6728 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.6103, allocations: 4 kB / 0.6728 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001455/0.6118, allocations: 0.5674 MB / 0.6733 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.6118, allocations: 11.94 kB / 0.6733 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.6118, allocations: 4 kB / 0.6733 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/0.6137, allocations: 241.2 kB / 0.6736 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.6141, allocations: 119.8 kB / 0.6737 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006545/0.6148, allocations: 0.5913 MB / 0.6742 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.6153, allocations: 47.44 kB / 0.6743 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.6155, allocations: 56.03 kB / 0.6743 GB, free: 15.96 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.0004494/0.616, allocations: 197.7 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.6162, allocations: 59.28 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.6186, allocations: 1.098 MB / 0.6757 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6186, allocations: 4 kB / 0.6757 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6186, allocations: 3.984 kB / 0.6757 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.6186, allocations: 8 kB / 0.6757 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.6208, allocations: 1.012 MB / 0.6767 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.6208, allocations: 0 / 0.6767 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.621, allocations: 56.11 kB / 0.6767 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/0.6244, allocations: 444.1 kB / 0.6771 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.6245, allocations: 8 kB / 0.6772 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006364/0.6251, allocations: 0.6031 MB / 0.6777 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6252, allocations: 0 / 0.6777 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.6262, allocations: 0.5045 MB / 0.6782 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.6265, allocations: 140.3 kB / 0.6784 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.6267, allocations: 11.94 kB / 0.6784 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.6271, allocations: 15.98 kB / 0.6784 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.6272, allocations: 27.91 kB / 0.6784 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.6273, allocations: 19.98 kB / 0.6784 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006856/0.6279, allocations: 447 kB / 0.6789 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/0.628, allocations: 4 kB / 0.6789 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001129/0.6291, allocations: 295.8 kB / 0.6792 GB, free: 10.84 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.002433/0.6315, allocations: 1.327 MB / 0.6804 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009634/0.6325, allocations: 372 kB / 0.6808 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.6325, allocations: 5.25 kB / 0.6808 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.6329, allocations: 168.1 kB / 0.681 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.635, allocations: 413.4 kB / 0.6814 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.6429, allocations: 5.201 MB / 0.6864 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.6434, allocations: 0.8676 MB / 0.6873 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001417/0.6448, allocations: 0.5637 MB / 0.6878 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.6453, allocations: 243.3 kB / 0.6881 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of SimCode: time 6.42e-07/0.6453, allocations: 3.938 kB / 0.6881 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3225/0.9678, allocations: 22.94 MB / 0.7105 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.32, allocations: 1.156 kB / 0.7105 GB, free: 199.2 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 & /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 --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)