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.001757/0.001757, allocations: 121.7 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002043/0.002043, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247 MB, free: 10.4 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.218/0.218, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002179/0.002179, allocations: 79.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2437/0.5812, allocations: 184.1 MB / 0.7104 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007334/0.5886, allocations: 4.612 MB / 0.7149 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006275/0.5892, allocations: 19.88 kB / 0.7149 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00098/0.5903, allocations: 341.7 kB / 0.7152 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004626/0.5949, allocations: 1.776 MB / 0.7169 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.5973, allocations: 0.9484 MB / 0.7179 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3114/0.9086, allocations: 1.705 MB / 0.7195 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000902/0.9096, allocations: 441.6 kB / 0.72 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.9116, allocations: 0.8462 MB / 0.7208 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000908/0.9125, allocations: 0.4929 MB / 0.7213 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.9127, allocations: 54.88 kB / 0.7213 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.9153, allocations: 1.3 MB / 0.7226 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.9155, allocations: 172.2 kB / 0.7228 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.916, allocations: 374.3 kB / 0.7231 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.9186, allocations: 1.647 MB / 0.7247 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9186, allocations: 3.625 kB / 0.7247 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9186, allocations: 1.031 kB / 0.7247 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.9187, allocations: 0.9062 kB / 0.7247 GB, free: 3.926 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.002077/0.9207, allocations: 1.126 MB / 0.7258 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9208, allocations: 10.44 kB / 0.7258 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.9209, allocations: 90 kB / 0.7259 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9221, allocations: 169.8 kB / 0.7261 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.923, allocations: 0.5089 MB / 0.7266 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.923, allocations: 33.56 kB / 0.7266 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.523e-05/0.9231, allocations: 47.2 kB / 0.7267 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.9242, allocations: 0.6457 MB / 0.7273 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.9242, allocations: 1.406 kB / 0.7273 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.9243, allocations: 20.69 kB / 0.7273 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.9243, allocations: 11.44 kB / 0.7273 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.9251, allocations: 0.4967 MB / 0.7278 GB, free: 18.79 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.003068/0.9282, allocations: 2.648 MB / 0.7304 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.9288, allocations: 332.8 kB / 0.7307 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.929, allocations: 155.2 kB / 0.7309 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004406/0.9295, allocations: 443.3 kB / 0.7313 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.9295, allocations: 40.81 kB / 0.7313 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.495e-06/0.9295, allocations: 0.8438 kB / 0.7313 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001542/0.9311, allocations: 0.71 MB / 0.732 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.9313, allocations: 160 kB / 0.7322 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.9318, allocations: 0.5246 MB / 0.7327 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.9319, allocations: 33.14 kB / 0.7327 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.9321, allocations: 307.5 kB / 0.733 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.9322, allocations: 129.9 kB / 0.7331 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.9323, allocations: 119.9 kB / 0.7332 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.9326, allocations: 365.2 kB / 0.7336 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.9328, allocations: 141.3 kB / 0.7337 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.9332, allocations: 325.3 kB / 0.734 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.9338, allocations: 482.1 kB / 0.7345 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9338, allocations: 0 / 0.7345 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009308/0.9348, allocations: 0.5773 MB / 0.7351 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9348, allocations: 10.16 kB / 0.7351 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.9348, allocations: 4.531 kB / 0.7351 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.9363, allocations: 234.5 kB / 0.7353 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.9367, allocations: 120.9 kB / 0.7354 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006637/0.9373, allocations: 0.5898 MB / 0.736 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.9378, allocations: 57.09 kB / 0.736 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.293e-05/0.9379, allocations: 52.81 kB / 0.7361 GB, free: 14.46 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.0002742/0.9382, allocations: 195.6 kB / 0.7363 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.9383, allocations: 60.5 kB / 0.7363 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.9399, allocations: 1.104 MB / 0.7374 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.94, allocations: 5.234 kB / 0.7374 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.94, allocations: 0 / 0.7374 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.94, allocations: 3.688 kB / 0.7374 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.9414, allocations: 1.021 MB / 0.7384 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9415, allocations: 3.562 kB / 0.7384 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.9417, allocations: 62.08 kB / 0.7385 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/0.9446, allocations: 437 kB / 0.7389 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.9447, allocations: 9.031 kB / 0.7389 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004566/0.9451, allocations: 0.6017 MB / 0.7395 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.9451, allocations: 3 kB / 0.7395 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.9458, allocations: 0.4961 MB / 0.74 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.946, allocations: 142.9 kB / 0.7401 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.9461, allocations: 16.42 kB / 0.7401 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.9465, allocations: 19.03 kB / 0.7402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.9465, allocations: 30.27 kB / 0.7402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.9466, allocations: 20.2 kB / 0.7402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005023/0.9471, allocations: 447 kB / 0.7406 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9471, allocations: 4.469 kB / 0.7406 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009186/0.948, allocations: 296.1 kB / 0.7409 GB, free: 12.73 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.001778/0.9498, allocations: 1.333 MB / 0.7422 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007251/0.9505, allocations: 374.4 kB / 0.7426 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.9506, allocations: 5.422 kB / 0.7426 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.9508, allocations: 160.8 kB / 0.7427 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.9526, allocations: 401.6 kB / 0.7431 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005895/0.9585, allocations: 5.055 MB / 0.748 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.9591, allocations: 0.8694 MB / 0.7489 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001075/0.9602, allocations: 0.5681 MB / 0.7495 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.9606, allocations: 239.3 kB / 0.7497 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/0.9606, allocations: 1 kB / 0.7497 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05209/1.013, allocations: 23.15 MB / 0.7723 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.8, allocations: 1.906 kB / 0.7723 GB, free: 3.742 MB / 0.5762 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)