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.009454/0.009454, 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.653/1.653, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001916/0.001915, allocations: 120.6 kB / 255.6 MB, free: 10.15 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.2333/0.2333, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006218/0.0006218, allocations: 20.09 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1149, allocations: 54.86 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.2245, allocations: 79.7 MB / 0.528 GB, free: 3.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.2248, allocations: 63.97 kB / 0.5281 GB, free: 3.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009238/0.2341, allocations: 2.963 MB / 0.531 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.2341, allocations: 4 kB / 0.531 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2341, allocations: 4 kB / 0.531 GB, free: 500 kB / 378.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.000394/0.2345, allocations: 375.1 kB / 0.5314 GB, free: 76 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2346, allocations: 12.03 kB / 0.5314 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2347, allocations: 7.906 kB / 0.5314 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2531/0.4878, allocations: 160.2 kB / 0.5315 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.4878, allocations: 1.469 kB / 0.5315 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.4879, allocations: 3.219 kB / 0.5315 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.488, allocations: 51.53 kB / 0.5316 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4881, allocations: 6.781 kB / 0.5316 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4881, allocations: 3.875 kB / 0.5316 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4881, allocations: 1.375 kB / 0.5316 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.4882, allocations: 32.5 kB / 0.5316 GB, free: 82.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.4884, allocations: 174.6 kB / 0.5318 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4886, allocations: 60.22 kB / 0.5319 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.4889, allocations: 108.7 kB / 0.532 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.4889, allocations: 38.69 kB / 0.532 GB, free: 82.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.835e-06/0.4889, allocations: 0 / 0.532 GB, free: 82.31 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1326/0.6216, allocations: 6.08 MB / 0.5379 GB, free: 81.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.6216, allocations: 52.56 kB / 0.538 GB, free: 81.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.6217, allocations: 94.75 kB / 0.5381 GB, free: 81.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.6218, allocations: 29.23 kB / 0.5381 GB, free: 81.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.6218, allocations: 81.72 kB / 0.5382 GB, free: 81.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.6219, allocations: 71.31 kB / 0.5382 GB, free: 81.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.6219, allocations: 5.219 kB / 0.5383 GB, free: 81.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.622, allocations: 320.9 kB / 0.5386 GB, free: 80.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.6224, allocations: 224.3 kB / 0.5388 GB, free: 80.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.6228, allocations: 220.9 kB / 0.539 GB, free: 80.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.6238, allocations: 277.5 kB / 0.5393 GB, free: 80.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6238, allocations: 0 / 0.5393 GB, free: 80.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001575/0.6254, allocations: 0.5893 MB / 0.5398 GB, free: 80.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6254, allocations: 4.219 kB / 0.5398 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6254, allocations: 0 / 0.5398 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6255, allocations: 1.219 kB / 0.5398 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.626, allocations: 93.47 kB / 0.5399 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.626, allocations: 5.297 kB / 0.5399 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.6263, allocations: 28.28 kB / 0.54 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.6264, allocations: 21.47 kB / 0.54 GB, free: 80.64 MB / 378.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 () * Number of clocked 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 0.0001125/0.6265, allocations: 124.4 kB / 0.5401 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.6265, allocations: 8.344 kB / 0.5401 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.6282, allocations: 0.6826 MB / 0.5408 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6282, allocations: 1.875 kB / 0.5408 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6283, allocations: 0 / 0.5408 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6283, allocations: 9.031 kB / 0.5408 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.6312, allocations: 1.081 MB / 0.5418 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6313, allocations: 2.375 kB / 0.5418 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.6317, allocations: 93.25 kB / 0.5419 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.6317, allocations: 2.75 kB / 0.5419 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.6317, allocations: 26.47 kB / 0.542 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6318, allocations: 2.75 kB / 0.542 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6318, allocations: 5.312 kB / 0.542 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.6332, allocations: 0.6323 MB / 0.5426 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.6333, allocations: 93.64 kB / 0.5427 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.6334, allocations: 7.156 kB / 0.5427 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.6337, allocations: 27.98 kB / 0.5427 GB, free: 79.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.6337, allocations: 21.69 kB / 0.5427 GB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.6338, allocations: 19.17 kB / 0.5427 GB, free: 79.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.6338, allocations: 85.98 kB / 0.5428 GB, free: 79.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6338, allocations: 0 / 0.5428 GB, free: 79.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002408/0.6362, allocations: 0.6252 MB / 0.5434 GB, free: 79 MB / 378.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 () * Number of clocked 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.002875/0.6391, allocations: 350.1 kB / 0.5438 GB, free: 78.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.6402, allocations: 431.1 kB / 0.5442 GB, free: 78.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6402, allocations: 0 / 0.5442 GB, free: 78.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.6407, allocations: 192.4 kB / 0.5444 GB, free: 78.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.6409, allocations: 12.06 kB / 0.5444 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.6427, allocations: 0.5132 MB / 0.5449 GB, free: 78.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.6428, allocations: 0.6998 MB / 0.5456 GB, free: 77.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004076/0.6432, allocations: 98.45 kB / 0.5456 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.6435, allocations: 67.12 kB / 0.5457 GB, free: 77.59 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6435, allocations: 1.031 kB / 0.5457 GB, free: 77.59 MB / 378.7 MB Notification: Performance of Templates: time 0.02988/0.6734, allocations: 18.5 MB / 0.5638 GB, free: 60.73 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)