Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001033/0.001033, allocations: 170.2 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.391/1.391, 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.00168/0.00168, allocations: 111.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.221/0.221, allocations: 38 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.091e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5664, allocations: 73.22 MB / 478.9 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.5667, allocations: 67.34 kB / 479 MB, free: 18.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008848/0.5756, allocations: 2.933 MB / 481.9 MB, free: 18.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5756, allocations: 0 / 481.9 MB, free: 18.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.5756, allocations: 1.219 kB / 481.9 MB, free: 18.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002853/0.5759, allocations: 369.4 kB / 482.3 MB, free: 17.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.576, allocations: 9.688 kB / 482.3 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.5761, allocations: 6.844 kB / 482.3 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.5762, allocations: 167.4 kB / 482.5 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5763, allocations: 1.188 kB / 482.5 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.5763, allocations: 7.062 kB / 482.5 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5764, allocations: 53.84 kB / 482.5 MB, free: 17.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5765, allocations: 5 kB / 482.5 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5765, allocations: 0 / 482.5 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.5765, allocations: 1.844 kB / 482.5 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.5766, allocations: 30 kB / 482.6 MB, free: 17.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.5767, allocations: 179.1 kB / 482.7 MB, free: 17.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.5769, allocations: 58.66 kB / 482.8 MB, free: 17.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.509e-05/0.577, allocations: 24.08 kB / 482.8 MB, free: 17.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.5772, allocations: 109.6 kB / 482.9 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.5772, allocations: 35.02 kB / 483 MB, free: 17.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.5772, allocations: 0 / 483 MB, free: 17.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.1112/0.6884, allocations: 5.279 MB / 488.2 MB, free: 16.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.6885, allocations: 54.25 kB / 488.3 MB, free: 16.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.6886, allocations: 94.19 kB / 488.4 MB, free: 16.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.6886, allocations: 33.08 kB / 488.4 MB, free: 16.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.6887, allocations: 81.55 kB / 488.5 MB, free: 16.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.6888, allocations: 62.89 kB / 488.5 MB, free: 16.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.6888, allocations: 3.562 kB / 488.6 MB, free: 16.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.6889, allocations: 323 kB / 488.9 MB, free: 16.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.6891, allocations: 176.4 kB / 489 MB, free: 16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.6894, allocations: 174.8 kB / 489.2 MB, free: 16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006961/0.6901, allocations: 222 kB / 489.4 MB, free: 16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6901, allocations: 3.875 kB / 489.4 MB, free: 16 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001045/0.6911, allocations: 495.5 kB / 489.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.6912, allocations: 3.531 kB / 489.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6912, allocations: 0 / 489.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.6912, allocations: 0 / 489.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.6917, allocations: 103.6 kB / 490 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.6917, allocations: 0 / 490 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.692, allocations: 21.61 kB / 490 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.692, allocations: 27.38 kB / 490.1 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 9.272e-05/0.6921, allocations: 112.8 kB / 490.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.6922, allocations: 7.844 kB / 490.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.6935, allocations: 0.5786 MB / 490.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.6935, allocations: 7.969 kB / 490.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6935, allocations: 4.188 kB / 490.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6935, allocations: 3.328 kB / 490.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.6959, allocations: 0.9902 MB / 491.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6959, allocations: 0 / 491.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.6964, allocations: 98.77 kB / 491.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6964, allocations: 7.828 kB / 491.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.6964, allocations: 18.28 kB / 491.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6964, allocations: 0 / 491.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6964, allocations: 3.906 kB / 491.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.6974, allocations: 0.5466 MB / 492.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.6974, allocations: 84.73 kB / 492.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.6975, allocations: 6.906 kB / 492.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.6977, allocations: 26.97 kB / 492.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.6978, allocations: 17.78 kB / 492.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.6978, allocations: 27.2 kB / 492.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.608e-05/0.6979, allocations: 86.12 kB / 492.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6979, allocations: 0 / 492.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001617/0.6995, allocations: 0.6186 MB / 493.3 MB, free: 14.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.002647/0.7021, allocations: 336.8 kB / 493.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.7027, allocations: 332.6 kB / 494 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.7027, allocations: 0 / 494 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.7029, allocations: 141.6 kB / 494.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.7031, allocations: 11.7 kB / 494.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7046, allocations: 415.7 kB / 494.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.7048, allocations: 0.7035 MB / 495.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003742/0.7051, allocations: 94.58 kB / 495.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.7054, allocations: 71.28 kB / 495.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.7054, allocations: 0 / 495.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of Templates: time 0.02904/0.7344, allocations: 18.44 MB / 0.5018 GB, free: 5.375 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)