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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.00232/0.00232, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.763/1.763, allocations: 194.3 MB / 207.5 MB, free: 3.395 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001694/0.001694, allocations: 103.6 kB / 252.6 MB, free: 4.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2227/0.2227, allocations: 39.93 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.107e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9549/1.068, allocations: 311.2 MB / 0.7484 GB, free: 137.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.068, allocations: 83.95 kB / 0.7485 GB, free: 137.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1978/1.266, allocations: 96.42 MB / 0.8427 GB, free: 39.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/1.266, allocations: 0 / 0.8427 GB, free: 39.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.07e-05/1.266, allocations: 12 kB / 0.8427 GB, free: 39.74 MB / 490.7 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.001793/1.268, allocations: 0.8239 MB / 0.8435 GB, free: 38.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.268, allocations: 8.031 kB / 0.8435 GB, free: 38.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/1.268, allocations: 59.42 kB / 0.8435 GB, free: 38.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/1.269, allocations: 487.6 kB / 0.844 GB, free: 38.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/1.269, allocations: 20.56 kB / 0.844 GB, free: 38.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.064e-05/1.269, allocations: 31.98 kB / 0.8441 GB, free: 38.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/1.27, allocations: 0.5047 MB / 0.8445 GB, free: 37.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.27, allocations: 0 / 0.8445 GB, free: 37.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/1.27, allocations: 15.95 kB / 0.8446 GB, free: 37.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/1.27, allocations: 28.48 kB / 0.8446 GB, free: 37.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/1.271, allocations: 446.1 kB / 0.845 GB, free: 37.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/1.273, allocations: 2.246 MB / 0.8472 GB, free: 34.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/1.274, allocations: 198.6 kB / 0.8474 GB, free: 34.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/1.274, allocations: 116.8 kB / 0.8475 GB, free: 34.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009433/1.275, allocations: 1.061 MB / 0.8485 GB, free: 33.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/1.275, allocations: 145.1 kB / 0.8487 GB, free: 33.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/1.275, allocations: 0 / 0.8487 GB, free: 33.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003559/1.275, allocations: 226.7 kB / 0.8489 GB, free: 32.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.276, allocations: 158.2 kB / 0.8491 GB, free: 32.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/1.276, allocations: 435.7 kB / 0.8495 GB, free: 32.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/1.276, allocations: 29.7 kB / 0.8495 GB, free: 32.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/1.276, allocations: 306.8 kB / 0.8498 GB, free: 31.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/1.276, allocations: 43.45 kB / 0.8498 GB, free: 31.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/1.276, allocations: 12 kB / 0.8498 GB, free: 31.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.829e-05/1.276, allocations: 358.8 kB / 0.8502 GB, free: 31.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.276, allocations: 104.8 kB / 0.8503 GB, free: 31.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/1.277, allocations: 334.3 kB / 0.8506 GB, free: 31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/1.277, allocations: 198 kB / 0.8508 GB, free: 30.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.277, allocations: 4 kB / 0.8508 GB, free: 30.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005784/1.277, allocations: 498.1 kB / 0.8513 GB, free: 30.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006903/1.278, allocations: 2.818 MB / 0.854 GB, free: 27.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.278, allocations: 4 kB / 0.854 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.278, allocations: 16 kB / 0.854 GB, free: 27.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/1.278, allocations: 83.84 kB / 0.8541 GB, free: 27.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/1.279, allocations: 19.92 kB / 0.8541 GB, free: 27.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/1.279, allocations: 59.42 kB / 0.8542 GB, free: 27.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/1.279, allocations: 28 kB / 0.8542 GB, free: 27.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/1.279, allocations: 4 kB / 0.8542 GB, free: 27.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005713/1.28, allocations: 449.7 kB / 0.8547 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/1.28, allocations: 4 kB / 0.8547 GB, free: 26.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/1.28, allocations: 12 kB / 0.8547 GB, free: 26.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/1.28, allocations: 83.83 kB / 0.8548 GB, free: 26.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.28, allocations: 19.89 kB / 0.8548 GB, free: 26.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/1.28, allocations: 55.64 kB / 0.8548 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/1.28, allocations: 27.94 kB / 0.8549 GB, free: 26.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001144/1.28, allocations: 174.6 kB / 0.855 GB, free: 26.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/1.28, allocations: 43.44 kB / 0.8551 GB, free: 26.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/1.281, allocations: 279 kB / 0.8553 GB, free: 25.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/1.281, allocations: 7.938 kB / 0.8553 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.281, allocations: 4 kB / 0.8553 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.281, allocations: 3.984 kB / 0.8553 GB, free: 25.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/1.281, allocations: 373.3 kB / 0.8557 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.281, allocations: 0 / 0.8557 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/1.281, allocations: 19.98 kB / 0.8557 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.281, allocations: 0 / 0.8557 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/1.281, allocations: 4 kB / 0.8557 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.281, allocations: 3.953 kB / 0.8557 GB, free: 25.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.281, allocations: 0 / 0.8557 GB, free: 25.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/1.282, allocations: 294.1 kB / 0.856 GB, free: 25.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/1.282, allocations: 128.5 kB / 0.8561 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/1.282, allocations: 8 kB / 0.8561 GB, free: 24.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.282, allocations: 19.83 kB / 0.8562 GB, free: 24.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/1.282, allocations: 11.98 kB / 0.8562 GB, free: 24.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/1.282, allocations: 8 kB / 0.8562 GB, free: 24.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002943/1.282, allocations: 329.6 kB / 0.8565 GB, free: 24.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.282, allocations: 4 kB / 0.8565 GB, free: 24.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001344/1.284, allocations: 459.3 kB / 0.8569 GB, free: 24.16 MB / 490.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.0009557/1.285, allocations: 0.4915 MB / 0.8574 GB, free: 23.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006881/1.285, allocations: 0.6379 MB / 0.858 GB, free: 23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.285, allocations: 3.938 kB / 0.858 GB, free: 23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/1.286, allocations: 159.4 kB / 0.8582 GB, free: 22.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/1.286, allocations: 152.5 kB / 0.8583 GB, free: 22.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.287, allocations: 0.5541 MB / 0.8589 GB, free: 22.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/1.288, allocations: 0.8553 MB / 0.8597 GB, free: 21.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005388/1.288, allocations: 176.1 kB / 0.8599 GB, free: 21.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/1.288, allocations: 35.42 kB / 0.8599 GB, free: 21.01 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.288, allocations: 3.938 kB / 0.8599 GB, free: 21.01 MB / 490.7 MB Notification: Performance of Templates: time 0.01489/1.303, allocations: 10.54 MB / 0.8702 GB, free: 10.5 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (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)