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.0009501/0.0009501, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007434/0.007434, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.323/1.323, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.2935/0.2935, allocations: 38.04 MB / 308.8 MB, free: 10.33 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.0005684/0.0005682, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1012, allocations: 57.51 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007821/0.1021, allocations: 281.8 kB / 434.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.1028, allocations: 420.5 kB / 435.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1029, allocations: 0 / 435.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.1029, allocations: 4 kB / 435.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3e-05/0.1029, allocations: 3.938 kB / 435.3 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1033, allocations: 103.8 kB / 435.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.1034, allocations: 23.92 kB / 435.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.1034, allocations: 4 kB / 435.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.1035, allocations: 11.94 kB / 435.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.1035, allocations: 23.84 kB / 435.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1035, allocations: 4 kB / 435.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.1038, allocations: 163.7 kB / 435.6 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1038, allocations: 4 kB / 435.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.1038, allocations: 41.58 kB / 435.6 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1041, allocations: 128 kB / 435.8 MB, free: 4.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1041, allocations: 0 / 435.8 MB, free: 4.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1041, allocations: 0 / 435.8 MB, free: 4.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1041, allocations: 0 / 435.8 MB, free: 4.008 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.0003955/0.1045, allocations: 359.4 kB / 436.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1045, allocations: 8.031 kB / 436.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1046, allocations: 0.9375 kB / 436.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1047, allocations: 176.2 kB / 436.3 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.1047, allocations: 12.31 kB / 436.3 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.1048, allocations: 4.375 kB / 436.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1049, allocations: 54.23 kB / 436.4 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1049, allocations: 7.938 kB / 436.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.105, allocations: 0 / 436.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.105, allocations: 3.938 kB / 436.4 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.713e-05/0.105, allocations: 23.98 kB / 436.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.1052, allocations: 173.6 kB / 436.6 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.1054, allocations: 58.56 kB / 436.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.1055, allocations: 24.84 kB / 436.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.1057, allocations: 117 kB / 436.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1058, allocations: 42.56 kB / 436.8 MB, free: 2.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1058, allocations: 0 / 436.8 MB, free: 2.785 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.1385/0.2443, allocations: 6.617 MB / 443.4 MB, free: 12.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2443, allocations: 55.34 kB / 443.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.2444, allocations: 105.9 kB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.2445, allocations: 29.7 kB / 443.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.2445, allocations: 80.14 kB / 443.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.2446, allocations: 63.09 kB / 443.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.2447, allocations: 21.72 kB / 443.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2448, allocations: 326.8 kB / 444.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.2453, allocations: 239.8 kB / 444.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.2459, allocations: 243.8 kB / 444.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.248, allocations: 0.5936 MB / 445.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.248, allocations: 0 / 445.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001766/0.2498, allocations: 0.6456 MB / 445.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2498, allocations: 8 kB / 445.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2498, allocations: 3.938 kB / 445.8 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2498, allocations: 0 / 445.8 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.2504, allocations: 115.8 kB / 445.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2505, allocations: 0 / 445.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.2509, allocations: 31.97 kB / 445.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.251, allocations: 31.94 kB / 446 MB, free: 9.508 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.0001399/0.2511, allocations: 125.7 kB / 446.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.2512, allocations: 11.91 kB / 446.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.2533, allocations: 0.7514 MB / 446.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2533, allocations: 4 kB / 446.9 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2533, allocations: 0 / 446.9 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2533, allocations: 3.984 kB / 446.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.2573, allocations: 1.239 MB / 448.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2573, allocations: 8.031 kB / 448.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.2578, allocations: 103.8 kB / 448.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.2578, allocations: 0 / 448.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.2579, allocations: 31.95 kB / 448.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2579, allocations: 7.984 kB / 448.3 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2579, allocations: 3.938 kB / 448.3 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2595, allocations: 0.613 MB / 448.9 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.2596, allocations: 85.02 kB / 449 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.2596, allocations: 7.984 kB / 449 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.26, allocations: 36.22 kB / 449 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.2601, allocations: 15.92 kB / 449 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.2601, allocations: 36.42 kB / 449.1 MB, free: 6.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.2602, allocations: 83.27 kB / 449.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2602, allocations: 3.938 kB / 449.1 MB, free: 6.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001674/0.2619, allocations: 0.6445 MB / 449.8 MB, free: 5.555 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.003245/0.2651, allocations: 310.8 kB / 450.1 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.2663, allocations: 487.4 kB / 450.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2663, allocations: 0 / 450.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.2668, allocations: 216.1 kB / 450.8 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2672, allocations: 12 kB / 450.8 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.2695, allocations: 0.594 MB / 451.4 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2697, allocations: 0.6929 MB / 452.1 MB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000508/0.2702, allocations: 124.9 kB / 452.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.2705, allocations: 91.28 kB / 452.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2705, allocations: 0 / 452.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of Templates: time 0.224/0.4945, allocations: 57.03 MB / 0.4974 GB, free: 28.5 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: