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.005195/0.005195, allocations: 105.5 kB / 15.74 MB, free: 6.488 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.001232/0.001232, allocations: 196 kB / 16.68 MB, free: 6.375 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.337/1.337, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.2766/0.2766, allocations: 38 MB / 307.9 MB, free: 10.21 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.001664/0.001664, allocations: 76.55 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2611, allocations: 56.46 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001533/0.2627, allocations: 0.5378 MB / 490 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006744/0.2634, allocations: 409 kB / 490.4 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.2634, allocations: 1.188 kB / 490.4 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.2635, allocations: 3.938 kB / 490.4 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.2635, allocations: 3.938 kB / 490.4 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.264, allocations: 134.5 kB / 490.5 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.856e-05/0.2641, allocations: 36.52 kB / 490.6 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.2641, allocations: 3.656 kB / 490.6 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.2642, allocations: 14.44 kB / 490.6 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.2642, allocations: 17.33 kB / 490.6 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2643, allocations: 2.656 kB / 490.6 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.2645, allocations: 156.3 kB / 490.8 MB, free: 19.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.2645, allocations: 6.328 kB / 490.8 MB, free: 19.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.2646, allocations: 21.77 kB / 490.8 MB, free: 19.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.2648, allocations: 121.7 kB / 490.9 MB, free: 19.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2648, allocations: 0 / 490.9 MB, free: 19.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2648, allocations: 1.156 kB / 490.9 MB, free: 19.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2648, allocations: 0 / 490.9 MB, free: 19.11 MB / 382.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.0003886/0.2652, allocations: 368.8 kB / 491.3 MB, free: 18.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2653, allocations: 13.92 kB / 491.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.2653, allocations: 7.25 kB / 491.3 MB, free: 18.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.564e-05/0.2654, allocations: 171.8 kB / 491.5 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2654, allocations: 1.406 kB / 491.5 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2655, allocations: 8.594 kB / 491.5 MB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.2656, allocations: 57.09 kB / 491.5 MB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2656, allocations: 9.312 kB / 491.5 MB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2656, allocations: 0.6094 kB / 491.5 MB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2656, allocations: 5.438 kB / 491.5 MB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.2657, allocations: 24.92 kB / 491.6 MB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.2659, allocations: 173.1 kB / 491.7 MB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.2661, allocations: 59.03 kB / 491.8 MB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.2662, allocations: 27.39 kB / 491.8 MB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.2664, allocations: 108.4 kB / 491.9 MB, free: 18.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.2664, allocations: 32.92 kB / 491.9 MB, free: 18.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2665, allocations: 1.438 kB / 492 MB, free: 18.06 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.1447/0.4111, allocations: 6.386 MB / 498.3 MB, free: 16.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.4112, allocations: 56.84 kB / 498.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.4113, allocations: 96.3 kB / 498.5 MB, free: 16.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.4113, allocations: 31.48 kB / 498.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.626e-05/0.4113, allocations: 84.14 kB / 498.6 MB, free: 16.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.4114, allocations: 62.5 kB / 498.7 MB, free: 16.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.4116, allocations: 89.75 kB / 498.7 MB, free: 16.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.4116, allocations: 324.2 kB / 499.1 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.4122, allocations: 229.2 kB / 499.3 MB, free: 16.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.4127, allocations: 229.7 kB / 499.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.4147, allocations: 0.5611 MB / 0.4884 GB, free: 15.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4147, allocations: 0.9062 kB / 0.4884 GB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001728/0.4164, allocations: 0.6051 MB / 0.4889 GB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4165, allocations: 5.531 kB / 0.489 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4165, allocations: 0 / 0.489 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4165, allocations: 1.125 kB / 0.489 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.4171, allocations: 116.2 kB / 0.4891 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.4172, allocations: 1.312 kB / 0.4891 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.4176, allocations: 23.83 kB / 0.4891 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.4177, allocations: 35.91 kB / 0.4891 GB, free: 15.24 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.0001305/0.4178, allocations: 118.2 kB / 0.4892 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.4179, allocations: 7.188 kB / 0.4892 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.4198, allocations: 0.732 MB / 0.49 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4198, allocations: 3.625 kB / 0.49 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4198, allocations: 0 / 0.49 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4199, allocations: 0 / 0.49 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.4235, allocations: 1.173 MB / 0.4911 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4236, allocations: 2.375 kB / 0.4911 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.4241, allocations: 100.7 kB / 0.4912 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4241, allocations: 3.562 kB / 0.4912 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.4242, allocations: 30.05 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4242, allocations: 2.688 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4242, allocations: 5.781 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.4258, allocations: 0.5805 MB / 0.4918 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.4258, allocations: 89.41 kB / 0.4919 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.4258, allocations: 10.78 kB / 0.4919 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.4262, allocations: 33.2 kB / 0.4919 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.4263, allocations: 10.8 kB / 0.4919 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.4263, allocations: 28.83 kB / 0.492 GB, free: 13.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.547e-05/0.4264, allocations: 82.94 kB / 0.4921 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4264, allocations: 3.938 kB / 0.4921 GB, free: 13.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002109/0.4285, allocations: 0.6469 MB / 0.4927 GB, free: 13.1 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.00311/0.4316, allocations: 301.8 kB / 0.493 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.4328, allocations: 452.8 kB / 0.4934 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4328, allocations: 5.406 kB / 0.4934 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.4333, allocations: 203.7 kB / 0.4936 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.4336, allocations: 17.41 kB / 0.4936 GB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.4357, allocations: 0.5183 MB / 0.4941 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.4358, allocations: 0.7008 MB / 0.4948 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004097/0.4363, allocations: 124.4 kB / 0.4949 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.4366, allocations: 87.91 kB / 0.495 GB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4366, allocations: 0 / 0.495 GB, free: 11.39 MB / 382.1 MB Notification: Performance of Templates: time 0.06828/0.5049, allocations: 57.41 MB / 0.5511 GB, free: 8.02 MB / 430.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)