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.005884/0.005885, allocations: 176 kB / 15.12 MB, free: 5.98 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.548/1.548, allocations: 194.5 MB / 210.3 MB, free: 7.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.001716/0.001716, allocations: 124.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.206/0.206, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 9.656 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8529/0.9685, allocations: 311.3 MB / 0.7542 GB, free: 166.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.9689, allocations: 92.47 kB / 0.7543 GB, free: 166.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1918/1.161, allocations: 96.72 MB / 0.8488 GB, free: 69.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.898e-06/1.161, allocations: 0 / 0.8488 GB, free: 69.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.796e-05/1.161, allocations: 15.94 kB / 0.8488 GB, free: 69.91 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.001929/1.163, allocations: 0.8865 MB / 0.8497 GB, free: 68.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.163, allocations: 12.03 kB / 0.8497 GB, free: 68.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/1.163, allocations: 59.42 kB / 0.8497 GB, free: 68.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/1.164, allocations: 481.2 kB / 0.8502 GB, free: 68.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/1.164, allocations: 32.55 kB / 0.8502 GB, free: 68.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/1.164, allocations: 24 kB / 0.8502 GB, free: 68.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/1.165, allocations: 0.5193 MB / 0.8508 GB, free: 67.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.165, allocations: 0 / 0.8508 GB, free: 67.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/1.165, allocations: 15.95 kB / 0.8508 GB, free: 67.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/1.165, allocations: 28.55 kB / 0.8508 GB, free: 67.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/1.165, allocations: 446 kB / 0.8512 GB, free: 67.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/1.168, allocations: 2.254 MB / 0.8534 GB, free: 64.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/1.168, allocations: 206.6 kB / 0.8536 GB, free: 64.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009143/1.169, allocations: 1.006 MB / 0.8546 GB, free: 63.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/1.17, allocations: 145 kB / 0.8547 GB, free: 63.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/1.17, allocations: 0 / 0.8547 GB, free: 63.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004561/1.17, allocations: 367.5 kB / 0.8551 GB, free: 63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/1.17, allocations: 162.2 kB / 0.8552 GB, free: 62.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/1.17, allocations: 445 kB / 0.8557 GB, free: 62.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/1.171, allocations: 29.7 kB / 0.8557 GB, free: 62.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/1.171, allocations: 307 kB / 0.856 GB, free: 62.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/1.171, allocations: 43.45 kB / 0.856 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/1.171, allocations: 8 kB / 0.856 GB, free: 61.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.477e-05/1.171, allocations: 354.8 kB / 0.8564 GB, free: 61.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/1.171, allocations: 104.8 kB / 0.8565 GB, free: 61.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/1.171, allocations: 330.3 kB / 0.8568 GB, free: 61.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/1.171, allocations: 202.2 kB / 0.857 GB, free: 60.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.171, allocations: 4 kB / 0.857 GB, free: 60.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005858/1.172, allocations: 0.4973 MB / 0.8575 GB, free: 60.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006007/1.173, allocations: 2.814 MB / 0.8602 GB, free: 57.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.173, allocations: 8 kB / 0.8602 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.173, allocations: 16 kB / 0.8602 GB, free: 57.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/1.173, allocations: 87.83 kB / 0.8603 GB, free: 57.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.173, allocations: 19.88 kB / 0.8604 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/1.173, allocations: 59.42 kB / 0.8604 GB, free: 57.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.173, allocations: 27.98 kB / 0.8604 GB, free: 57.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/1.173, allocations: 6.812 kB / 0.8604 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005484/1.174, allocations: 461.6 kB / 0.8609 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/1.174, allocations: 8 kB / 0.8609 GB, free: 56.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-06/1.174, allocations: 8 kB / 0.8609 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/1.174, allocations: 87.8 kB / 0.861 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/1.174, allocations: 15.98 kB / 0.861 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/1.175, allocations: 43.67 kB / 0.861 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/1.175, allocations: 24 kB / 0.8611 GB, free: 56.47 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 () * Number of clocked 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.0002073/1.175, allocations: 302.7 kB / 0.8613 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/1.175, allocations: 51.42 kB / 0.8614 GB, free: 56.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/1.175, allocations: 286.9 kB / 0.8617 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.175, allocations: 0 / 0.8617 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.175, allocations: 4 kB / 0.8617 GB, free: 55.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.175, allocations: 3.984 kB / 0.8617 GB, free: 55.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/1.176, allocations: 381.3 kB / 0.862 GB, free: 55.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.176, allocations: 0 / 0.862 GB, free: 55.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.473e-05/1.176, allocations: 16 kB / 0.8621 GB, free: 55.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.176, allocations: 3.953 kB / 0.8621 GB, free: 55.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/1.176, allocations: 8 kB / 0.8621 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.176, allocations: 3.984 kB / 0.8621 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.176, allocations: 4 kB / 0.8621 GB, free: 55.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/1.176, allocations: 298 kB / 0.8624 GB, free: 55.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/1.176, allocations: 124.5 kB / 0.8625 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/1.176, allocations: 12 kB / 0.8625 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/1.176, allocations: 11.98 kB / 0.8625 GB, free: 54.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/1.176, allocations: 7.984 kB / 0.8625 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/1.176, allocations: 12 kB / 0.8625 GB, free: 54.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002753/1.177, allocations: 334.8 kB / 0.8628 GB, free: 54.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.177, allocations: 4 kB / 0.8628 GB, free: 54.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001352/1.178, allocations: 459.3 kB / 0.8633 GB, free: 54.07 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) * Number of clocked states: 0 () * 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.0009738/1.179, allocations: 0.4937 MB / 0.8638 GB, free: 53.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006844/1.18, allocations: 0.6306 MB / 0.8644 GB, free: 52.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.18, allocations: 0 / 0.8644 GB, free: 52.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/1.18, allocations: 163.3 kB / 0.8645 GB, free: 52.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/1.181, allocations: 142 kB / 0.8647 GB, free: 52.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/1.182, allocations: 0.9979 MB / 0.8656 GB, free: 51.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/1.182, allocations: 0.8468 MB / 0.8665 GB, free: 50.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004304/1.182, allocations: 151.4 kB / 0.8666 GB, free: 50.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/1.183, allocations: 43.42 kB / 0.8667 GB, free: 50.53 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/1.183, allocations: 0 / 0.8667 GB, free: 50.53 MB / 490.7 MB Notification: Performance of Templates: time 0.01404/1.197, allocations: 9.608 MB / 0.876 GB, free: 40.96 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)