Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 96.78 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 208.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01344/0.1776, allocations: 10.79 MB / 492.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008276/0.1859, allocations: 4.82 MB / 497.1 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.1869, allocations: 19.81 kB / 497.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.1877, allocations: 171.2 kB / 497.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.1898, allocations: 0.5763 MB / 497.9 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.1938, allocations: 1.187 MB / 499.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.1951, allocations: 0.687 MB / 499.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.1957, allocations: 261.8 kB / 0.4883 GB, free: 2.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008286/0.1965, allocations: 422.7 kB / 0.4887 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.1971, allocations: 302.9 kB / 0.489 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.1972, allocations: 23.94 kB / 0.489 GB, free: 1.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.1995, allocations: 0.9753 MB / 0.49 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.1997, allocations: 131.6 kB / 0.4901 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1998, allocations: 121.5 kB / 0.4902 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.2013, allocations: 0.9276 MB / 0.4911 GB, free: 15.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2013, allocations: 0 / 0.4911 GB, free: 15.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.14e-06/0.2013, allocations: 0 / 0.4911 GB, free: 15.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.2014, allocations: 0 / 0.4911 GB, free: 15.84 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001785/0.2031, allocations: 0.8548 MB / 0.492 GB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.2032, allocations: 8.031 kB / 0.492 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.908e-05/0.2033, allocations: 70.53 kB / 0.492 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.2036, allocations: 67.28 kB / 0.4921 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.2043, allocations: 421.5 kB / 0.4925 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.2043, allocations: 24.55 kB / 0.4925 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.2044, allocations: 32 kB / 0.4926 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.2053, allocations: 0.5185 MB / 0.4931 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2053, allocations: 3.938 kB / 0.4931 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.2054, allocations: 16 kB / 0.4931 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.2054, allocations: 28.55 kB / 0.4931 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.2061, allocations: 465.9 kB / 0.4936 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.2095, allocations: 2.285 MB / 0.4958 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.21, allocations: 238.6 kB / 0.496 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.2112, allocations: 1.033 MB / 0.497 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.2115, allocations: 212.4 kB / 0.4972 GB, free: 9.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.2115, allocations: 0 / 0.4972 GB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000716/0.2123, allocations: 459.7 kB / 0.4977 GB, free: 8.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.2124, allocations: 243.3 kB / 0.4979 GB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.2131, allocations: 0.5135 MB / 0.4984 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.2131, allocations: 33.7 kB / 0.4984 GB, free: 7.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.2133, allocations: 287 kB / 0.4987 GB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.2134, allocations: 67.19 kB / 0.4988 GB, free: 7.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.2134, allocations: 8 kB / 0.4988 GB, free: 7.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2136, allocations: 358.8 kB / 0.4991 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2138, allocations: 132.3 kB / 0.4992 GB, free: 6.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.2142, allocations: 296.8 kB / 0.4995 GB, free: 6.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.2145, allocations: 210.5 kB / 0.4997 GB, free: 6.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2145, allocations: 0 / 0.4997 GB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008222/0.2153, allocations: 0.5239 MB / 0.5002 GB, free: 5.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.2164, allocations: 1.775 MB / 0.502 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.2164, allocations: 4 kB / 0.502 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.2165, allocations: 8 kB / 0.502 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.2168, allocations: 79.84 kB / 0.5021 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.988e-05/0.2168, allocations: 15.94 kB / 0.5021 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.2173, allocations: 59.44 kB / 0.5021 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.2173, allocations: 23.98 kB / 0.5022 GB, free: 3.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2174, allocations: 6.031 kB / 0.5022 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007166/0.2181, allocations: 477.4 kB / 0.5026 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2181, allocations: 8 kB / 0.5026 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.2181, allocations: 4 kB / 0.5026 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2184, allocations: 75.91 kB / 0.5027 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2184, allocations: 11.94 kB / 0.5027 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.2187, allocations: 51.52 kB / 0.5028 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.2188, allocations: 24.06 kB / 0.5028 GB, free: 3.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003535/0.2191, allocations: 306.9 kB / 0.5031 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.2192, allocations: 47.44 kB / 0.5031 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.2198, allocations: 364.5 kB / 0.5035 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2199, allocations: 3.984 kB / 0.5035 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2199, allocations: 4 kB / 0.5035 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2199, allocations: 4 kB / 0.5035 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.2204, allocations: 413.1 kB / 0.5039 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2204, allocations: 0 / 0.5039 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.2205, allocations: 27.98 kB / 0.5039 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2205, allocations: 4 kB / 0.5039 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.2206, allocations: 4 kB / 0.5039 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2206, allocations: 0 / 0.5039 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2206, allocations: 0 / 0.5039 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.2211, allocations: 370 kB / 0.5043 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.2212, allocations: 140.4 kB / 0.5044 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.2213, allocations: 8 kB / 0.5044 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2216, allocations: 12 kB / 0.5044 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.2216, allocations: 15.92 kB / 0.5044 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.2217, allocations: 11.98 kB / 0.5044 GB, free: 1.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000409/0.2221, allocations: 366.8 kB / 0.5048 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2221, allocations: 0 / 0.5048 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001213/0.2233, allocations: 435.7 kB / 0.5052 GB, free: 496 kB / 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3557/0.579, allocations: 1.198 MB / 0.5064 GB, free: 40.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.581, allocations: 0.6664 MB / 0.507 GB, free: 40.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.581, allocations: 0.7188 kB / 0.507 GB, free: 40.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.5813, allocations: 182.9 kB / 0.5072 GB, free: 40.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.5825, allocations: 191.5 kB / 0.5074 GB, free: 40.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.5859, allocations: 4.416 MB / 0.5117 GB, free: 36.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.5865, allocations: 0.8488 MB / 0.5125 GB, free: 36.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007066/0.5872, allocations: 171.7 kB / 0.5127 GB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.5875, allocations: 154.9 kB / 0.5128 GB, free: 36.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5875, allocations: 0 / 0.5128 GB, free: 36.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.632, allocations: 15.87 MB / 0.5283 GB, free: 31.01 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.6322, allocations: 231.4 kB / 0.5286 GB, free: 30.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.136, allocations: 0 / 0.5286 GB, free: 30.77 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)