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.001346/0.001346, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001676/0.001676, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3027/0.3027, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0008499/0.00085, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1315, allocations: 57.52 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006251/0.1321, allocations: 264.3 kB / 434.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.1328, allocations: 386.5 kB / 434.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.1329, allocations: 0 / 434.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.1329, allocations: 0 / 434.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.133, allocations: 4 kB / 434.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.1334, allocations: 99.69 kB / 434.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.816e-05/0.1335, allocations: 12 kB / 434.7 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.1335, allocations: 3.984 kB / 434.7 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.1336, allocations: 11.94 kB / 434.7 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.1336, allocations: 23.91 kB / 434.7 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1336, allocations: 0 / 434.7 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.1339, allocations: 147.8 kB / 434.9 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1339, allocations: 8 kB / 434.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.134, allocations: 29.64 kB / 434.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1341, allocations: 88.09 kB / 435 MB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1341, allocations: 0 / 435 MB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1341, allocations: 0 / 435 MB, free: 4.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1342, allocations: 0 / 435 MB, free: 4.508 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.0003971/0.1346, allocations: 359.2 kB / 435.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1346, allocations: 12.03 kB / 435.3 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1347, allocations: 3.984 kB / 435.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1348, allocations: 178.9 kB / 435.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1348, allocations: 0 / 435.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1348, allocations: 8 kB / 435.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.135, allocations: 57.55 kB / 435.6 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.135, allocations: 4 kB / 435.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.135, allocations: 0 / 435.6 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.135, allocations: 4 kB / 435.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.1351, allocations: 23.98 kB / 435.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.1353, allocations: 169.6 kB / 435.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1355, allocations: 58.59 kB / 435.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.1358, allocations: 121.1 kB / 436 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1358, allocations: 34.56 kB / 436 MB, free: 3.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1359, allocations: 0 / 436 MB, free: 3.316 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.139/0.2748, allocations: 6.622 MB / 442.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2749, allocations: 51.41 kB / 442.7 MB, free: 12.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.275, allocations: 101.9 kB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.2751, allocations: 29.7 kB / 442.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.2751, allocations: 84.12 kB / 442.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.2752, allocations: 63.09 kB / 442.9 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.2753, allocations: 8 kB / 442.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2754, allocations: 326.8 kB / 443.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.2759, allocations: 239.8 kB / 443.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.2765, allocations: 239.8 kB / 443.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.2775, allocations: 295.8 kB / 444 MB, free: 11.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2776, allocations: 4 kB / 444 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001814/0.2794, allocations: 0.645 MB / 444.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2794, allocations: 4 kB / 444.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2794, allocations: 0 / 444.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2794, allocations: 4 kB / 444.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.2801, allocations: 120.2 kB / 444.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2801, allocations: 0 / 444.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.2806, allocations: 35.92 kB / 444.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.2806, allocations: 31.94 kB / 444.9 MB, free: 10.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.2808, allocations: 126.9 kB / 445 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.2808, allocations: 16.08 kB / 445 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.283, allocations: 0.7593 MB / 445.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.283, allocations: 0 / 445.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.283, allocations: 4 kB / 445.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2831, allocations: 0 / 445.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.2871, allocations: 1.235 MB / 447 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2871, allocations: 7.953 kB / 447 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.2877, allocations: 107.8 kB / 447.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.2877, allocations: 4 kB / 447.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.2877, allocations: 23.95 kB / 447.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2878, allocations: 4.188 kB / 447.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2878, allocations: 4 kB / 447.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.2895, allocations: 0.682 MB / 447.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.2895, allocations: 85.02 kB / 447.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.2896, allocations: 11.95 kB / 447.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.29, allocations: 31.95 kB / 448 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.2901, allocations: 19.98 kB / 448 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/0.2901, allocations: 27.95 kB / 448 MB, free: 7.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.2902, allocations: 83.28 kB / 448.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2902, allocations: 0 / 448.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001788/0.292, allocations: 0.6406 MB / 448.7 MB, free: 6.312 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 (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.003048/0.295, allocations: 306.9 kB / 449 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.2962, allocations: 487 kB / 449.5 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2963, allocations: 0 / 449.5 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.2968, allocations: 216.1 kB / 449.7 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.297, allocations: 11.98 kB / 449.7 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.2993, allocations: 0.5858 MB / 450.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.2995, allocations: 0.6968 MB / 451 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.3001, allocations: 125.1 kB / 451.1 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.3004, allocations: 87.28 kB / 451.2 MB, free: 3.738 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3004, allocations: 0 / 451.2 MB, free: 3.738 MB / 382.1 MB Notification: Performance of Templates: time 0.2319/0.5323, allocations: 56.9 MB / 0.4962 GB, free: 28.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: