Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00114/0.00114, allocations: 181.4 kB / 12.74 MB, free: 2.582 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.723/1.723, allocations: 194.3 MB / 207.5 MB, free: 3.391 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.001648/0.001648, allocations: 119.1 kB / 252.6 MB, free: 4.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2189/0.2189, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.353e-05, allocations: 0 / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.09953, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4659, allocations: 79.61 MB / 0.5222 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4662, allocations: 62.62 kB / 0.5223 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007494/0.4737, allocations: 2.952 MB / 0.5252 GB, free: 8.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4737, allocations: 0 / 0.5252 GB, free: 8.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.4737, allocations: 4 kB / 0.5252 GB, free: 8.57 MB / 346.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.0002504/0.474, allocations: 373.1 kB / 0.5255 GB, free: 8.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.474, allocations: 8.031 kB / 0.5255 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.4741, allocations: 3.906 kB / 0.5255 GB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/0.4742, allocations: 163.1 kB / 0.5257 GB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4742, allocations: 3.188 kB / 0.5257 GB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.4742, allocations: 4 kB / 0.5257 GB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4743, allocations: 56.12 kB / 0.5257 GB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4744, allocations: 7.938 kB / 0.5257 GB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4744, allocations: 7.391 kB / 0.5258 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4744, allocations: 0 / 0.5258 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.4745, allocations: 27.17 kB / 0.5258 GB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.4746, allocations: 168.4 kB / 0.5259 GB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.4748, allocations: 56.84 kB / 0.526 GB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.4749, allocations: 25.05 kB / 0.526 GB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.4751, allocations: 117.1 kB / 0.5261 GB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.4751, allocations: 30.56 kB / 0.5262 GB, free: 7.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.4751, allocations: 0 / 0.5262 GB, free: 7.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.1081/0.5832, allocations: 5.268 MB / 0.5313 GB, free: 2.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5833, allocations: 62.8 kB / 0.5314 GB, free: 2.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.5834, allocations: 89 kB / 0.5314 GB, free: 2.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.5834, allocations: 29.64 kB / 0.5315 GB, free: 2.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.5835, allocations: 88.12 kB / 0.5316 GB, free: 2.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.5836, allocations: 60.52 kB / 0.5316 GB, free: 1.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.5836, allocations: 14.94 kB / 0.5316 GB, free: 1.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.5837, allocations: 318 kB / 0.5319 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.5839, allocations: 165.8 kB / 0.5321 GB, free: 1.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.5842, allocations: 171.6 kB / 0.5323 GB, free: 1.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.5849, allocations: 224.4 kB / 0.5325 GB, free: 1.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5849, allocations: 0 / 0.5325 GB, free: 1.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001048/0.5859, allocations: 0.4926 MB / 0.533 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.586, allocations: 7.953 kB / 0.533 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.586, allocations: 0 / 0.533 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.586, allocations: 8 kB / 0.533 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.5865, allocations: 91.83 kB / 0.5331 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.5865, allocations: 0 / 0.5331 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.5868, allocations: 27.8 kB / 0.5331 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.5869, allocations: 23.97 kB / 0.5331 GB, free: 0.8359 MB / 346.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.621e-05/0.587, allocations: 108.6 kB / 0.5332 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.587, allocations: 11.59 kB / 0.5332 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.5883, allocations: 0.5882 MB / 0.5338 GB, free: 280 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5883, allocations: 4 kB / 0.5338 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5884, allocations: 0 / 0.5338 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5884, allocations: 3.953 kB / 0.5338 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.5909, allocations: 0.9859 MB / 0.5348 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5909, allocations: 4 kB / 0.5348 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.5913, allocations: 92.03 kB / 0.5349 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5914, allocations: 0 / 0.5349 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.5914, allocations: 23.22 kB / 0.5349 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5914, allocations: 4 kB / 0.5349 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.5914, allocations: 4 kB / 0.5349 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.5925, allocations: 0.5462 MB / 0.5354 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.5926, allocations: 88.83 kB / 0.5355 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.5926, allocations: 4 kB / 0.5355 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.5929, allocations: 31.2 kB / 0.5355 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.593, allocations: 15.98 kB / 0.5356 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.593, allocations: 27.22 kB / 0.5356 GB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.5931, allocations: 79.28 kB / 0.5357 GB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.823e-06/0.5931, allocations: 0 / 0.5357 GB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001712/0.5948, allocations: 0.6275 MB / 0.5363 GB, free: 13.79 MB / 362.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.002617/0.5974, allocations: 335.5 kB / 0.5366 GB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006244/0.5981, allocations: 327.9 kB / 0.5369 GB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5981, allocations: 0 / 0.5369 GB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.5983, allocations: 145.7 kB / 0.537 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5985, allocations: 8.141 kB / 0.537 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6001, allocations: 412.5 kB / 0.5374 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.6004, allocations: 0.7045 MB / 0.5381 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000381/0.6007, allocations: 100.9 kB / 0.5382 GB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.601, allocations: 59.36 kB / 0.5383 GB, free: 11.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.601, allocations: 4 kB / 0.5383 GB, free: 11.86 MB / 362.7 MB Notification: Performance of Templates: time 0.03222/0.6332, allocations: 18.44 MB / 0.5563 GB, free: 9.434 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1)