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.001672/0.001672, allocations: 106.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002002/0.002002, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.4 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 75.3 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1466, allocations: 62.44 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01837/0.1651, allocations: 12.93 MB / 492.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009607/0.1747, allocations: 5.535 MB / 498.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1759, allocations: 15.88 kB / 498.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.1772, allocations: 183 kB / 498.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.18, allocations: 0.6496 MB / 498.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005442/0.1855, allocations: 1.429 MB / 0.4886 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.1878, allocations: 1.239 MB / 0.4898 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007883/0.1886, allocations: 317.2 kB / 0.4901 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.1902, allocations: 0.5022 MB / 0.4906 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.1913, allocations: 486.3 kB / 0.4911 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.1914, allocations: 44 kB / 0.4911 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.194, allocations: 1.061 MB / 0.4922 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.1943, allocations: 175.5 kB / 0.4923 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.1947, allocations: 274.7 kB / 0.4926 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.1973, allocations: 1.325 MB / 0.4939 GB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1973, allocations: 4 kB / 0.4939 GB, free: 11.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1973, allocations: 0 / 0.4939 GB, free: 11.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1973, allocations: 0 / 0.4939 GB, free: 11.31 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.001972/0.1993, allocations: 0.9465 MB / 0.4948 GB, free: 10.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1993, allocations: 8.031 kB / 0.4948 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.1995, allocations: 70.7 kB / 0.4949 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003042/0.1998, allocations: 72.27 kB / 0.495 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.2005, allocations: 433.3 kB / 0.4954 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.2005, allocations: 20.56 kB / 0.4954 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.2006, allocations: 31.98 kB / 0.4954 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008606/0.2014, allocations: 0.5263 MB / 0.4959 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2014, allocations: 0 / 0.4959 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.2015, allocations: 15.98 kB / 0.496 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/0.2016, allocations: 28.55 kB / 0.496 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.2023, allocations: 465.9 kB / 0.4964 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.2057, allocations: 2.261 MB / 0.4986 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.2061, allocations: 242.5 kB / 0.4989 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.2064, allocations: 132.8 kB / 0.499 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.2076, allocations: 1.018 MB / 0.5 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.2079, allocations: 216.4 kB / 0.5002 GB, free: 4.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.924e-06/0.2079, allocations: 4 kB / 0.5002 GB, free: 4.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007051/0.2086, allocations: 384.6 kB / 0.5006 GB, free: 4.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.2088, allocations: 243.3 kB / 0.5008 GB, free: 3.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/0.2094, allocations: 0.5135 MB / 0.5013 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2095, allocations: 29.7 kB / 0.5013 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.2097, allocations: 295.1 kB / 0.5016 GB, free: 2.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.2098, allocations: 51.36 kB / 0.5017 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.21, allocations: 97.48 kB / 0.5017 GB, free: 2.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2101, allocations: 362.8 kB / 0.5021 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.2104, allocations: 145.1 kB / 0.5022 GB, free: 2.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.2107, allocations: 305.9 kB / 0.5025 GB, free: 1.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.2113, allocations: 467.7 kB / 0.503 GB, free: 1.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2113, allocations: 0 / 0.503 GB, free: 1.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000849/0.2121, allocations: 0.5316 MB / 0.5035 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.2122, allocations: 41.69 kB / 0.5035 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2122, allocations: 4 kB / 0.5035 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2122, allocations: 8.062 kB / 0.5035 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.2126, allocations: 83.83 kB / 0.5036 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2126, allocations: 8 kB / 0.5036 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.213, allocations: 63.36 kB / 0.5037 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.2131, allocations: 23.98 kB / 0.5037 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003467/0.2134, allocations: 268.5 kB / 0.504 GB, free: 280 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2588/0.4723, allocations: 313.4 kB / 0.5043 GB, free: 42.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007199/0.4731, allocations: 453.7 kB / 0.5047 GB, free: 42.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.471e-06/0.4731, allocations: 2.062 kB / 0.5047 GB, free: 42.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001161/0.4743, allocations: 0.5242 MB / 0.5052 GB, free: 42.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.4743, allocations: 37.78 kB / 0.5052 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.4743, allocations: 8.219 kB / 0.5053 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4744, allocations: 7.641 kB / 0.5053 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.4747, allocations: 78.62 kB / 0.5053 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.4747, allocations: 8.391 kB / 0.5053 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.4752, allocations: 47.3 kB / 0.5054 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.4753, allocations: 24.58 kB / 0.5054 GB, free: 42.29 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 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.4755, allocations: 248.5 kB / 0.5056 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4756, allocations: 51.92 kB / 0.5057 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.4762, allocations: 356.8 kB / 0.506 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4763, allocations: 3.688 kB / 0.506 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.4763, allocations: 1.609 kB / 0.506 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4763, allocations: 0.7969 kB / 0.506 GB, free: 42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.4768, allocations: 421 kB / 0.5064 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4769, allocations: 0.7031 kB / 0.5064 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.477, allocations: 26.62 kB / 0.5065 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.477, allocations: 2.453 kB / 0.5065 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.477, allocations: 10.44 kB / 0.5065 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.477, allocations: 1.375 kB / 0.5065 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.477, allocations: 0 / 0.5065 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.4776, allocations: 366.1 kB / 0.5068 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4777, allocations: 126 kB / 0.507 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/0.4778, allocations: 12.92 kB / 0.507 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.478, allocations: 20.16 kB / 0.507 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.4781, allocations: 8.875 kB / 0.507 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4781, allocations: 11.56 kB / 0.507 GB, free: 41.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004668/0.4786, allocations: 369.8 kB / 0.5074 GB, free: 41.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4786, allocations: 0 / 0.5074 GB, free: 41.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001121/0.4797, allocations: 429.9 kB / 0.5078 GB, free: 41.46 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00163/0.4814, allocations: 1.217 MB / 0.509 GB, free: 40.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009837/0.4824, allocations: 0.6844 MB / 0.5096 GB, free: 40.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4824, allocations: 0 / 0.5096 GB, free: 40.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4826, allocations: 189.6 kB / 0.5098 GB, free: 40.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.4835, allocations: 203.7 kB / 0.51 GB, free: 40.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.4889, allocations: 4.582 MB / 0.5145 GB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4892, allocations: 0.8469 MB / 0.5153 GB, free: 36.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005544/0.4897, allocations: 158.5 kB / 0.5155 GB, free: 36.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.4899, allocations: 149.5 kB / 0.5156 GB, free: 36.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4899, allocations: 0 / 0.5156 GB, free: 36.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09963/0.5896, allocations: 16.84 MB / 0.532 GB, free: 28.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.5899, allocations: 250.7 kB / 0.5323 GB, free: 28.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.007, allocations: 0 / 0.5323 GB, free: 28.37 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/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)