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.0008506/0.0008506, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009268/0.0009269, allocations: 168.7 kB / 15.95 MB, free: 204 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.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4548/0.4548, allocations: 40 MB / 310.4 MB, free: 10.01 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.0006877/0.000688, allocations: 19.94 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.161, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01677/0.1778, allocations: 11.74 MB / 448.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008767/0.1866, allocations: 5.095 MB / 453.6 MB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.1878, allocations: 19.81 kB / 453.7 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.189, allocations: 163 kB / 453.8 MB, free: 1.496 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002966/0.192, allocations: 0.6259 MB / 454.4 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3341/0.5261, allocations: 1.188 MB / 455.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002752/0.5289, allocations: 1.438 MB / 457.1 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.5294, allocations: 249.2 kB / 457.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009718/0.5304, allocations: 463.5 kB / 457.8 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000914/0.5313, allocations: 446 kB / 458.2 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.5314, allocations: 20.28 kB / 458.2 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.5339, allocations: 0.9425 MB / 459.2 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.5341, allocations: 140.3 kB / 459.3 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.5343, allocations: 120 kB / 459.4 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5354, allocations: 0.9105 MB / 460.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5355, allocations: 0 / 460.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5355, allocations: 0 / 460.3 MB, free: 35.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.5355, allocations: 0 / 460.3 MB, free: 35.02 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.001518/0.537, allocations: 0.8495 MB / 461.2 MB, free: 34.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.5371, allocations: 8.969 kB / 461.2 MB, free: 34.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.5373, allocations: 58.75 kB / 461.2 MB, free: 34.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.5379, allocations: 427.5 kB / 461.7 MB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.5379, allocations: 23.83 kB / 461.7 MB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.538, allocations: 26.31 kB / 461.7 MB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.5387, allocations: 0.5215 MB / 462.2 MB, free: 34.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5387, allocations: 6.031 kB / 462.2 MB, free: 34.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.5388, allocations: 12.41 kB / 462.3 MB, free: 34.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.5388, allocations: 33.69 kB / 462.3 MB, free: 34.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006762/0.5395, allocations: 459.1 kB / 462.7 MB, free: 34.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/0.5424, allocations: 2.257 MB / 465 MB, free: 32.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.5428, allocations: 240 kB / 465.2 MB, free: 32.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.543, allocations: 134.8 kB / 465.4 MB, free: 32.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009422/0.5439, allocations: 1.016 MB / 466.4 MB, free: 31.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.5442, allocations: 223.3 kB / 466.6 MB, free: 31.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.5443, allocations: 0 / 466.6 MB, free: 31.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006572/0.5449, allocations: 381.9 kB / 467 MB, free: 31.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.545, allocations: 238.1 kB / 467.2 MB, free: 31.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.5456, allocations: 0.5139 MB / 467.7 MB, free: 31.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.5456, allocations: 31.42 kB / 467.7 MB, free: 31.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.5459, allocations: 289.1 kB / 468 MB, free: 31.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.147e-05/0.546, allocations: 66.48 kB / 468.1 MB, free: 31.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.546, allocations: 8.844 kB / 468.1 MB, free: 31.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5461, allocations: 358.3 kB / 468.4 MB, free: 30.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.5463, allocations: 126.9 kB / 468.6 MB, free: 30.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.5466, allocations: 307.8 kB / 468.9 MB, free: 30.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.5469, allocations: 207.4 kB / 469.1 MB, free: 30.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5469, allocations: 0.6562 kB / 469.1 MB, free: 30.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006982/0.5476, allocations: 0.5206 MB / 469.6 MB, free: 30.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.5478, allocations: 251.7 kB / 469.8 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5478, allocations: 6.688 kB / 469.8 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.5478, allocations: 6.531 kB / 469.9 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.5481, allocations: 81.33 kB / 469.9 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.5481, allocations: 6.25 kB / 469.9 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.5485, allocations: 64.52 kB / 470 MB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.5485, allocations: 21.72 kB / 470 MB, free: 30.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-06/0.5486, allocations: 6.891 kB / 470 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007375/0.5493, allocations: 476.1 kB / 470.5 MB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5493, allocations: 3.25 kB / 470.5 MB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.5493, allocations: 16.23 kB / 470.5 MB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.5496, allocations: 75.5 kB / 470.6 MB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5496, allocations: 10.42 kB / 470.6 MB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.5499, allocations: 53.02 kB / 470.7 MB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.55, allocations: 32.94 kB / 470.7 MB, free: 30.04 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.0002917/0.5502, allocations: 294.4 kB / 471 MB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.5503, allocations: 55.98 kB / 471 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005794/0.5509, allocations: 368.3 kB / 471.4 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5509, allocations: 0 / 471.4 MB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5509, allocations: 4 kB / 471.4 MB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5509, allocations: 0 / 471.4 MB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.5513, allocations: 409 kB / 471.8 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5513, allocations: 0 / 471.8 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.5514, allocations: 28.73 kB / 471.8 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.5514, allocations: 3.953 kB / 471.8 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.5515, allocations: 3.156 kB / 471.8 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.5515, allocations: 2.906 kB / 471.8 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5515, allocations: 0 / 471.8 MB, free: 29.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.5519, allocations: 363.7 kB / 472.2 MB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.552, allocations: 131.4 kB / 472.3 MB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.5521, allocations: 10.67 kB / 472.3 MB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.5523, allocations: 21.39 kB / 472.3 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.5524, allocations: 10.94 kB / 472.4 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.5524, allocations: 18.97 kB / 472.4 MB, free: 29.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004009/0.5528, allocations: 362.9 kB / 472.7 MB, free: 29.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.944e-06/0.5528, allocations: 7 kB / 472.7 MB, free: 29.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001333/0.5542, allocations: 429.1 kB / 473.1 MB, free: 29.11 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.00107/0.5552, allocations: 414.2 kB / 473.6 MB, free: 28.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009875/0.5562, allocations: 0.6628 MB / 474.2 MB, free: 28.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5563, allocations: 0 / 474.2 MB, free: 28.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.5565, allocations: 189.3 kB / 474.4 MB, free: 28.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009225/0.5574, allocations: 195.3 kB / 474.6 MB, free: 28.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.5587, allocations: 0.9652 MB / 475.6 MB, free: 28.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.559, allocations: 0.8437 MB / 476.4 MB, free: 27.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000522/0.5595, allocations: 171.8 kB / 476.6 MB, free: 27.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5596, allocations: 41.09 kB / 476.6 MB, free: 27.55 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5596, allocations: 0 / 476.6 MB, free: 27.55 MB / 382.1 MB Notification: Performance of Templates: time 0.0236/0.5832, allocations: 11.36 MB / 488 MB, free: 26.71 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: