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.002115/0.002115, allocations: 181.6 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.764/1.764, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001699/0.001699, allocations: 119 kB / 247.4 MB, free: 6.219 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.2268/0.2268, allocations: 39.94 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.863e-05, allocations: 0 / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.936/1.05, allocations: 310.6 MB / 0.741 GB, free: 99.09 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.051, allocations: 83.95 kB / 0.7411 GB, free: 99.05 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2097/1.26, allocations: 95.66 MB / 0.8345 GB, free: 10.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.26, allocations: 0 / 0.8345 GB, free: 10.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.62e-05/1.26, allocations: 16 kB / 0.8345 GB, free: 10.1 MB / 474.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.002025/1.263, allocations: 0.8238 MB / 0.8353 GB, free: 9.223 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.263, allocations: 8.031 kB / 0.8353 GB, free: 9.215 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/1.263, allocations: 63.42 kB / 0.8354 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/1.264, allocations: 471.7 kB / 0.8358 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/1.264, allocations: 12 kB / 0.8358 GB, free: 8.637 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.316e-05/1.264, allocations: 23.98 kB / 0.8358 GB, free: 8.613 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006132/1.265, allocations: 381.1 kB / 0.8362 GB, free: 8.242 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/1.265, allocations: 483.6 kB / 0.8367 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/1.265, allocations: 0 / 0.8367 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/1.265, allocations: 3.984 kB / 0.8367 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/1.266, allocations: 32.53 kB / 0.8367 GB, free: 7.695 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/1.268, allocations: 2.182 MB / 0.8388 GB, free: 5.375 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/1.269, allocations: 196.2 kB / 0.839 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/1.269, allocations: 109 kB / 0.8391 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/1.27, allocations: 1.045 MB / 0.8401 GB, free: 3.902 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/1.27, allocations: 143.4 kB / 0.8403 GB, free: 3.746 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/1.27, allocations: 0 / 0.8403 GB, free: 3.746 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005897/1.271, allocations: 213.1 kB / 0.8405 GB, free: 3.531 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.271, allocations: 162.2 kB / 0.8406 GB, free: 3.336 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/1.271, allocations: 381 kB / 0.841 GB, free: 2.957 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.271, allocations: 33.7 kB / 0.841 GB, free: 2.918 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.271, allocations: 307.1 kB / 0.8413 GB, free: 2.609 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/1.272, allocations: 43.45 kB / 0.8414 GB, free: 2.566 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.272, allocations: 3.938 kB / 0.8414 GB, free: 2.562 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/1.272, allocations: 350.8 kB / 0.8417 GB, free: 2.211 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/1.272, allocations: 104.8 kB / 0.8418 GB, free: 2.109 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/1.272, allocations: 321.4 kB / 0.8421 GB, free: 1.691 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/1.275, allocations: 0.6172 MB / 0.8427 GB, free: 1.074 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/1.275, allocations: 4 kB / 0.8427 GB, free: 1.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.003059/1.278, allocations: 0.8689 MB / 0.8436 GB, free: 204 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2905/1.568, allocations: 2.821 MB / 0.8463 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/1.568, allocations: 7.062 kB / 0.8463 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/1.568, allocations: 11 kB / 0.8463 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/1.569, allocations: 89.59 kB / 0.8464 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.569, allocations: 14.08 kB / 0.8464 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/1.569, allocations: 52.34 kB / 0.8465 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/1.569, allocations: 29.94 kB / 0.8465 GB, free: 123.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/1.57, allocations: 3.375 kB / 0.8465 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003323/1.573, allocations: 0.7882 MB / 0.8473 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.573, allocations: 8.156 kB / 0.8473 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.573, allocations: 12.14 kB / 0.8473 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/1.573, allocations: 87.78 kB / 0.8474 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.573, allocations: 13.86 kB / 0.8474 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/1.574, allocations: 35.88 kB / 0.8474 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/1.574, allocations: 22.41 kB / 0.8475 GB, free: 123.1 MB / 474.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.0001914/1.574, allocations: 158.3 kB / 0.8476 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.574, allocations: 50.95 kB / 0.8477 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/1.575, allocations: 252.5 kB / 0.8479 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.575, allocations: 2.688 kB / 0.8479 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.575, allocations: 0 / 0.8479 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.575, allocations: 1.656 kB / 0.8479 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/1.575, allocations: 338.7 kB / 0.8482 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.575, allocations: 4.859 kB / 0.8482 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.575, allocations: 19.95 kB / 0.8483 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/1.575, allocations: 4.641 kB / 0.8483 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.575, allocations: 5.047 kB / 0.8483 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.575, allocations: 1.719 kB / 0.8483 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.575, allocations: 0.7031 kB / 0.8483 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/1.576, allocations: 265.1 kB / 0.8485 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.576, allocations: 125.6 kB / 0.8486 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/1.576, allocations: 4.656 kB / 0.8486 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/1.576, allocations: 11.81 kB / 0.8487 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/1.577, allocations: 8.516 kB / 0.8487 GB, free: 122.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/1.577, allocations: 10.64 kB / 0.8487 GB, free: 122.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004566/1.577, allocations: 290.5 kB / 0.849 GB, free: 122.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.577, allocations: 0 / 0.849 GB, free: 122.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002761/1.58, allocations: 447.3 kB / 0.8494 GB, free: 122.5 MB / 474.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.001618/1.581, allocations: 0.4975 MB / 0.8499 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009677/1.582, allocations: 0.6002 MB / 0.8504 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.582, allocations: 0 / 0.8504 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/1.583, allocations: 155.3 kB / 0.8506 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/1.583, allocations: 132.8 kB / 0.8507 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/1.584, allocations: 0.5368 MB / 0.8512 GB, free: 122 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/1.585, allocations: 0.855 MB / 0.8521 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005774/1.585, allocations: 155 kB / 0.8522 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/1.586, allocations: 31.42 kB / 0.8523 GB, free: 121.3 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/1.586, allocations: 8.219 kB / 0.8523 GB, free: 121.3 MB / 474.7 MB Notification: Performance of Templates: time 0.01709/1.603, allocations: 9.413 MB / 0.8615 GB, free: 121.1 MB / 474.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)