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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007908/0.0007909, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005144/0.005144, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.5 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3195/0.3195, allocations: 40 MB / 310.7 MB, free: 9.555 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005534/0.0005532, allocations: 12 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1308, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.00083/0.1317, allocations: 277.9 kB / 437.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.1326, allocations: 428.5 kB / 438.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.1326, allocations: 0 / 438.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.1327, allocations: 7.938 kB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.1327, allocations: 0 / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1332, allocations: 95.78 kB / 438.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.1332, allocations: 23.92 kB / 438.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.1333, allocations: 4 kB / 438.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.1333, allocations: 11.92 kB / 438.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.1334, allocations: 19.92 kB / 438.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1334, allocations: 7.984 kB / 438.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.1337, allocations: 155.8 kB / 438.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.1337, allocations: 3.984 kB / 438.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.1338, allocations: 49.5 kB / 438.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.134, allocations: 124 kB / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.134, allocations: 0 / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1341, allocations: 0 / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1341, allocations: 0 / 438.6 MB, free: 0.7188 MB / 366.1 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.0004197/0.1345, allocations: 363.4 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1346, allocations: 8.031 kB / 439 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.1346, allocations: 8.828 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1347, allocations: 172.3 kB / 439.1 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1348, allocations: 384 / 439.1 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1348, allocations: 8.375 kB / 439.1 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1349, allocations: 54.17 kB / 439.2 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.135, allocations: 11.84 kB / 439.2 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.135, allocations: 4 kB / 439.2 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.135, allocations: 0 / 439.2 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.1351, allocations: 28.09 kB / 439.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.1353, allocations: 165.6 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1355, allocations: 62.58 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.1356, allocations: 28.84 kB / 439.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.1358, allocations: 113.1 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1359, allocations: 38.55 kB / 439.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1359, allocations: 0 / 439.6 MB, free: 15.49 MB / 382.1 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.1495/0.2854, allocations: 6.618 MB / 446.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.2855, allocations: 55.34 kB / 446.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2856, allocations: 109.8 kB / 446.4 MB, free: 8.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.2857, allocations: 25.7 kB / 446.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.2857, allocations: 84.14 kB / 446.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2859, allocations: 63.02 kB / 446.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.2859, allocations: 21.7 kB / 446.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2861, allocations: 326.8 kB / 446.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/0.2867, allocations: 239.8 kB / 447.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.2872, allocations: 251.8 kB / 447.4 MB, free: 7.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.2893, allocations: 0.5899 MB / 448 MB, free: 7.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2893, allocations: 4 kB / 448 MB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001823/0.2912, allocations: 0.63 MB / 448.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2912, allocations: 8 kB / 448.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2912, allocations: 0 / 448.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2912, allocations: 0 / 448.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.2919, allocations: 123.8 kB / 448.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2919, allocations: 0 / 448.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.2924, allocations: 35.95 kB / 448.8 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.2924, allocations: 35.94 kB / 448.8 MB, free: 6.207 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.2926, allocations: 117.8 kB / 448.9 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.2927, allocations: 7.906 kB / 448.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.2949, allocations: 0.7635 MB / 449.7 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2949, allocations: 4 kB / 449.7 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2949, allocations: 256 / 449.7 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.295, allocations: 0 / 449.7 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/0.2992, allocations: 1.231 MB / 450.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.2992, allocations: 7.938 kB / 451 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.2998, allocations: 107.8 kB / 451.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.2999, allocations: 4.188 kB / 451.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.2999, allocations: 31.89 kB / 451.1 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.2999, allocations: 4 kB / 451.1 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2999, allocations: 0 / 451.1 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.3017, allocations: 0.6167 MB / 451.7 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.3017, allocations: 89 kB / 451.8 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.3018, allocations: 8 kB / 451.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.3022, allocations: 39.95 kB / 451.9 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.3023, allocations: 7.984 kB / 451.9 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.3023, allocations: 31.95 kB / 451.9 MB, free: 3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.273e-05/0.3024, allocations: 87.22 kB / 452 MB, free: 2.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3024, allocations: 4 kB / 452 MB, free: 2.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001732/0.3041, allocations: 0.6444 MB / 452.6 MB, free: 2.266 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003327/0.3075, allocations: 314.8 kB / 452.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3087, allocations: 479.6 kB / 453.4 MB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3087, allocations: 0 / 453.4 MB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/0.3093, allocations: 224 kB / 453.6 MB, free: 1.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3096, allocations: 12 kB / 453.6 MB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.3121, allocations: 0.5978 MB / 454.2 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1884/0.5006, allocations: 0.6901 MB / 454.9 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006381/0.5013, allocations: 128 kB / 455 MB, free: 46.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.5016, allocations: 86.78 kB / 455.1 MB, free: 46.83 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5016, allocations: 2.297 kB / 455.1 MB, free: 46.83 MB / 382.1 MB Notification: Performance of Templates: time 0.0717/0.5733, allocations: 57.02 MB / 0.5001 GB, free: 23.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: