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.001327/0.001327, allocations: 95.34 kB / 15.68 MB, free: 488 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.00176/0.00176, allocations: 177.8 kB / 16.57 MB, free: 6.844 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.488/1.488, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4026/0.4026, allocations: 43.55 MB / 314.5 MB, free: 8.996 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.0005104/0.0005104, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01265/0.1505, allocations: 10.75 MB / 453.6 MB, free: 2.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2952/0.4458, allocations: 4.743 MB / 458.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008439/0.4467, allocations: 19.41 kB / 458.4 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.4474, allocations: 169.2 kB / 458.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.4492, allocations: 0.5667 MB / 459.1 MB, free: 36.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.4529, allocations: 1.195 MB / 460.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.4542, allocations: 0.6774 MB / 461 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.4547, allocations: 263.7 kB / 461.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.4555, allocations: 412.1 kB / 461.6 MB, free: 36.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.456, allocations: 311.4 kB / 461.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.456, allocations: 20.94 kB / 461.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.4582, allocations: 0.9496 MB / 462.9 MB, free: 36.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.4584, allocations: 136.5 kB / 463 MB, free: 36.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.4586, allocations: 119.9 kB / 463.1 MB, free: 36.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.4598, allocations: 0.9075 MB / 464.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4598, allocations: 0 / 464.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4598, allocations: 4 kB / 464.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4598, allocations: 0 / 464.1 MB, free: 36.73 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.001473/0.4613, allocations: 0.8586 MB / 464.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4613, allocations: 8.562 kB / 464.9 MB, free: 36.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.636e-05/0.4614, allocations: 75.47 kB / 465 MB, free: 36.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.4617, allocations: 59.12 kB / 465.1 MB, free: 36.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.4622, allocations: 425.3 kB / 465.5 MB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.4623, allocations: 23.31 kB / 465.5 MB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.4623, allocations: 27.31 kB / 465.5 MB, free: 35.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.463, allocations: 0.5216 MB / 466 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.463, allocations: 2.906 kB / 466 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.4631, allocations: 13.19 kB / 466.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.4631, allocations: 31.03 kB / 466.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.4637, allocations: 464.9 kB / 466.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.4665, allocations: 2.285 MB / 468.8 MB, free: 34.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.4669, allocations: 235.5 kB / 469.1 MB, free: 34.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.4679, allocations: 1.034 MB / 470.1 MB, free: 33.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.4682, allocations: 224.2 kB / 470.3 MB, free: 33.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.4682, allocations: 0 / 470.3 MB, free: 33.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000618/0.4688, allocations: 462.7 kB / 470.8 MB, free: 33.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/0.4689, allocations: 238 kB / 471 MB, free: 32.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.4694, allocations: 0.5129 MB / 471.5 MB, free: 32.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.4695, allocations: 31.95 kB / 471.5 MB, free: 32.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4696, allocations: 290.4 kB / 471.8 MB, free: 32.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.4697, allocations: 61.56 kB / 471.9 MB, free: 32.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.4697, allocations: 7.094 kB / 471.9 MB, free: 32.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.4698, allocations: 361.5 kB / 472.2 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.47, allocations: 124.2 kB / 472.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.4703, allocations: 312.9 kB / 472.7 MB, free: 32.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.4705, allocations: 200.3 kB / 472.9 MB, free: 32.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4705, allocations: 5.531 kB / 472.9 MB, free: 32.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006663/0.4712, allocations: 0.5171 MB / 473.4 MB, free: 31.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000394/0.4716, allocations: 1.785 MB / 475.2 MB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4716, allocations: 3.094 kB / 475.2 MB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4716, allocations: 9.656 kB / 475.2 MB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.4719, allocations: 78.86 kB / 475.3 MB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.472, allocations: 14.12 kB / 475.3 MB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.4724, allocations: 62.38 kB / 475.3 MB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.4724, allocations: 17.5 kB / 475.4 MB, free: 30.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.4724, allocations: 6.031 kB / 475.4 MB, free: 30.01 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006124/0.473, allocations: 473.1 kB / 475.8 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4731, allocations: 6 kB / 475.8 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.4731, allocations: 6.031 kB / 475.8 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.4733, allocations: 76.02 kB / 475.9 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4734, allocations: 15.05 kB / 475.9 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.4737, allocations: 58.95 kB / 476 MB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.4737, allocations: 19.09 kB / 476 MB, free: 29.91 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.0002711/0.474, allocations: 302.5 kB / 476.3 MB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-05/0.4741, allocations: 52.53 kB / 476.3 MB, free: 29.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.4747, allocations: 378.8 kB / 476.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4747, allocations: 2.297 kB / 476.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4747, allocations: 0 / 476.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4747, allocations: 3.062 kB / 476.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.4752, allocations: 411.8 kB / 477.1 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4752, allocations: 0 / 477.1 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.4753, allocations: 28.97 kB / 477.2 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4753, allocations: 0.5 kB / 477.2 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.4754, allocations: 9.5 kB / 477.2 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4754, allocations: 0 / 477.2 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4754, allocations: 4.688 kB / 477.2 MB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.4758, allocations: 367.2 kB / 477.5 MB, free: 29.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.476, allocations: 130 kB / 477.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.476, allocations: 10.05 kB / 477.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.4763, allocations: 16.75 kB / 477.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.4763, allocations: 13.77 kB / 477.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.4764, allocations: 12.28 kB / 477.7 MB, free: 29.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.4767, allocations: 369.1 kB / 478.1 MB, free: 29.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4767, allocations: 2.844 kB / 478.1 MB, free: 29.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001281/0.478, allocations: 418.2 kB / 478.5 MB, free: 28.96 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 (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.001479/0.4795, allocations: 1.203 MB / 479.7 MB, free: 28.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4805, allocations: 0.6659 MB / 480.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4806, allocations: 0 / 480.3 MB, free: 28.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4808, allocations: 184.7 kB / 480.5 MB, free: 28.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008536/0.4816, allocations: 185.9 kB / 480.7 MB, free: 28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.4839, allocations: 4.425 MB / 485.1 MB, free: 24.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.4842, allocations: 0.8533 MB / 486 MB, free: 23.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005103/0.4847, allocations: 169.9 kB / 486.1 MB, free: 23.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.4849, allocations: 158.6 kB / 486.3 MB, free: 23.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4849, allocations: 0 / 486.3 MB, free: 23.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/0.5264, allocations: 15.8 MB / 0.4903 GB, free: 20.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/0.5267, allocations: 227.5 kB / 0.4906 GB, free: 20.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.818, allocations: 1.406 kB / 0.4906 GB, free: 20.44 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/linux/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) Environment - environmentSimulation: