Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009819/0.0009816, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008142/0.008142, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.422/1.422, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4016/0.4016, allocations: 40.01 MB / 310.7 MB, free: 9.938 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005523/0.0005521, allocations: 12 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1587, allocations: 57.97 MB / 437.4 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01585/0.1746, allocations: 12.36 MB / 449.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008927/0.1836, allocations: 5.575 MB / 455.4 MB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009691/0.1846, allocations: 15.88 kB / 455.4 MB, free: 160 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3241/0.5088, allocations: 178.2 kB / 455.5 MB, free: 34.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.512, allocations: 0.6273 MB / 456.2 MB, free: 34.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.517, allocations: 1.296 MB / 457.5 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.5195, allocations: 1.724 MB / 459.2 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005717/0.5201, allocations: 263.1 kB / 459.5 MB, free: 34.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.5211, allocations: 441.3 kB / 459.9 MB, free: 34.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008068/0.5219, allocations: 465.3 kB / 460.3 MB, free: 34.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.98e-05/0.522, allocations: 20.44 kB / 460.4 MB, free: 34.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.5246, allocations: 1.037 MB / 461.4 MB, free: 34.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.5249, allocations: 145.9 kB / 461.5 MB, free: 34.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.5253, allocations: 274.2 kB / 461.8 MB, free: 34.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.5272, allocations: 1.265 MB / 463.1 MB, free: 34.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5272, allocations: 1.219 kB / 463.1 MB, free: 34.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5272, allocations: 0 / 463.1 MB, free: 34.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.5272, allocations: 4 kB / 463.1 MB, free: 34.07 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.001599/0.5288, allocations: 0.8498 MB / 463.9 MB, free: 33.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5289, allocations: 9.75 kB / 463.9 MB, free: 33.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.5291, allocations: 60.55 kB / 464 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.5297, allocations: 442 kB / 464.4 MB, free: 33.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.5298, allocations: 28.31 kB / 464.5 MB, free: 33.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.5298, allocations: 29.53 kB / 464.5 MB, free: 33.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/0.5306, allocations: 0.5221 MB / 465 MB, free: 33.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5306, allocations: 9.391 kB / 465 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.5307, allocations: 10.25 kB / 465 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.5307, allocations: 27.34 kB / 465.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006175/0.5314, allocations: 461.9 kB / 465.5 MB, free: 33.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.5342, allocations: 2.263 MB / 467.8 MB, free: 31.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.5346, allocations: 244.5 kB / 468 MB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.5348, allocations: 133.3 kB / 468.1 MB, free: 31.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009301/0.5357, allocations: 1.019 MB / 469.2 MB, free: 30.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.536, allocations: 218.4 kB / 469.4 MB, free: 30.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 3.657e-06/0.5361, allocations: 0 / 469.4 MB, free: 30.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007154/0.5368, allocations: 388.4 kB / 469.7 MB, free: 30.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.5369, allocations: 241 kB / 470 MB, free: 30.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.5375, allocations: 0.528 MB / 470.5 MB, free: 30.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.5375, allocations: 28.52 kB / 470.5 MB, free: 30.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.5377, allocations: 286 kB / 470.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.5378, allocations: 57.8 kB / 470.9 MB, free: 30.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.5378, allocations: 37.42 kB / 470.9 MB, free: 30.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.538, allocations: 361.6 kB / 471.3 MB, free: 29.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.5382, allocations: 133.3 kB / 471.4 MB, free: 29.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.5385, allocations: 314.9 kB / 471.7 MB, free: 29.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.539, allocations: 455.5 kB / 472.1 MB, free: 29.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.539, allocations: 0 / 472.1 MB, free: 29.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007312/0.5397, allocations: 0.5352 MB / 472.7 MB, free: 29.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.5399, allocations: 257.7 kB / 472.9 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5399, allocations: 3.25 kB / 472.9 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.5399, allocations: 13.69 kB / 472.9 MB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.5402, allocations: 72.8 kB / 473 MB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.5403, allocations: 13.23 kB / 473 MB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.5406, allocations: 59.14 kB / 473.1 MB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.5407, allocations: 20.56 kB / 473.1 MB, free: 28.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.5407, allocations: 3.312 kB / 473.1 MB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006708/0.5414, allocations: 488.4 kB / 473.6 MB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5414, allocations: 7.062 kB / 473.6 MB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.351e-06/0.5414, allocations: 6 kB / 473.6 MB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.5417, allocations: 87.17 kB / 473.7 MB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5417, allocations: 9.844 kB / 473.7 MB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.542, allocations: 50.58 kB / 473.7 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.542, allocations: 19.28 kB / 473.8 MB, free: 28.8 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.0002499/0.5423, allocations: 300.7 kB / 474.1 MB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.5424, allocations: 56.06 kB / 474.1 MB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.543, allocations: 365.8 kB / 474.5 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.543, allocations: 4.984 kB / 474.5 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.543, allocations: 2.875 kB / 474.5 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.543, allocations: 0 / 474.5 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.5435, allocations: 421 kB / 474.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5435, allocations: 0 / 474.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.5436, allocations: 22.88 kB / 474.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5436, allocations: 0 / 474.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.5436, allocations: 9.672 kB / 474.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5436, allocations: 4 kB / 474.9 MB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5436, allocations: 2.75 kB / 474.9 MB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.5441, allocations: 368.8 kB / 475.3 MB, free: 28.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5442, allocations: 128 kB / 475.4 MB, free: 28.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.5443, allocations: 7.281 kB / 475.4 MB, free: 28.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.5445, allocations: 21.33 kB / 475.4 MB, free: 28.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.5446, allocations: 13.62 kB / 475.5 MB, free: 28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.5446, allocations: 13.88 kB / 475.5 MB, free: 28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003691/0.545, allocations: 370.8 kB / 475.8 MB, free: 27.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.545, allocations: 0 / 475.8 MB, free: 27.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001249/0.5462, allocations: 422.3 kB / 476.2 MB, free: 27.86 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.001033/0.5473, allocations: 413.4 kB / 476.6 MB, free: 27.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.5483, allocations: 0.6716 MB / 477.3 MB, free: 27.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.5483, allocations: 2.781 kB / 477.3 MB, free: 27.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.5485, allocations: 185.3 kB / 477.5 MB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5496, allocations: 195.1 kB / 477.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.5513, allocations: 1.017 MB / 478.7 MB, free: 26.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.5518, allocations: 0.8402 MB / 479.5 MB, free: 26.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005546/0.5523, allocations: 176 kB / 479.7 MB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.5524, allocations: 42.62 kB / 479.8 MB, free: 26.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5525, allocations: 0 / 479.8 MB, free: 26.23 MB / 382.1 MB Notification: Performance of Templates: time 0.02896/0.5814, allocations: 11.66 MB / 491.4 MB, free: 25.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) Environment - environmentSimulation: