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.001049/0.001049, 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.001047/0.001047, allocations: 198.3 kB / 16.14 MB, free: 6.703 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.348/1.348, allocations: 205.1 MB / 222 MB, free: 4.742 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.3097/0.3097, allocations: 39.93 MB / 309.3 MB, free: 9.336 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.001323/0.001324, allocations: 67.91 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 56.88 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001625/0.1096, allocations: 0.5986 MB / 434.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.1103, allocations: 448.3 kB / 434.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.1103, allocations: 0 / 434.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.1104, allocations: 0 / 434.8 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.1104, allocations: 7.938 kB / 434.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.1107, allocations: 91.78 kB / 434.9 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.841e-05/0.1108, allocations: 23.98 kB / 435 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1108, allocations: 4 kB / 435 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.1109, allocations: 15.92 kB / 435 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.1109, allocations: 19.91 kB / 435 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1109, allocations: 4 kB / 435 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1112, allocations: 155.8 kB / 435.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.1112, allocations: 11.92 kB / 435.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.1112, allocations: 15.92 kB / 435.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1114, allocations: 128 kB / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1114, allocations: 0 / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1114, allocations: 0 / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1114, allocations: 0 / 435.3 MB, free: 2.625 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.0003685/0.1118, allocations: 367.4 kB / 435.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1118, allocations: 8.031 kB / 435.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.1119, allocations: 8.844 kB / 435.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.112, allocations: 168.3 kB / 435.8 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.112, allocations: 8.312 kB / 435.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.112, allocations: 8.281 kB / 435.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1121, allocations: 54.23 kB / 435.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1121, allocations: 7.938 kB / 435.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1122, allocations: 0 / 435.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1122, allocations: 4 kB / 435.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/0.1122, allocations: 23.98 kB / 436 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.1124, allocations: 177.6 kB / 436.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1126, allocations: 54.5 kB / 436.2 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.1127, allocations: 24.84 kB / 436.2 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.1129, allocations: 109.1 kB / 436.3 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1129, allocations: 38.56 kB / 436.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1129, allocations: 0 / 436.3 MB, free: 1.406 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.1439/0.2569, allocations: 6.377 MB / 442.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2569, allocations: 55.41 kB / 442.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.257, allocations: 101.8 kB / 442.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.2571, allocations: 29.7 kB / 442.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.2571, allocations: 88.14 kB / 443 MB, free: 10.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.2572, allocations: 63 kB / 443.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.2574, allocations: 89.59 kB / 443.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2575, allocations: 326.8 kB / 443.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/0.2581, allocations: 223.8 kB / 443.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.2586, allocations: 235.8 kB / 443.9 MB, free: 9.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/0.2608, allocations: 0.5551 MB / 444.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2608, allocations: 0 / 444.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00186/0.2627, allocations: 0.6105 MB / 445.1 MB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2627, allocations: 4 kB / 445.1 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2627, allocations: 3.984 kB / 445.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2628, allocations: 4.25 kB / 445.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.2635, allocations: 111.8 kB / 445.2 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2635, allocations: 4 kB / 445.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.264, allocations: 19.97 kB / 445.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.2641, allocations: 35.94 kB / 445.3 MB, free: 8.406 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.0001427/0.2642, allocations: 125.7 kB / 445.4 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.2643, allocations: 7.906 kB / 445.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.2665, allocations: 0.7279 MB / 446.1 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2665, allocations: 7.984 kB / 446.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2665, allocations: 480 / 446.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2665, allocations: 0 / 446.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.2707, allocations: 1.165 MB / 447.3 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2707, allocations: 4 kB / 447.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000577/0.2713, allocations: 104 kB / 447.4 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.2713, allocations: 7.938 kB / 447.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.2714, allocations: 27.94 kB / 447.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2714, allocations: 4 kB / 447.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.2714, allocations: 3.938 kB / 447.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.2731, allocations: 0.5778 MB / 448 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.2732, allocations: 89.02 kB / 448.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.2732, allocations: 11.98 kB / 448.1 MB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.2737, allocations: 23.97 kB / 448.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.2737, allocations: 15.92 kB / 448.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.277e-05/0.2738, allocations: 31.95 kB / 448.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.2738, allocations: 83.27 kB / 448.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2739, allocations: 0 / 448.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001787/0.2756, allocations: 0.6483 MB / 448.9 MB, free: 4.605 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.003174/0.2788, allocations: 295 kB / 449.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.28, allocations: 455.5 kB / 449.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.28, allocations: 4 kB / 449.6 MB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.2806, allocations: 199.8 kB / 449.8 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.2809, allocations: 11.98 kB / 449.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.2834, allocations: 0.5548 MB / 450.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.2837, allocations: 0.6929 MB / 451.1 MB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005583/0.2842, allocations: 129.1 kB / 451.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.2846, allocations: 87.28 kB / 451.3 MB, free: 2.117 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2846, allocations: 0 / 451.3 MB, free: 2.117 MB / 382.1 MB Notification: Performance of Templates: time 0.243/0.5276, allocations: 56.98 MB / 0.4964 GB, free: 28.64 MB / 382.1 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)