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.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 195 kB / 16.53 MB, free: 6.664 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.571/1.571, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3103/0.3103, allocations: 37.99 MB / 307.7 MB, free: 10.05 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.001486/0.001486, allocations: 80.11 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 56.46 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001731/0.1105, allocations: 0.5337 MB / 432.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006861/0.1112, allocations: 410.8 kB / 432.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1112, allocations: 0 / 432.6 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.1112, allocations: 3.938 kB / 432.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.409e-05/0.1113, allocations: 0 / 432.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.1118, allocations: 135.8 kB / 432.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.036e-05/0.1118, allocations: 31.91 kB / 432.8 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.1119, allocations: 11.94 kB / 432.8 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.1119, allocations: 7.938 kB / 432.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.112, allocations: 19.92 kB / 432.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.112, allocations: 0 / 432.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002506/0.1122, allocations: 163.8 kB / 433 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.1123, allocations: 7.984 kB / 433 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.1123, allocations: 19.86 kB / 433 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1125, allocations: 119.8 kB / 433.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1125, allocations: 0 / 433.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1125, allocations: 3.938 kB / 433.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1125, allocations: 4 kB / 433.2 MB, free: 5.176 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.000479/0.113, allocations: 363.4 kB / 433.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1131, allocations: 15.89 kB / 433.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1131, allocations: 8.844 kB / 433.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1133, allocations: 168.3 kB / 433.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1133, allocations: 4.375 kB / 433.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1133, allocations: 4.375 kB / 433.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1135, allocations: 58.17 kB / 433.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1135, allocations: 3.938 kB / 433.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1135, allocations: 4 kB / 433.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1135, allocations: 7.984 kB / 433.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.1136, allocations: 31.92 kB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.1138, allocations: 173.5 kB / 434 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.114, allocations: 54.56 kB / 434 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.114, allocations: 24.84 kB / 434.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.1143, allocations: 109.3 kB / 434.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1143, allocations: 42.5 kB / 434.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.1144, allocations: 0 / 434.2 MB, free: 3.945 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.1487/0.2631, allocations: 6.378 MB / 440.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2631, allocations: 51.41 kB / 440.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.2632, allocations: 105.8 kB / 440.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.2633, allocations: 26.17 kB / 440.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.2633, allocations: 88.14 kB / 440.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/0.2634, allocations: 63.09 kB / 440.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.2636, allocations: 85.59 kB / 441 MB, free: 13.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2638, allocations: 326.7 kB / 441.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/0.2644, allocations: 231.8 kB / 441.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.2649, allocations: 227.8 kB / 441.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.2671, allocations: 0.5513 MB / 442.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2671, allocations: 0 / 442.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001868/0.269, allocations: 0.6215 MB / 442.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.269, allocations: 4 kB / 442.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.269, allocations: 0 / 442.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.269, allocations: 0 / 442.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.2697, allocations: 111.8 kB / 443 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2697, allocations: 0 / 443 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.2702, allocations: 27.95 kB / 443.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.2703, allocations: 35.92 kB / 443.1 MB, free: 10.95 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.0001681/0.2704, allocations: 121.7 kB / 443.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.2705, allocations: 7.906 kB / 443.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.2727, allocations: 0.7279 MB / 444 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2728, allocations: 0 / 444 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2728, allocations: 0 / 444 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2728, allocations: 4 kB / 444 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/0.2769, allocations: 1.172 MB / 445.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2769, allocations: 0 / 445.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.2775, allocations: 108 kB / 445.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.2775, allocations: 0 / 445.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.2775, allocations: 27.95 kB / 445.3 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.2776, allocations: 8.188 kB / 445.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2776, allocations: 4 kB / 445.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.2793, allocations: 0.5782 MB / 445.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.2794, allocations: 92.95 kB / 446 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.2794, allocations: 4 kB / 446 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.2799, allocations: 31.95 kB / 446 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.2799, allocations: 15.92 kB / 446 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.28, allocations: 31.95 kB / 446 MB, free: 7.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.081e-05/0.28, allocations: 79.28 kB / 446.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.28, allocations: 0 / 446.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001725/0.2818, allocations: 0.6523 MB / 446.8 MB, free: 7.141 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.003372/0.2851, allocations: 298.8 kB / 447.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.2864, allocations: 451.5 kB / 447.5 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2864, allocations: 8 kB / 447.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.287, allocations: 195.7 kB / 447.7 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.2873, allocations: 18.72 kB / 447.7 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.2897, allocations: 0.5184 MB / 448.2 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.29, allocations: 0.6965 MB / 448.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005671/0.2906, allocations: 128.8 kB / 449.1 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.2909, allocations: 87.28 kB / 449.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2909, allocations: 4 kB / 449.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of Templates: time 0.2457/0.5367, allocations: 57.39 MB / 0.4947 GB, free: 32.02 MB / 382.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)