Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.18 MB / 336.1 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 60.42 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1306, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01529/0.1459, allocations: 12.83 MB / 481.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007681/0.1536, allocations: 5.73 MB / 487.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.1543, allocations: 15.88 kB / 487.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.1551, allocations: 179 kB / 487.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.1569, allocations: 0.6417 MB / 488 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.1604, allocations: 1.297 MB / 489.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.1623, allocations: 1.734 MB / 491.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005693/0.1629, allocations: 273.4 kB / 491.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.1641, allocations: 438.3 kB / 491.8 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.1652, allocations: 466.3 kB / 492.2 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.1654, allocations: 20 kB / 492.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.1676, allocations: 1.049 MB / 493.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.1679, allocations: 139.6 kB / 493.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.1684, allocations: 250.7 kB / 493.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.1705, allocations: 1.29 MB / 494.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1705, allocations: 0 / 494.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1705, allocations: 0 / 494.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.1705, allocations: 0 / 494.9 MB, free: 4.305 MB / 366.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.002007/0.1725, allocations: 0.9482 MB / 495.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1726, allocations: 15.97 kB / 495.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.1727, allocations: 74.7 kB / 496 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.173, allocations: 60.28 kB / 496 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.1736, allocations: 437.4 kB / 496.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.1737, allocations: 24.5 kB / 496.5 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.1737, allocations: 31.98 kB / 496.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.1746, allocations: 0.5185 MB / 497 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1746, allocations: 0 / 497 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.1747, allocations: 19.98 kB / 497.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.1747, allocations: 32.48 kB / 497.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007744/0.1755, allocations: 461.9 kB / 497.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.1788, allocations: 2.257 MB / 499.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1793, allocations: 246.6 kB / 0.4883 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.1795, allocations: 138.5 kB / 0.4885 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.1807, allocations: 1.018 MB / 0.4895 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.181, allocations: 222.6 kB / 0.4897 GB, free: 13.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.181, allocations: 0 / 0.4897 GB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006862/0.1817, allocations: 374.6 kB / 0.49 GB, free: 13.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.1819, allocations: 251.3 kB / 0.4903 GB, free: 12.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.1825, allocations: 0.5252 MB / 0.4908 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1825, allocations: 25.7 kB / 0.4908 GB, free: 12.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1827, allocations: 295.1 kB / 0.4911 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1828, allocations: 51.3 kB / 0.4911 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.183, allocations: 105.4 kB / 0.4912 GB, free: 11.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1831, allocations: 354.8 kB / 0.4916 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.1834, allocations: 137.2 kB / 0.4917 GB, free: 11.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.1838, allocations: 312.9 kB / 0.492 GB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.1843, allocations: 469.1 kB / 0.4924 GB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1843, allocations: 4 kB / 0.4924 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008441/0.1852, allocations: 0.5229 MB / 0.493 GB, free: 9.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.1852, allocations: 41.64 kB / 0.493 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1853, allocations: 12.02 kB / 0.493 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1853, allocations: 4 kB / 0.493 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.1856, allocations: 83.83 kB / 0.4931 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.1856, allocations: 11.94 kB / 0.4931 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.1861, allocations: 59.42 kB / 0.4932 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.1861, allocations: 24 kB / 0.4932 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003564/0.1865, allocations: 264.5 kB / 0.4934 GB, free: 9.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003493/0.1868, allocations: 317.7 kB / 0.4937 GB, free: 8.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005535/0.1874, allocations: 452.7 kB / 0.4942 GB, free: 8.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.1874, allocations: 0 / 0.4942 GB, free: 8.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008202/0.1882, allocations: 0.5217 MB / 0.4947 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.1883, allocations: 41.69 kB / 0.4947 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1883, allocations: 4.594 kB / 0.4947 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.1883, allocations: 8 kB / 0.4947 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1886, allocations: 83.84 kB / 0.4948 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1886, allocations: 7.984 kB / 0.4948 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.1891, allocations: 43.67 kB / 0.4949 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.1891, allocations: 20 kB / 0.4949 GB, free: 7.598 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.0001976/0.1893, allocations: 253.6 kB / 0.4951 GB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.1894, allocations: 51.44 kB / 0.4952 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.1901, allocations: 355.4 kB / 0.4955 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1901, allocations: 7.938 kB / 0.4955 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1901, allocations: 0 / 0.4955 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1901, allocations: 0 / 0.4955 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.1905, allocations: 417.2 kB / 0.4959 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1905, allocations: 0 / 0.4959 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1907, allocations: 28.06 kB / 0.4959 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1907, allocations: 0 / 0.4959 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1907, allocations: 23.86 kB / 0.496 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1907, allocations: 0 / 0.496 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.1907, allocations: 0 / 0.496 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.1913, allocations: 367.8 kB / 0.4963 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1914, allocations: 132.4 kB / 0.4964 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.1915, allocations: 8 kB / 0.4965 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1918, allocations: 15.98 kB / 0.4965 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1919, allocations: 11.98 kB / 0.4965 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1919, allocations: 8 kB / 0.4965 GB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005842/0.1925, allocations: 370.8 kB / 0.4968 GB, free: 5.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.1925, allocations: 4 kB / 0.4968 GB, free: 5.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001235/0.1937, allocations: 435.5 kB / 0.4973 GB, free: 5.043 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.00195/0.1957, allocations: 1.202 MB / 0.4984 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009848/0.1967, allocations: 0.6725 MB / 0.4991 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1967, allocations: 0 / 0.4991 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.1969, allocations: 179.4 kB / 0.4993 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.1979, allocations: 193.7 kB / 0.4994 GB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2264/0.4243, allocations: 4.576 MB / 0.5039 GB, free: 49.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.4248, allocations: 0.8421 MB / 0.5047 GB, free: 48.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008201/0.4257, allocations: 164 kB / 0.5049 GB, free: 48.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/0.426, allocations: 154.9 kB / 0.505 GB, free: 48.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.462e-06/0.426, allocations: 0 / 0.505 GB, free: 48.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.462, allocations: 16.42 MB / 0.5211 GB, free: 43.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.4621, allocations: 255.2 kB / 0.5213 GB, free: 42.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.733, allocations: 0 / 0.5213 GB, free: 42.91 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)