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.001074/0.001074, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.35/1.35, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001668/0.001668, allocations: 117.5 kB / 223.2 MB, free: 4.043 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.2018/0.2018, allocations: 37.99 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.962e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09017/0.09021, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7204/0.8107, allocations: 304.8 MB / 0.6938 GB, free: 93.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.811, allocations: 79.95 kB / 0.6939 GB, free: 93.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4345/1.246, allocations: 96.31 MB / 0.788 GB, free: 110.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/1.246, allocations: 1.438 kB / 0.788 GB, free: 110.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.014e-05/1.246, allocations: 10.34 kB / 0.788 GB, free: 110.8 MB / 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.001785/1.247, allocations: 0.8188 MB / 0.7888 GB, free: 110.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.247, allocations: 10.94 kB / 0.7888 GB, free: 110.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/1.248, allocations: 60.23 kB / 0.7888 GB, free: 110.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/1.249, allocations: 475.9 kB / 0.7893 GB, free: 110.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/1.249, allocations: 24.27 kB / 0.7893 GB, free: 110.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/1.249, allocations: 26.73 kB / 0.7893 GB, free: 110.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/1.25, allocations: 0.5018 MB / 0.7898 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.25, allocations: 1.625 kB / 0.7898 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/1.25, allocations: 20.55 kB / 0.7898 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/1.25, allocations: 28.8 kB / 0.7899 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/1.25, allocations: 432.2 kB / 0.7903 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/1.254, allocations: 2.242 MB / 0.7925 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/1.254, allocations: 193.9 kB / 0.7927 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/1.254, allocations: 104.3 kB / 0.7928 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.255, allocations: 1.052 MB / 0.7938 GB, free: 107.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/1.256, allocations: 141.6 kB / 0.7939 GB, free: 107.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.073e-06/1.256, allocations: 2.844 kB / 0.7939 GB, free: 107.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004587/1.256, allocations: 227 kB / 0.7941 GB, free: 107.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/1.256, allocations: 168.4 kB / 0.7943 GB, free: 107.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/1.257, allocations: 430.2 kB / 0.7947 GB, free: 107.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/1.257, allocations: 27.98 kB / 0.7947 GB, free: 107.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/1.257, allocations: 306.5 kB / 0.795 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/1.257, allocations: 43.52 kB / 0.7951 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/1.257, allocations: 8.781 kB / 0.7951 GB, free: 107.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/1.257, allocations: 358.5 kB / 0.7954 GB, free: 106.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/1.257, allocations: 97 kB / 0.7955 GB, free: 106.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/1.258, allocations: 324.4 kB / 0.7958 GB, free: 106.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/1.258, allocations: 200.3 kB / 0.796 GB, free: 106.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.258, allocations: 2.75 kB / 0.796 GB, free: 106.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009483/1.259, allocations: 0.4891 MB / 0.7965 GB, free: 106.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008866/1.26, allocations: 2.818 MB / 0.7992 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/1.26, allocations: 7.375 kB / 0.7993 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.622e-05/1.26, allocations: 13.91 kB / 0.7993 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/1.26, allocations: 84.75 kB / 0.7993 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/1.26, allocations: 19.89 kB / 0.7994 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/1.261, allocations: 64.86 kB / 0.7994 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.261, allocations: 24.03 kB / 0.7995 GB, free: 103.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/1.261, allocations: 3.688 kB / 0.7995 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007997/1.262, allocations: 449.5 kB / 0.7999 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.262, allocations: 8.5 kB / 0.7999 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.262, allocations: 13.31 kB / 0.7999 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/1.262, allocations: 87.66 kB / 0.8 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.262, allocations: 13.16 kB / 0.8 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/1.263, allocations: 46.33 kB / 0.8 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/1.263, allocations: 24.12 kB / 0.8001 GB, free: 103.5 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.0001649/1.263, allocations: 171.7 kB / 0.8002 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/1.263, allocations: 49.64 kB / 0.8003 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/1.263, allocations: 277.7 kB / 0.8005 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.263, allocations: 1.031 kB / 0.8005 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.263, allocations: 0 / 0.8005 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.263, allocations: 4.719 kB / 0.8005 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/1.264, allocations: 366.9 kB / 0.8009 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.264, allocations: 8.297 kB / 0.8009 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/1.264, allocations: 19.19 kB / 0.8009 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/1.264, allocations: 4.5 kB / 0.8009 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/1.264, allocations: 9.609 kB / 0.8009 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.264, allocations: 3.844 kB / 0.8009 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.264, allocations: 1.156 kB / 0.8009 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/1.264, allocations: 285.6 kB / 0.8012 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/1.265, allocations: 130 kB / 0.8013 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/1.265, allocations: 2.5 kB / 0.8013 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/1.265, allocations: 21.91 kB / 0.8014 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/1.265, allocations: 7.844 kB / 0.8014 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/1.265, allocations: 14.12 kB / 0.8014 GB, free: 102.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003404/1.265, allocations: 328 kB / 0.8017 GB, free: 102.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.265, allocations: 0 / 0.8017 GB, free: 102.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001664/1.267, allocations: 448.9 kB / 0.8021 GB, free: 102.6 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.001085/1.268, allocations: 0.5006 MB / 0.8026 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000781/1.269, allocations: 0.5739 MB / 0.8032 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.269, allocations: 0 / 0.8032 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/1.269, allocations: 136.6 kB / 0.8033 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/1.27, allocations: 130.6 kB / 0.8034 GB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/1.271, allocations: 0.5553 MB / 0.804 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/1.271, allocations: 0.8442 MB / 0.8048 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005528/1.272, allocations: 183 kB / 0.805 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.272, allocations: 34.97 kB / 0.805 GB, free: 101.4 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/1.272, allocations: 3.312 kB / 0.805 GB, free: 101.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01525/1.287, allocations: 10.37 MB / 0.8151 GB, free: 101 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)