Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009127/0.0009127, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4746/0.4746, allocations: 38.02 MB / 308.4 MB, free: 10.35 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.1. 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.0007245/0.0007248, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1645, allocations: 57.51 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01693/0.1815, allocations: 10.75 MB / 444.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008872/0.1904, allocations: 4.761 MB / 449.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1916, allocations: 15.88 kB / 449.5 MB, free: 6.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.1925, allocations: 179.1 kB / 449.6 MB, free: 5.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.1946, allocations: 0.557 MB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.199, allocations: 1.2 MB / 451.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.2006, allocations: 0.6831 MB / 452.1 MB, free: 3.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005569/0.2011, allocations: 269.4 kB / 452.3 MB, free: 3.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008542/0.202, allocations: 410.8 kB / 452.7 MB, free: 2.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/0.2025, allocations: 306.9 kB / 453 MB, free: 2.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.125e-05/0.2026, allocations: 24 kB / 453.1 MB, free: 2.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.205, allocations: 0.9596 MB / 454 MB, free: 1.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.2052, allocations: 131.5 kB / 454.1 MB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.2054, allocations: 121.5 kB / 454.3 MB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.2068, allocations: 0.9121 MB / 455.2 MB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2068, allocations: 0 / 455.2 MB, free: 264 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.2069, allocations: 0 / 455.2 MB, free: 264 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.2069, allocations: 0 / 455.2 MB, free: 264 kB / 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.3274/0.5343, allocations: 0.844 MB / 456 MB, free: 51.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.5344, allocations: 8.938 kB / 456 MB, free: 51.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.5347, allocations: 57.42 kB / 456.1 MB, free: 51.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.5355, allocations: 430.2 kB / 456.5 MB, free: 51.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.5356, allocations: 21.38 kB / 456.5 MB, free: 51.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.5356, allocations: 29.3 kB / 456.6 MB, free: 51.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.5365, allocations: 0.5175 MB / 457.1 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.5365, allocations: 2.25 kB / 457.1 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.5366, allocations: 21.94 kB / 457.1 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.5366, allocations: 30.23 kB / 457.1 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007101/0.5374, allocations: 459.9 kB / 457.6 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.5405, allocations: 2.28 MB / 459.9 MB, free: 49.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.5409, allocations: 240.3 kB / 460.1 MB, free: 49.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.542, allocations: 1.036 MB / 461.1 MB, free: 49.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.5424, allocations: 215.4 kB / 461.3 MB, free: 48.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.275e-06/0.5424, allocations: 0 / 461.3 MB, free: 48.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008067/0.5432, allocations: 466.5 kB / 461.8 MB, free: 48.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.5434, allocations: 241.2 kB / 462 MB, free: 48.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.5441, allocations: 0.5141 MB / 462.5 MB, free: 48.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5442, allocations: 28.98 kB / 462.6 MB, free: 48.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.5444, allocations: 290.2 kB / 462.9 MB, free: 48.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.5445, allocations: 54.98 kB / 462.9 MB, free: 48.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.5445, allocations: 6.406 kB / 462.9 MB, free: 48.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5446, allocations: 360.1 kB / 463.3 MB, free: 47.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5448, allocations: 126.4 kB / 463.4 MB, free: 47.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.5451, allocations: 305.8 kB / 463.7 MB, free: 47.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.5454, allocations: 205.9 kB / 463.9 MB, free: 47.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5454, allocations: 2.531 kB / 463.9 MB, free: 47.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008989/0.5464, allocations: 0.5156 MB / 464.4 MB, free: 47.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005513/0.5469, allocations: 1.772 MB / 466.2 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5469, allocations: 3.406 kB / 466.2 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.547, allocations: 9.188 kB / 466.2 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.5473, allocations: 80.52 kB / 466.3 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.5473, allocations: 13.83 kB / 466.3 MB, free: 45.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/0.5477, allocations: 63.28 kB / 466.3 MB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.5478, allocations: 18.94 kB / 466.4 MB, free: 45.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.5478, allocations: 13.14 kB / 466.4 MB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000863/0.5487, allocations: 477.9 kB / 466.8 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5487, allocations: 7.75 kB / 466.8 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.5487, allocations: 10.67 kB / 466.9 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.549, allocations: 72.55 kB / 466.9 MB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.549, allocations: 18.05 kB / 466.9 MB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.5493, allocations: 48.17 kB / 467 MB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.5493, allocations: 19.62 kB / 467 MB, free: 45.48 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.00029/0.5496, allocations: 305.9 kB / 467.3 MB, free: 45.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.5497, allocations: 49.5 kB / 467.4 MB, free: 45.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005842/0.5503, allocations: 367.5 kB / 467.7 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5503, allocations: 3.844 kB / 467.7 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5503, allocations: 0 / 467.7 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5503, allocations: 0 / 467.7 MB, free: 45.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.5508, allocations: 414.2 kB / 468.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5508, allocations: 0 / 468.1 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5509, allocations: 26.55 kB / 468.2 MB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5509, allocations: 3.312 kB / 468.2 MB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.5509, allocations: 10.55 kB / 468.2 MB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.5509, allocations: 7.953 kB / 468.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5509, allocations: 0 / 468.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.5514, allocations: 367.4 kB / 468.5 MB, free: 44.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.5515, allocations: 132.8 kB / 468.7 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.5516, allocations: 7.281 kB / 468.7 MB, free: 44.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.5519, allocations: 20.56 kB / 468.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.5519, allocations: 14.83 kB / 468.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.5519, allocations: 9.75 kB / 468.7 MB, free: 44.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00038/0.5523, allocations: 370.2 kB / 469.1 MB, free: 44.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5523, allocations: 0.7656 kB / 469.1 MB, free: 44.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001187/0.5535, allocations: 430.4 kB / 469.5 MB, free: 44.19 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.0008899/0.5544, allocations: 415.5 kB / 469.9 MB, free: 44.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008592/0.5553, allocations: 0.6535 MB / 470.6 MB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5553, allocations: 3.188 kB / 470.6 MB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.5555, allocations: 188.3 kB / 470.7 MB, free: 43.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.5564, allocations: 185.2 kB / 470.9 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.5577, allocations: 0.9551 MB / 471.9 MB, free: 43.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.5579, allocations: 0.8534 MB / 472.7 MB, free: 42.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004759/0.5584, allocations: 167.9 kB / 472.9 MB, free: 42.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.5585, allocations: 47.69 kB / 472.9 MB, free: 42.29 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5585, allocations: 0 / 472.9 MB, free: 42.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01856/0.5771, allocations: 11.34 MB / 484.3 MB, free: 41.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) Environment - environmentSimulation: