Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001126/0.001127, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.35/1.35, allocations: 205.1 MB / 222 MB, free: 4.734 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.3184/0.3184, allocations: 39.93 MB / 309.3 MB, free: 9.691 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.001287/0.001287, allocations: 64.42 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 56.89 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001633/0.1081, allocations: 0.6064 MB / 434.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000641/0.1088, allocations: 392.3 kB / 434.8 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.1088, allocations: 4 kB / 434.8 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1089, allocations: 3.938 kB / 434.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.1089, allocations: 0 / 434.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.1092, allocations: 71.81 kB / 434.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.1093, allocations: 23.97 kB / 434.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1093, allocations: 11.98 kB / 434.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.1093, allocations: 7.938 kB / 434.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.1094, allocations: 19.86 kB / 434.9 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1094, allocations: 4 kB / 434.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1096, allocations: 119.9 kB / 435.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.1096, allocations: 15.88 kB / 435.1 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1097, allocations: 11.92 kB / 435.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1099, allocations: 96.02 kB / 435.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1099, allocations: 4 kB / 435.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1099, allocations: 0 / 435.2 MB, free: 3.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1099, allocations: 0 / 435.2 MB, free: 3.027 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.0004437/0.1103, allocations: 371.3 kB / 435.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1104, allocations: 8.031 kB / 435.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1104, allocations: 4.938 kB / 435.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1105, allocations: 172.2 kB / 435.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1105, allocations: 384 / 435.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.1106, allocations: 8.375 kB / 435.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.1107, allocations: 58.17 kB / 435.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1107, allocations: 192 / 435.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1107, allocations: 7.938 kB / 435.8 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1107, allocations: 4 kB / 435.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.095e-05/0.1108, allocations: 23.98 kB / 435.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.111, allocations: 165.7 kB / 436 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1112, allocations: 58.59 kB / 436 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.1112, allocations: 32.84 kB / 436.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.1115, allocations: 101.1 kB / 436.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1115, allocations: 38.55 kB / 436.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1115, allocations: 0 / 436.2 MB, free: 1.812 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.04482/0.1563, allocations: 2.581 MB / 438.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1564, allocations: 51.41 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.1565, allocations: 105.9 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1566, allocations: 29.7 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.1566, allocations: 84.12 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.36e-05/0.1567, allocations: 59.11 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1568, allocations: 57.69 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.157, allocations: 326.8 kB / 439.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.1574, allocations: 171.9 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.1577, allocations: 175.9 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.1588, allocations: 420.2 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1588, allocations: 4 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001007/0.1598, allocations: 457.3 kB / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1598, allocations: 4 kB / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1598, allocations: 0 / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1599, allocations: 0 / 440.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.1602, allocations: 79.88 kB / 440.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1603, allocations: 0 / 440.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.1605, allocations: 20.02 kB / 440.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1605, allocations: 15.98 kB / 440.8 MB, free: 13.12 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.0001271/0.1607, allocations: 125.7 kB / 440.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.1607, allocations: 11.89 kB / 440.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.162, allocations: 0.537 MB / 441.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.162, allocations: 8 kB / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.162, allocations: 0 / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.162, allocations: 0 / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.1641, allocations: 0.9046 MB / 442.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1641, allocations: 0 / 442.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.1644, allocations: 72.06 kB / 442.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1645, allocations: 4 kB / 442.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.1645, allocations: 19.98 kB / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1645, allocations: 4 kB / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1645, allocations: 0 / 442.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.1654, allocations: 464.2 kB / 442.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1654, allocations: 89 kB / 443 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.1655, allocations: 8 kB / 443 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1657, allocations: 19.97 kB / 443.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1657, allocations: 15.98 kB / 443.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.1658, allocations: 15.98 kB / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.606e-05/0.1658, allocations: 83.28 kB / 443.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1658, allocations: 0 / 443.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008651/0.1667, allocations: 316 kB / 443.5 MB, free: 10.3 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.001367/0.1681, allocations: 239 kB / 443.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008228/0.1689, allocations: 335.2 kB / 444 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1689, allocations: 4 kB / 444 MB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.1693, allocations: 151.8 kB / 444.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1696, allocations: 15.66 kB / 444.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1709, allocations: 444.5 kB / 444.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1712, allocations: 0.6968 MB / 445.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003619/0.1715, allocations: 92.88 kB / 445.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.1717, allocations: 47.41 kB / 445.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1717, allocations: 0 / 445.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of Templates: time 0.1844/0.3561, allocations: 17.57 MB / 463 MB, free: 48.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1)