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.001056/0.001056, 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.001035/0.001035, allocations: 177.3 kB / 15.94 MB, free: 228 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.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.3011/0.3011, allocations: 40 MB / 310.4 MB, free: 9.648 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.0005323/0.0005323, allocations: 22.97 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1057, allocations: 57.95 MB / 436.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007606/0.1065, allocations: 264.4 kB / 437 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.1073, allocations: 382.5 kB / 437.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.1074, allocations: 0 / 437.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.1074, allocations: 3.938 kB / 437.4 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.1074, allocations: 3.984 kB / 437.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.108, allocations: 95.77 kB / 437.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1082, allocations: 23.91 kB / 437.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.1082, allocations: 0 / 437.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.1083, allocations: 8 kB / 437.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.1083, allocations: 15.92 kB / 437.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1083, allocations: 0 / 437.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.1087, allocations: 155.7 kB / 437.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.1087, allocations: 11.98 kB / 437.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1087, allocations: 29.7 kB / 437.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1089, allocations: 80.17 kB / 437.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.109, allocations: 3.938 kB / 437.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.109, allocations: 0 / 437.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.109, allocations: 4 kB / 437.8 MB, free: 1.25 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.0005447/0.1095, allocations: 359.2 kB / 438.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1096, allocations: 12.03 kB / 438.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.1097, allocations: 7.859 kB / 438.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1099, allocations: 167 kB / 438.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1099, allocations: 4 kB / 438.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.11, allocations: 12 kB / 438.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.1102, allocations: 49.67 kB / 438.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.1102, allocations: 3.938 kB / 438.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1103, allocations: 4 kB / 438.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1103, allocations: 4 kB / 438.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1104, allocations: 23.98 kB / 438.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.1107, allocations: 177.5 kB / 438.6 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.111, allocations: 62.83 kB / 438.7 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/0.1115, allocations: 113 kB / 438.8 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.1115, allocations: 34.56 kB / 438.8 MB, free: 60 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.1116, allocations: 4 kB / 438.8 MB, free: 56 kB / 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.1379/0.2495, allocations: 6.614 MB / 445.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2496, allocations: 51.41 kB / 445.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.2496, allocations: 109.8 kB / 445.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.2497, allocations: 29.7 kB / 445.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.2497, allocations: 80.61 kB / 445.7 MB, free: 9.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.2498, allocations: 59.11 kB / 445.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2499, allocations: 4 kB / 445.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.25, allocations: 330.8 kB / 446.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.2506, allocations: 239.8 kB / 446.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.2512, allocations: 243.8 kB / 446.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2522, allocations: 300.5 kB / 446.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2522, allocations: 0 / 446.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0018/0.254, allocations: 0.645 MB / 447.5 MB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.2541, allocations: 4 kB / 447.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.2541, allocations: 4 kB / 447.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2541, allocations: 0 / 447.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.2547, allocations: 115.8 kB / 447.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2548, allocations: 3.953 kB / 447.6 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.2552, allocations: 31.95 kB / 447.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.2553, allocations: 39.88 kB / 447.7 MB, free: 7.102 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.0001497/0.2554, allocations: 125.8 kB / 447.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.2555, allocations: 11.89 kB / 447.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.2575, allocations: 0.7593 MB / 448.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2575, allocations: 0 / 448.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2576, allocations: 4 kB / 448.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2576, allocations: 0 / 448.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/0.2616, allocations: 1.235 MB / 449.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2616, allocations: 0 / 449.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.2622, allocations: 103.9 kB / 449.9 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2622, allocations: 4 kB / 449.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.2622, allocations: 23.95 kB / 450 MB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.251e-05/0.2622, allocations: 7.938 kB / 450 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2623, allocations: 8.125 kB / 450 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2641, allocations: 0.6742 MB / 450.7 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.2641, allocations: 85.02 kB / 450.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.2642, allocations: 7.953 kB / 450.7 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004029/0.2646, allocations: 35.95 kB / 450.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2647, allocations: 23.92 kB / 450.8 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.2647, allocations: 27.95 kB / 450.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.875e-05/0.2648, allocations: 83.53 kB / 450.9 MB, free: 3.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2648, allocations: 0 / 450.9 MB, free: 3.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002176/0.2669, allocations: 0.6445 MB / 451.6 MB, free: 3.062 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.003273/0.2702, allocations: 310.8 kB / 451.9 MB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.2717, allocations: 483.1 kB / 452.3 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2717, allocations: 3.938 kB / 452.3 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.2724, allocations: 224 kB / 452.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2726, allocations: 8 kB / 452.6 MB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.2751, allocations: 0.5781 MB / 453.1 MB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.2757, allocations: 0.7007 MB / 453.8 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006567/0.2763, allocations: 124.8 kB / 454 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.2767, allocations: 91.22 kB / 454.1 MB, free: 492 kB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2767, allocations: 4 kB / 454.1 MB, free: 488 kB / 382.1 MB Notification: Performance of Templates: time 0.2073/0.484, allocations: 56.89 MB / 0.499 GB, free: 24.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: