Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_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.0009362/0.0009362, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000948/0.0009481, allocations: 184.1 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3479/0.3479, allocations: 43.58 MB / 315 MB, free: 9.051 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005533/0.0005533, allocations: 16 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1489, allocations: 58.87 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01351/0.1624, allocations: 12.36 MB / 455.9 MB, free: 388 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2793/0.4417, allocations: 5.567 MB / 461.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008213/0.4426, allocations: 19.41 kB / 461.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007694/0.4434, allocations: 170.8 kB / 461.7 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.4451, allocations: 0.646 MB / 462.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.4484, allocations: 1.292 MB / 463.6 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.4501, allocations: 1.724 MB / 465.3 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/0.4505, allocations: 270.4 kB / 465.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/0.4511, allocations: 432.2 kB / 466 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005552/0.4517, allocations: 463.4 kB / 466.5 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.4517, allocations: 20.31 kB / 466.5 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.4535, allocations: 1.037 MB / 467.5 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.4537, allocations: 145.5 kB / 467.7 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.4539, allocations: 275.2 kB / 467.9 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.4552, allocations: 1.274 MB / 469.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4553, allocations: 1.875 kB / 469.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4553, allocations: 0 / 469.2 MB, free: 35.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4553, allocations: 0 / 469.2 MB, free: 35.2 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.001392/0.4567, allocations: 0.8509 MB / 470.1 MB, free: 34.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4567, allocations: 9.625 kB / 470.1 MB, free: 34.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.005e-05/0.4568, allocations: 74.66 kB / 470.1 MB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.457, allocations: 62.25 kB / 470.2 MB, free: 34.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.4575, allocations: 437.2 kB / 470.6 MB, free: 34.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.4576, allocations: 23.47 kB / 470.7 MB, free: 34.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.4577, allocations: 29.22 kB / 470.7 MB, free: 34.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.4584, allocations: 0.5247 MB / 471.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4584, allocations: 3.938 kB / 471.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.4585, allocations: 12.19 kB / 471.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-05/0.4585, allocations: 33.81 kB / 471.3 MB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.4592, allocations: 462.9 kB / 471.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.462, allocations: 2.253 MB / 474 MB, free: 32.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.4624, allocations: 248.6 kB / 474.2 MB, free: 32.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.4626, allocations: 130.9 kB / 474.3 MB, free: 32.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008869/0.4634, allocations: 1.022 MB / 475.4 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.4637, allocations: 216.6 kB / 475.6 MB, free: 31.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.4638, allocations: 0 / 475.6 MB, free: 31.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005652/0.4643, allocations: 384 kB / 475.9 MB, free: 31.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.4644, allocations: 238.1 kB / 476.2 MB, free: 31.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.4649, allocations: 0.5237 MB / 476.7 MB, free: 31.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.4649, allocations: 32.98 kB / 476.7 MB, free: 31.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.4651, allocations: 285 kB / 477 MB, free: 31.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.4652, allocations: 60.2 kB / 477.1 MB, free: 31.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.4652, allocations: 40.16 kB / 477.1 MB, free: 31.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.4653, allocations: 360.3 kB / 477.5 MB, free: 30.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.4655, allocations: 133.9 kB / 477.6 MB, free: 30.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.4658, allocations: 316.2 kB / 477.9 MB, free: 30.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.4663, allocations: 459.7 kB / 478.3 MB, free: 30.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.4663, allocations: 0 / 478.3 MB, free: 30.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006507/0.467, allocations: 0.5338 MB / 478.9 MB, free: 30.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.4671, allocations: 256 kB / 479.1 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4671, allocations: 3.094 kB / 479.1 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4671, allocations: 6.156 kB / 479.1 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.4674, allocations: 87.36 kB / 479.2 MB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4675, allocations: 9.531 kB / 479.2 MB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.4678, allocations: 61.22 kB / 479.3 MB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.4679, allocations: 21.3 kB / 479.3 MB, free: 29.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.4679, allocations: 3.281 kB / 479.3 MB, free: 29.87 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005975/0.4685, allocations: 489.5 kB / 479.8 MB, free: 29.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4685, allocations: 3.125 kB / 479.8 MB, free: 29.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.4685, allocations: 6.969 kB / 479.8 MB, free: 29.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.4687, allocations: 78.33 kB / 479.9 MB, free: 29.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4688, allocations: 10.03 kB / 479.9 MB, free: 29.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.4691, allocations: 54.12 kB / 479.9 MB, free: 29.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.4691, allocations: 20.03 kB / 480 MB, free: 29.62 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.0002023/0.4693, allocations: 297.1 kB / 480.3 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.4694, allocations: 56.56 kB / 480.3 MB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.4699, allocations: 362.9 kB / 480.7 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.4699, allocations: 3.094 kB / 480.7 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.4699, allocations: 12.36 kB / 480.7 MB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.47, allocations: 0 / 480.7 MB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.4704, allocations: 413.5 kB / 481.1 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4704, allocations: 0.5 kB / 481.1 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4705, allocations: 22.97 kB / 481.1 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4705, allocations: 3.281 kB / 481.1 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.4705, allocations: 8.594 kB / 481.1 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4705, allocations: 7.219 kB / 481.1 MB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4706, allocations: 3.938 kB / 481.1 MB, free: 28.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.471, allocations: 365.1 kB / 481.5 MB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.4711, allocations: 135.5 kB / 481.6 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.4712, allocations: 7.344 kB / 481.6 MB, free: 28.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.4714, allocations: 17.11 kB / 481.6 MB, free: 28.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.4715, allocations: 6.812 kB / 481.6 MB, free: 28.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.4715, allocations: 14.45 kB / 481.7 MB, free: 28.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.4718, allocations: 373.6 kB / 482 MB, free: 28.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4718, allocations: 0 / 482 MB, free: 28.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001036/0.4729, allocations: 433.1 kB / 482.4 MB, free: 28.27 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.001421/0.4743, allocations: 1.212 MB / 483.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008114/0.4751, allocations: 0.668 MB / 484.3 MB, free: 27.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4751, allocations: 3.094 kB / 484.3 MB, free: 27.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.4753, allocations: 184.9 kB / 484.5 MB, free: 27.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.4763, allocations: 198 kB / 484.7 MB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005216/0.4815, allocations: 4.623 MB / 489.3 MB, free: 24.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4818, allocations: 0.8535 MB / 490.2 MB, free: 23.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005255/0.4824, allocations: 169.8 kB / 490.3 MB, free: 23.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4825, allocations: 153.4 kB / 490.5 MB, free: 23.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4826, allocations: 0 / 490.5 MB, free: 23.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.524, allocations: 16.24 MB / 0.4949 GB, free: 19.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.5242, allocations: 241.5 kB / 0.4951 GB, free: 19.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.899, allocations: 0 / 0.4951 GB, free: 19.35 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1)