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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001666/0.001667, allocations: 191.2 kB / 16.14 MB, free: 6.711 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.392/1.392, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2971/0.2971, allocations: 37.98 MB / 307.3 MB, free: 9.945 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.1. 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.00169/0.00169, allocations: 62.41 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1065, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001752/0.1082, allocations: 0.6025 MB / 431.6 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.109, allocations: 428.4 kB / 432 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.1091, allocations: 4 kB / 432 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.1091, allocations: 11.88 kB / 432.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.1092, allocations: 0 / 432.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.1096, allocations: 99.77 kB / 432.2 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.1097, allocations: 23.92 kB / 432.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.1097, allocations: 4 kB / 432.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.1097, allocations: 15.92 kB / 432.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.1098, allocations: 15.86 kB / 432.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1098, allocations: 4 kB / 432.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.1101, allocations: 167.8 kB / 432.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1101, allocations: 0 / 432.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.1101, allocations: 15.88 kB / 432.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1104, allocations: 128 kB / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1104, allocations: 0 / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1104, allocations: 3.938 kB / 432.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.1104, allocations: 0 / 432.5 MB, free: 5.555 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.0003865/0.1108, allocations: 367.4 kB / 432.9 MB, free: 5.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1108, allocations: 8.031 kB / 432.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1109, allocations: 12.84 kB / 432.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.111, allocations: 168.3 kB / 433.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.111, allocations: 8.359 kB / 433.1 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.111, allocations: 384 / 433.1 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1111, allocations: 58.19 kB / 433.1 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1111, allocations: 3.938 kB / 433.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1112, allocations: 0 / 433.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.1112, allocations: 3.984 kB / 433.1 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.1112, allocations: 31.97 kB / 433.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.1114, allocations: 169.6 kB / 433.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1116, allocations: 62.58 kB / 433.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.1117, allocations: 20.86 kB / 433.4 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.1119, allocations: 109.1 kB / 433.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.112, allocations: 34.56 kB / 433.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.112, allocations: 4 kB / 433.6 MB, free: 4.336 MB / 366.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.1376/0.2496, allocations: 6.38 MB / 439.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2496, allocations: 63.33 kB / 440 MB, free: 13.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.2497, allocations: 97.86 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.2498, allocations: 25.7 kB / 440.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.2498, allocations: 88.14 kB / 440.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.2499, allocations: 63.09 kB / 440.3 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.2501, allocations: 85.59 kB / 440.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.2502, allocations: 326.8 kB / 440.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.2507, allocations: 223.8 kB / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.2513, allocations: 227.8 kB / 441.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.2534, allocations: 0.5622 MB / 441.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2534, allocations: 0 / 441.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001891/0.2553, allocations: 0.6104 MB / 442.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2554, allocations: 7.125 kB / 442.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2554, allocations: 4 kB / 442.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2554, allocations: 0 / 442.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/0.2561, allocations: 107.8 kB / 442.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2562, allocations: 0 / 442.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.2567, allocations: 31.95 kB / 442.4 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.2568, allocations: 31.94 kB / 442.5 MB, free: 11.34 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.000158/0.2569, allocations: 121.8 kB / 442.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.257, allocations: 7.906 kB / 442.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.2592, allocations: 0.732 MB / 443.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2592, allocations: 4 kB / 443.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2592, allocations: 0 / 443.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2593, allocations: 0 / 443.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.2636, allocations: 1.176 MB / 444.5 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2636, allocations: 4 kB / 444.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.2642, allocations: 95.8 kB / 444.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.2642, allocations: 4 kB / 444.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.2643, allocations: 31.89 kB / 444.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2643, allocations: 4.188 kB / 444.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2643, allocations: 4 kB / 444.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.266, allocations: 0.5856 MB / 445.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.2661, allocations: 85.02 kB / 445.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.2662, allocations: 4 kB / 445.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.2666, allocations: 27.95 kB / 445.3 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2667, allocations: 19.98 kB / 445.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.2667, allocations: 28.42 kB / 445.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.2668, allocations: 79.28 kB / 445.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2668, allocations: 0 / 445.5 MB, free: 8.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001876/0.2686, allocations: 0.6523 MB / 446.1 MB, free: 7.531 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.003659/0.2723, allocations: 302.8 kB / 446.4 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.2736, allocations: 455.5 kB / 446.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2736, allocations: 0 / 446.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.2741, allocations: 212.2 kB / 447.1 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.2745, allocations: 8 kB / 447.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.277, allocations: 0.5505 MB / 447.6 MB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2772, allocations: 0.6968 MB / 448.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.2778, allocations: 124.9 kB / 448.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.2781, allocations: 91.28 kB / 448.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2781, allocations: 0 / 448.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of Templates: time 0.2284/0.5065, allocations: 56.97 MB / 0.4937 GB, free: 32.07 MB / 382.1 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)