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.001239/0.001239, allocations: 103.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 75.34 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.141, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01647/0.1575, allocations: 12.95 MB / 492.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008197/0.1657, allocations: 5.746 MB / 498.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007377/0.1665, allocations: 19.88 kB / 498.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007969/0.1674, allocations: 183 kB / 498.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.1693, allocations: 0.6417 MB / 498.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00391/0.1732, allocations: 1.3 MB / 0.4885 GB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.1751, allocations: 1.723 MB / 0.4902 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.1755, allocations: 277.5 kB / 0.4904 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007178/0.1762, allocations: 438.3 kB / 0.4909 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.1769, allocations: 466.3 kB / 0.4913 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.177, allocations: 20 kB / 0.4913 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.1789, allocations: 1.065 MB / 0.4924 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1791, allocations: 139.5 kB / 0.4925 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.1793, allocations: 254.7 kB / 0.4927 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.181, allocations: 1.294 MB / 0.494 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.181, allocations: 0 / 0.494 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.181, allocations: 8 kB / 0.494 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.181, allocations: 0 / 0.494 GB, free: 11.04 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.001709/0.1827, allocations: 0.9521 MB / 0.4949 GB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1828, allocations: 12.03 kB / 0.495 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/0.1829, allocations: 66.72 kB / 0.495 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.1831, allocations: 60.36 kB / 0.4951 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.1837, allocations: 445.3 kB / 0.4955 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.1838, allocations: 24.55 kB / 0.4955 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.1838, allocations: 31.98 kB / 0.4956 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.1847, allocations: 0.5263 MB / 0.4961 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1847, allocations: 0 / 0.4961 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.1847, allocations: 16 kB / 0.4961 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.1848, allocations: 28.55 kB / 0.4961 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.1855, allocations: 461.9 kB / 0.4966 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.1887, allocations: 2.253 MB / 0.4988 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.1891, allocations: 246.5 kB / 0.499 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.1893, allocations: 132.8 kB / 0.4991 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.1905, allocations: 1.018 MB / 0.5001 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.1909, allocations: 227.9 kB / 0.5003 GB, free: 4.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.1909, allocations: 0 / 0.5003 GB, free: 4.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006809/0.1916, allocations: 381 kB / 0.5007 GB, free: 3.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.1917, allocations: 243.3 kB / 0.5009 GB, free: 3.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.1923, allocations: 0.5252 MB / 0.5014 GB, free: 2.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1923, allocations: 25.7 kB / 0.5015 GB, free: 2.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1925, allocations: 291.1 kB / 0.5017 GB, free: 2.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.1926, allocations: 59.22 kB / 0.5018 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.1927, allocations: 97.58 kB / 0.5019 GB, free: 2.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1929, allocations: 354.8 kB / 0.5022 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.1931, allocations: 145.1 kB / 0.5024 GB, free: 1.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/0.1935, allocations: 313.9 kB / 0.5027 GB, free: 1.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.194, allocations: 465 kB / 0.5031 GB, free: 1.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.194, allocations: 4 kB / 0.5031 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007991/0.1948, allocations: 0.5303 MB / 0.5036 GB, free: 500 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.1949, allocations: 45.69 kB / 0.5037 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1949, allocations: 4.594 kB / 0.5037 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1949, allocations: 4 kB / 0.5037 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.1953, allocations: 83.83 kB / 0.5038 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1953, allocations: 8 kB / 0.5038 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.1957, allocations: 59.42 kB / 0.5038 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.1957, allocations: 24 kB / 0.5038 GB, free: 264 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2614/0.4571, allocations: 261.4 kB / 0.5041 GB, free: 42.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005684/0.4577, allocations: 314.5 kB / 0.5044 GB, free: 42.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000545/0.4583, allocations: 451.6 kB / 0.5048 GB, free: 42.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.352e-06/0.4583, allocations: 2.375 kB / 0.5048 GB, free: 42.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001034/0.4593, allocations: 0.5251 MB / 0.5053 GB, free: 42.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.4594, allocations: 41.28 kB / 0.5054 GB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4594, allocations: 4.625 kB / 0.5054 GB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4594, allocations: 6.781 kB / 0.5054 GB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.4597, allocations: 75.7 kB / 0.5055 GB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.4598, allocations: 12.12 kB / 0.5055 GB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.4603, allocations: 49.98 kB / 0.5055 GB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.4603, allocations: 20.77 kB / 0.5055 GB, free: 42.39 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.0002364/0.4606, allocations: 241.7 kB / 0.5058 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.4607, allocations: 50.22 kB / 0.5058 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.4614, allocations: 361.1 kB / 0.5062 GB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4614, allocations: 2.188 kB / 0.5062 GB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4614, allocations: 2.328 kB / 0.5062 GB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4614, allocations: 1.766 kB / 0.5062 GB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.4619, allocations: 417.8 kB / 0.5066 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4619, allocations: 1.969 kB / 0.5066 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.462, allocations: 23.09 kB / 0.5066 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4621, allocations: 4.453 kB / 0.5066 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4621, allocations: 12.67 kB / 0.5066 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4621, allocations: 0.5156 kB / 0.5066 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4621, allocations: 1.094 kB / 0.5066 GB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.4627, allocations: 366 kB / 0.507 GB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.921e-05/0.4628, allocations: 122.3 kB / 0.5071 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.4629, allocations: 13.78 kB / 0.5071 GB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.4631, allocations: 14.19 kB / 0.5071 GB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.4632, allocations: 10.59 kB / 0.5071 GB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.4632, allocations: 15.73 kB / 0.5071 GB, free: 41.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004971/0.4637, allocations: 372.7 kB / 0.5075 GB, free: 41.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4637, allocations: 2.031 kB / 0.5075 GB, free: 41.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001236/0.465, allocations: 433.8 kB / 0.5079 GB, free: 41.49 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.001689/0.4667, allocations: 1.214 MB / 0.5091 GB, free: 40.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4677, allocations: 0.6719 MB / 0.5097 GB, free: 40.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4678, allocations: 1.156 kB / 0.5097 GB, free: 40.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.468, allocations: 194.3 kB / 0.5099 GB, free: 40.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.469, allocations: 189.4 kB / 0.5101 GB, free: 40.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.4751, allocations: 4.579 MB / 0.5146 GB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4755, allocations: 0.8437 MB / 0.5154 GB, free: 36.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007199/0.4762, allocations: 167.5 kB / 0.5156 GB, free: 36.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.4765, allocations: 152.1 kB / 0.5157 GB, free: 36.62 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4765, allocations: 0 / 0.5157 GB, free: 36.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.5113, allocations: 16.46 MB / 0.5318 GB, free: 28.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.5115, allocations: 254.3 kB / 0.532 GB, free: 28.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.855, allocations: 1.312 kB / 0.532 GB, free: 28.68 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)