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.008464/0.008464, allocations: 163.9 kB / 15.11 MB, free: 6.039 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.304/1.304, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001736/0.001736, allocations: 107.3 kB / 226.2 MB, free: 10.11 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.3505/0.3505, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4539, allocations: 73.31 MB / 484.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.4542, allocations: 70.97 kB / 484.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007897/0.4621, allocations: 2.963 MB / 487.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4621, allocations: 0 / 487.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.4622, allocations: 4 kB / 487.9 MB, free: 11.95 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.0002891/0.4625, allocations: 372.8 kB / 488.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4625, allocations: 8.031 kB / 488.3 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.4625, allocations: 4 kB / 488.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.4626, allocations: 169.5 kB / 488.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4627, allocations: 4 kB / 488.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4627, allocations: 11.06 kB / 488.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.4628, allocations: 51.62 kB / 488.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4628, allocations: 3.906 kB / 488.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4629, allocations: 3.562 kB / 488.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4629, allocations: 0 / 488.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.4629, allocations: 28.31 kB / 488.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.4631, allocations: 175.5 kB / 488.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.4633, allocations: 61.39 kB / 488.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.4635, allocations: 112.4 kB / 488.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.4635, allocations: 30.56 kB / 488.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.4636, allocations: 0 / 488.9 MB, free: 10.8 MB / 330.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.123/0.5866, allocations: 6.079 MB / 495 MB, free: 5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.5867, allocations: 59.28 kB / 495.1 MB, free: 4.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.363e-05/0.5867, allocations: 89 kB / 495.2 MB, free: 4.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.5868, allocations: 33.44 kB / 495.2 MB, free: 4.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.5868, allocations: 84.14 kB / 495.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.5869, allocations: 62.97 kB / 495.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.5869, allocations: 7.5 kB / 495.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.587, allocations: 322.6 kB / 495.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.5873, allocations: 219.4 kB / 495.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.5877, allocations: 224.1 kB / 496.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008318/0.5885, allocations: 281.6 kB / 496.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5885, allocations: 0 / 496.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001405/0.59, allocations: 0.5917 MB / 497 MB, free: 3.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.59, allocations: 4 kB / 497 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.59, allocations: 0 / 497 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.59, allocations: 5.859 kB / 497 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.5905, allocations: 95.89 kB / 497.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5906, allocations: 0 / 497.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.5909, allocations: 23.8 kB / 497.1 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.5909, allocations: 23.95 kB / 497.1 MB, free: 3.289 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 () * 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.0001134/0.591, allocations: 126.5 kB / 497.2 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.5911, allocations: 11.91 kB / 497.2 MB, free: 3.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.5927, allocations: 0.6825 MB / 497.9 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5927, allocations: 7.938 kB / 497.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5927, allocations: 0 / 497.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5927, allocations: 0 / 497.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.5954, allocations: 1.074 MB / 499 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.5954, allocations: 0.625 kB / 499 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.5958, allocations: 79.92 kB / 499.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/0.5958, allocations: 20.06 kB / 499.1 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.5958, allocations: 19.23 kB / 499.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.5958, allocations: 4.234 kB / 499.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5959, allocations: 8 kB / 499.1 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5972, allocations: 0.6388 MB / 499.8 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.5972, allocations: 85.02 kB / 499.9 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.5973, allocations: 7.688 kB / 499.9 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.5976, allocations: 27.97 kB / 499.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.5976, allocations: 19.44 kB / 499.9 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.5977, allocations: 23.97 kB / 499.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.5977, allocations: 82.66 kB / 0.4883 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5977, allocations: 0 / 0.4883 GB, free: 0.6133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001956/0.5997, allocations: 0.6277 MB / 0.4889 GB, free: 15.99 MB / 346.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.00299/0.6027, allocations: 341.1 kB / 0.4892 GB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009453/0.6037, allocations: 419.9 kB / 0.4896 GB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6037, allocations: 0 / 0.4896 GB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.6041, allocations: 196.7 kB / 0.4898 GB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.6043, allocations: 20.45 kB / 0.4898 GB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.6061, allocations: 0.522 MB / 0.4903 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.6065, allocations: 0.7007 MB / 0.491 GB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.6069, allocations: 100.9 kB / 0.4911 GB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.6071, allocations: 63.34 kB / 0.4912 GB, free: 13.77 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6071, allocations: 3.938 kB / 0.4912 GB, free: 13.76 MB / 346.7 MB Notification: Performance of Templates: time 0.03372/0.6409, allocations: 18.49 MB / 0.5093 GB, free: 11.27 MB / 362.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)