Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009966/0.0009967, allocations: 94.28 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009877/0.0009877, allocations: 200.4 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 63.47 MB / 481.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.02242/0.1886, allocations: 14.68 MB / 496.2 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007916/0.1966, allocations: 3.829 MB / 0.4883 GB, free: 2.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.1973, allocations: 19.81 kB / 0.4883 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1984, allocations: 226.8 kB / 0.4886 GB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.2005, allocations: 0.6232 MB / 0.4892 GB, free: 1.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.2033, allocations: 0.7658 MB / 0.4899 GB, free: 1.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.205, allocations: 0.8602 MB / 0.4908 GB, free: 260 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000763/0.2058, allocations: 353.2 kB / 0.4911 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.2068, allocations: 470.3 kB / 0.4915 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.2075, allocations: 326.7 kB / 0.4918 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.102e-05/0.2076, allocations: 24 kB / 0.4919 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2091, allocations: 0.5111 MB / 0.4924 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.2093, allocations: 135.5 kB / 0.4925 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.2095, allocations: 153.3 kB / 0.4926 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.2108, allocations: 0.7524 MB / 0.4934 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2108, allocations: 0 / 0.4934 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2108, allocations: 0 / 0.4934 GB, free: 13.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2109, allocations: 4 kB / 0.4934 GB, free: 13.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00183/0.2127, allocations: 0.8976 MB / 0.4943 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2127, allocations: 11.97 kB / 0.4943 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.2129, allocations: 90.52 kB / 0.4944 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.2134, allocations: 75.25 kB / 0.4944 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.2144, allocations: 468.6 kB / 0.4949 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.2145, allocations: 36.95 kB / 0.4949 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.2146, allocations: 44 kB / 0.495 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.2159, allocations: 0.6456 MB / 0.4956 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.216, allocations: 4 kB / 0.4956 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/0.2161, allocations: 24 kB / 0.4956 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2161, allocations: 12 kB / 0.4956 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.2173, allocations: 0.5307 MB / 0.4961 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005536/0.2228, allocations: 3.167 MB / 0.4992 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.2234, allocations: 238.5 kB / 0.4995 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/0.2238, allocations: 340.4 kB / 0.4998 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.2243, allocations: 286.8 kB / 0.5001 GB, free: 6.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.2243, allocations: 0 / 0.5001 GB, free: 6.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001125/0.2254, allocations: 0.6133 MB / 0.5007 GB, free: 5.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.2256, allocations: 294.7 kB / 0.5009 GB, free: 5.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.2262, allocations: 0.5497 MB / 0.5015 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.2263, allocations: 37.64 kB / 0.5015 GB, free: 4.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.2266, allocations: 339 kB / 0.5018 GB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.897e-05/0.2267, allocations: 90.73 kB / 0.5019 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.2267, allocations: 12 kB / 0.5019 GB, free: 4.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.227, allocations: 366.8 kB / 0.5023 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.2272, allocations: 157 kB / 0.5024 GB, free: 3.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.2276, allocations: 389.5 kB / 0.5028 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.228, allocations: 241.4 kB / 0.503 GB, free: 2.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.228, allocations: 3.953 kB / 0.503 GB, free: 2.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009347/0.229, allocations: 0.6267 MB / 0.5037 GB, free: 2.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008061/0.2298, allocations: 2.127 MB / 0.5057 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2298, allocations: 4 kB / 0.5057 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.2299, allocations: 8 kB / 0.5057 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2552/0.485, allocations: 196 kB / 0.5059 GB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004539/0.4855, allocations: 0.6283 MB / 0.5065 GB, free: 41.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/0.4862, allocations: 82.55 kB / 0.5066 GB, free: 41.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4863, allocations: 31.22 kB / 0.5066 GB, free: 41.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.4863, allocations: 3.406 kB / 0.5067 GB, free: 41.64 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/0.4874, allocations: 0.5554 MB / 0.5072 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4874, allocations: 5.094 kB / 0.5072 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4874, allocations: 13 kB / 0.5072 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.4878, allocations: 115.5 kB / 0.5073 GB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4879, allocations: 9.156 kB / 0.5073 GB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.4883, allocations: 62.81 kB / 0.5074 GB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.149e-05/0.4884, allocations: 34.39 kB / 0.5074 GB, free: 41.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 54 * 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.0003335/0.4887, allocations: 300.3 kB / 0.5077 GB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4888, allocations: 63.44 kB / 0.5078 GB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.4902, allocations: 0.7903 MB / 0.5085 GB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/0.4903, allocations: 4.797 kB / 0.5085 GB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4903, allocations: 3.75 kB / 0.5085 GB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4903, allocations: 1.688 kB / 0.5086 GB, free: 41.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.491, allocations: 0.5408 MB / 0.5091 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.491, allocations: 1.75 kB / 0.5091 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/0.4917, allocations: 127.4 kB / 0.5092 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4917, allocations: 3.219 kB / 0.5092 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.4918, allocations: 15.08 kB / 0.5092 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002239/0.492, allocations: 0.5926 MB / 0.5098 GB, free: 40.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.492, allocations: 0 / 0.5098 GB, free: 40.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.493, allocations: 0.5478 MB / 0.5103 GB, free: 40.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.4933, allocations: 228.8 kB / 0.5106 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.4934, allocations: 10.97 kB / 0.5106 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.4937, allocations: 26.17 kB / 0.5106 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.4938, allocations: 31.44 kB / 0.5106 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.4938, allocations: 18.73 kB / 0.5106 GB, free: 40.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005204/0.4944, allocations: 411.3 kB / 0.511 GB, free: 40.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4944, allocations: 1.406 kB / 0.511 GB, free: 40.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001328/0.4957, allocations: 426.2 kB / 0.5114 GB, free: 40.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.001616/0.4973, allocations: 1.325 MB / 0.5127 GB, free: 39.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002569/0.4999, allocations: 0.9666 MB / 0.5137 GB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4999, allocations: 0 / 0.5137 GB, free: 38.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009955/0.5009, allocations: 391.8 kB / 0.514 GB, free: 38.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5023, allocations: 263.9 kB / 0.5143 GB, free: 38.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006065/0.5083, allocations: 6.934 MB / 0.5211 GB, free: 33.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.509, allocations: 0.9109 MB / 0.522 GB, free: 32.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009874/0.51, allocations: 216.2 kB / 0.5222 GB, free: 32.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.5103, allocations: 229.7 kB / 0.5224 GB, free: 32.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5104, allocations: 0 / 0.5224 GB, free: 32.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/0.5501, allocations: 19.99 MB / 0.5419 GB, free: 20.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.5503, allocations: 279.5 kB / 0.5422 GB, free: 19.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/2.807, allocations: 3.75 kB / 0.5422 GB, free: 19.8 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1)