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.005227/0.005227, allocations: 99.69 kB / 15.73 MB, free: 6.477 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.001182/0.001182, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3195/0.3195, 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.001464/0.001464, allocations: 67.91 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2527, allocations: 56.47 MB / 489.5 MB, free: 19.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001863/0.2546, allocations: 0.545 MB / 490 MB, free: 19.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000678/0.2553, allocations: 405.8 kB / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.2554, allocations: 0 / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.2554, allocations: 3.938 kB / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.2555, allocations: 0 / 490.4 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.2561, allocations: 142.3 kB / 490.5 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.2562, allocations: 24.39 kB / 490.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.2562, allocations: 3.516 kB / 490.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.2563, allocations: 14.86 kB / 490.6 MB, free: 19.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2563, allocations: 20.44 kB / 490.6 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2564, allocations: 1.375 kB / 490.6 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003344/0.2567, allocations: 161.9 kB / 490.8 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.2567, allocations: 10.58 kB / 490.8 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.2568, allocations: 17.25 kB / 490.8 MB, free: 19.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.257, allocations: 126 kB / 490.9 MB, free: 19.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2571, allocations: 1.094 kB / 490.9 MB, free: 19.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2571, allocations: 0 / 490.9 MB, free: 19.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2571, allocations: 0 / 490.9 MB, free: 19.16 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.0004739/0.2576, allocations: 365.5 kB / 491.3 MB, free: 18.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2576, allocations: 12.95 kB / 491.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.2577, allocations: 4.859 kB / 491.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.2578, allocations: 174.5 kB / 491.5 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2578, allocations: 2.719 kB / 491.5 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.2578, allocations: 11.28 kB / 491.5 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2579, allocations: 48.8 kB / 491.5 MB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.258, allocations: 9.844 kB / 491.5 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.258, allocations: 0 / 491.5 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.258, allocations: 5.031 kB / 491.5 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.2581, allocations: 29.19 kB / 491.6 MB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.2583, allocations: 170.2 kB / 491.7 MB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.2585, allocations: 54.58 kB / 491.8 MB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.2585, allocations: 31.39 kB / 491.8 MB, free: 18.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/0.2588, allocations: 104.2 kB / 491.9 MB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.2589, allocations: 37.3 kB / 491.9 MB, free: 18.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.2589, allocations: 0 / 491.9 MB, free: 18.12 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.1396/0.3985, allocations: 6.382 MB / 498.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.3985, allocations: 58 kB / 498.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.3986, allocations: 100.5 kB / 498.5 MB, free: 16.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.3987, allocations: 30.89 kB / 498.5 MB, free: 16.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.3987, allocations: 89.09 kB / 498.6 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.3988, allocations: 62.34 kB / 498.7 MB, free: 16.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.3989, allocations: 88.44 kB / 498.7 MB, free: 16.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.399, allocations: 325 kB / 499.1 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.3995, allocations: 229.6 kB / 499.3 MB, free: 16.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.4, allocations: 225.8 kB / 499.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.402, allocations: 0.5647 MB / 0.4884 GB, free: 15.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.402, allocations: 1.531 kB / 0.4884 GB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001719/0.4037, allocations: 0.6048 MB / 0.4889 GB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4038, allocations: 8.5 kB / 0.489 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4038, allocations: 1.531 kB / 0.489 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4038, allocations: 7.969 kB / 0.489 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.4044, allocations: 105.3 kB / 0.4891 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4045, allocations: 0 / 0.4891 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.4049, allocations: 24.7 kB / 0.4891 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.4049, allocations: 31.94 kB / 0.4891 GB, free: 15.23 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.0001069/0.4051, allocations: 129.3 kB / 0.4892 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.4051, allocations: 7.469 kB / 0.4893 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.4071, allocations: 0.7208 MB / 0.49 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4071, allocations: 1.938 kB / 0.49 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4071, allocations: 4 kB / 0.49 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4071, allocations: 5.578 kB / 0.49 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.4108, allocations: 1.17 MB / 0.4911 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4109, allocations: 5.344 kB / 0.4911 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.4114, allocations: 95.17 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.4114, allocations: 1.5 kB / 0.4912 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.4115, allocations: 34.33 kB / 0.4912 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4115, allocations: 5.938 kB / 0.4912 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4115, allocations: 1.875 kB / 0.4912 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.413, allocations: 0.5854 MB / 0.4918 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.4131, allocations: 84.92 kB / 0.4919 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4131, allocations: 6.281 kB / 0.4919 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.4135, allocations: 25.05 kB / 0.4919 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.4136, allocations: 15.39 kB / 0.4919 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.4136, allocations: 29.3 kB / 0.492 GB, free: 13.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.318e-05/0.4136, allocations: 86.44 kB / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4137, allocations: 0 / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001914/0.4156, allocations: 0.6464 MB / 0.4927 GB, free: 13.09 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.002982/0.4186, allocations: 302.6 kB / 0.493 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.4197, allocations: 456.1 kB / 0.4934 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.4197, allocations: 5.156 kB / 0.4934 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.4202, allocations: 199.9 kB / 0.4936 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.4205, allocations: 17.28 kB / 0.4936 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.4227, allocations: 0.5258 MB / 0.4941 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.747e-05/0.4228, allocations: 0.6933 MB / 0.4948 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003979/0.4232, allocations: 128.7 kB / 0.4949 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.4235, allocations: 88.03 kB / 0.495 GB, free: 11.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4235, allocations: 0 / 0.495 GB, free: 11.38 MB / 382.1 MB Notification: Performance of Templates: time 0.067/0.4905, allocations: 57.58 MB / 0.5512 GB, free: 7.84 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)