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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.002341/0.00234, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.57/1.57, allocations: 170.6 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001772/0.001772, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2231/0.2231, allocations: 37.99 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.081e-05, allocations: 2.344 kB / 350 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9496/1.07, allocations: 304.1 MB / 0.6864 GB, free: 89.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.07, allocations: 80.39 kB / 0.6864 GB, free: 89.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.218/1.288, allocations: 95.57 MB / 0.7798 GB, free: 416 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.288, allocations: 0 / 0.7798 GB, free: 416 kB / 426.7 MB Notification: Performance of Transformations before backend: time 7.339e-05/1.288, allocations: 8 kB / 0.7798 GB, free: 408 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.324/1.612, allocations: 0.8186 MB / 0.7806 GB, free: 110.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.613, allocations: 9.5 kB / 0.7806 GB, free: 110.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/1.613, allocations: 63.73 kB / 0.7807 GB, free: 110.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000973/1.614, allocations: 469.7 kB / 0.7811 GB, free: 110.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.614, allocations: 12.69 kB / 0.7811 GB, free: 110.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/1.614, allocations: 16.31 kB / 0.7811 GB, free: 110.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007386/1.615, allocations: 379.5 kB / 0.7815 GB, free: 110.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/1.616, allocations: 473.7 kB / 0.7819 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.616, allocations: 0 / 0.7819 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/1.616, allocations: 2.75 kB / 0.7819 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/1.616, allocations: 27.59 kB / 0.782 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/1.619, allocations: 2.179 MB / 0.7841 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/1.619, allocations: 190.8 kB / 0.7843 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/1.62, allocations: 98.64 kB / 0.7844 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/1.621, allocations: 1.035 MB / 0.7854 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/1.621, allocations: 141.5 kB / 0.7855 GB, free: 108.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/1.621, allocations: 0 / 0.7855 GB, free: 108.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006966/1.622, allocations: 224.7 kB / 0.7857 GB, free: 108.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/1.622, allocations: 162.1 kB / 0.7859 GB, free: 108 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/1.622, allocations: 380.1 kB / 0.7862 GB, free: 107.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.622, allocations: 30.14 kB / 0.7863 GB, free: 107.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/1.623, allocations: 301.4 kB / 0.7866 GB, free: 107.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/1.623, allocations: 45.89 kB / 0.7866 GB, free: 107.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/1.623, allocations: 0 / 0.7866 GB, free: 107.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/1.623, allocations: 357.5 kB / 0.787 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/1.623, allocations: 94 kB / 0.787 GB, free: 107.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/1.623, allocations: 316.8 kB / 0.7873 GB, free: 107.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/1.626, allocations: 0.6151 MB / 0.7879 GB, free: 107.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.627, allocations: 2.594 kB / 0.7879 GB, free: 107.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003557/1.63, allocations: 0.8784 MB / 0.7888 GB, free: 107 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001256/1.631, allocations: 2.819 MB / 0.7916 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/1.631, allocations: 10.23 kB / 0.7916 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.407e-05/1.631, allocations: 15.7 kB / 0.7916 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/1.632, allocations: 83.58 kB / 0.7917 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/1.632, allocations: 18.61 kB / 0.7917 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/1.632, allocations: 49.17 kB / 0.7917 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/1.633, allocations: 20.41 kB / 0.7917 GB, free: 104.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.633, allocations: 6.344 kB / 0.7918 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003488/1.636, allocations: 0.7944 MB / 0.7925 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.636, allocations: 12.05 kB / 0.7925 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.636, allocations: 11.16 kB / 0.7925 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/1.636, allocations: 87.89 kB / 0.7926 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/1.636, allocations: 11.55 kB / 0.7926 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/1.637, allocations: 40.17 kB / 0.7927 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/1.637, allocations: 27.86 kB / 0.7927 GB, free: 104.1 MB / 426.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * 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.000233/1.637, allocations: 153.9 kB / 0.7929 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.637, allocations: 44.19 kB / 0.7929 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007915/1.638, allocations: 262.9 kB / 0.7931 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/1.638, allocations: 1 kB / 0.7931 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.638, allocations: 0 / 0.7931 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.638, allocations: 1.031 kB / 0.7931 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/1.639, allocations: 331.3 kB / 0.7935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.639, allocations: 1.281 kB / 0.7935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.826e-05/1.639, allocations: 19.22 kB / 0.7935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.639, allocations: 1.188 kB / 0.7935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.639, allocations: 6.938 kB / 0.7935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.639, allocations: 0 / 0.7935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.639, allocations: 5.109 kB / 0.7935 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/1.64, allocations: 262.8 kB / 0.7937 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.64, allocations: 122.8 kB / 0.7939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/1.64, allocations: 4.375 kB / 0.7939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.64, allocations: 10.91 kB / 0.7939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/1.64, allocations: 12.75 kB / 0.7939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/1.64, allocations: 10.92 kB / 0.7939 GB, free: 103.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004186/1.64, allocations: 287.5 kB / 0.7942 GB, free: 103.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.64, allocations: 0 / 0.7942 GB, free: 103.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00189/1.642, allocations: 448 kB / 0.7946 GB, free: 103.4 MB / 426.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.001941/1.644, allocations: 498.4 kB / 0.7951 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/1.645, allocations: 0.5397 MB / 0.7956 GB, free: 103.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.645, allocations: 0.5312 kB / 0.7956 GB, free: 103.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/1.646, allocations: 130.5 kB / 0.7957 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/1.646, allocations: 137 kB / 0.7959 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/1.648, allocations: 0.527 MB / 0.7964 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/1.649, allocations: 0.8479 MB / 0.7972 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007585/1.649, allocations: 168 kB / 0.7974 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/1.65, allocations: 30.66 kB / 0.7974 GB, free: 102.3 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/1.65, allocations: 0 / 0.7974 GB, free: 102.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02138/1.671, allocations: 9.219 MB / 0.8064 GB, free: 101.9 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (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)