Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001162, allocations: 99.44 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003915, allocations: 4 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 63.46 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.4462/0.5902, allocations: 143.2 MB / 0.6101 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006621/0.5969, allocations: 4.406 MB / 0.6144 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.5976, allocations: 23.81 kB / 0.6144 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.5985, allocations: 250.7 kB / 0.6146 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.6021, allocations: 1.217 MB / 0.6158 GB, free: 216 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.6044, allocations: 0.7468 MB / 0.6165 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.6062, allocations: 0.9691 MB / 0.6175 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005771/0.6068, allocations: 357.1 kB / 0.6178 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.6077, allocations: 0.5023 MB / 0.6183 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.6082, allocations: 358.5 kB / 0.6187 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.6083, allocations: 28 kB / 0.6187 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.611, allocations: 1.143 MB / 0.6198 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.6112, allocations: 135.5 kB / 0.6199 GB, free: 12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.6114, allocations: 157.3 kB / 0.6201 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.6132, allocations: 1.076 MB / 0.6211 GB, free: 10.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6132, allocations: 0 / 0.6211 GB, free: 10.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6132, allocations: 0 / 0.6211 GB, free: 10.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.6132, allocations: 4 kB / 0.6211 GB, free: 10.76 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001857/0.6151, allocations: 1.03 MB / 0.6221 GB, free: 9.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6152, allocations: 8.031 kB / 0.6222 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.6153, allocations: 86.52 kB / 0.6222 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6164, allocations: 164.8 kB / 0.6224 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/0.6174, allocations: 0.5522 MB / 0.6229 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.6174, allocations: 29 kB / 0.623 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.6175, allocations: 47.89 kB / 0.623 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.6184, allocations: 0.5906 MB / 0.6236 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6184, allocations: 4 kB / 0.6236 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.6185, allocations: 20 kB / 0.6236 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.6185, allocations: 12 kB / 0.6236 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.6192, allocations: 459.6 kB / 0.6241 GB, free: 7.625 MB / 462.1 MB 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.003151/0.6224, allocations: 2.646 MB / 0.6266 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.6229, allocations: 286.8 kB / 0.6269 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003793/0.6233, allocations: 352.6 kB / 0.6272 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004775/0.6238, allocations: 334.8 kB / 0.6276 GB, free: 3.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.6238, allocations: 7.938 kB / 0.6276 GB, free: 3.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001129/0.6249, allocations: 0.6906 MB / 0.6282 GB, free: 3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.6251, allocations: 298.7 kB / 0.6285 GB, free: 2.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/0.6257, allocations: 0.5665 MB / 0.6291 GB, free: 2.062 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.425e-05/0.6257, allocations: 33.7 kB / 0.6291 GB, free: 2.023 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.626, allocations: 331.5 kB / 0.6294 GB, free: 1.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6261, allocations: 110.4 kB / 0.6295 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.6261, allocations: 12 kB / 0.6296 GB, free: 1.574 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6263, allocations: 370.8 kB / 0.6299 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.6265, allocations: 161 kB / 0.6301 GB, free: 1.047 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.6269, allocations: 382.6 kB / 0.6304 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.6273, allocations: 234.3 kB / 0.6306 GB, free: 344 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6273, allocations: 0 / 0.6306 GB, free: 344 kB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001035/0.6283, allocations: 0.6506 MB / 0.6313 GB, free: 15.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007885/0.6291, allocations: 2.217 MB / 0.6334 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.6292, allocations: 8 kB / 0.6335 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.6292, allocations: 8 kB / 0.6335 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/0.6324, allocations: 395.6 kB / 0.6338 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004955/0.633, allocations: 0.625 MB / 0.6345 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.6336, allocations: 79.2 kB / 0.6345 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.6337, allocations: 55.92 kB / 0.6346 GB, free: 12.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.6337, allocations: 4 kB / 0.6346 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009215/0.6347, allocations: 0.549 MB / 0.6351 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.6347, allocations: 11.89 kB / 0.6351 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6347, allocations: 12.06 kB / 0.6351 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.6351, allocations: 123.9 kB / 0.6353 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.6351, allocations: 15.88 kB / 0.6353 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.6356, allocations: 59.52 kB / 0.6353 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.6357, allocations: 51.98 kB / 0.6354 GB, free: 11.27 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003972/0.6361, allocations: 317.2 kB / 0.6357 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.6363, allocations: 63.25 kB / 0.6357 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.6384, allocations: 1.211 MB / 0.6369 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6384, allocations: 4 kB / 0.6369 GB, free: 9.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6384, allocations: 4 kB / 0.6369 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.6384, allocations: 0 / 0.6369 GB, free: 9.656 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.6408, allocations: 2.285 MB / 0.6392 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.6409, allocations: 0 / 0.6392 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.6421, allocations: 191.9 kB / 0.6393 GB, free: 6.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.6421, allocations: 4 kB / 0.6394 GB, free: 6.859 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.6421, allocations: 27.98 kB / 0.6394 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003394/0.6425, allocations: 0.6055 MB / 0.64 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.6425, allocations: 7.938 kB / 0.64 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.6436, allocations: 0.8292 MB / 0.6408 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.6438, allocations: 148.3 kB / 0.6409 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.6439, allocations: 15.94 kB / 0.6409 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.6444, allocations: 27.89 kB / 0.641 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.6445, allocations: 51.91 kB / 0.641 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.333e-05/0.6445, allocations: 35.98 kB / 0.6411 GB, free: 4.949 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004678/0.645, allocations: 407.1 kB / 0.6414 GB, free: 4.559 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.645, allocations: 4 kB / 0.6414 GB, free: 4.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001466/0.6465, allocations: 487.5 kB / 0.6419 GB, free: 4.078 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002765/0.6493, allocations: 2.501 MB / 0.6444 GB, free: 1.477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005762/0.655, allocations: 1.211 MB / 0.6455 GB, free: 248 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.6551, allocations: 4 kB / 0.6455 GB, free: 244 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.6569, allocations: 439.8 kB / 0.646 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.6587, allocations: 310.1 kB / 0.6463 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/0.6659, allocations: 7.229 MB / 0.6533 GB, free: 8.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.6664, allocations: 0.8955 MB / 0.6542 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002133/0.6685, allocations: 1.023 MB / 0.6552 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005451/0.6691, allocations: 283.3 kB / 0.6555 GB, free: 5.863 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6691, allocations: 0 / 0.6555 GB, free: 5.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.711, allocations: 22.13 MB / 0.6771 GB, free: 20 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.7113, allocations: 265.3 kB / 0.6773 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.133, allocations: 0 / 0.6773 GB, free: 15.66 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1)