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.001228/0.001228, allocations: 108 kB / 15.6 MB, free: 132 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.001547/0.001547, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.358/1.358, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.2963/0.2963, allocations: 39.94 MB / 309.7 MB, free: 9.336 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.001427/0.001427, allocations: 74.56 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 56.87 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001686/0.1097, allocations: 0.5452 MB / 435 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006507/0.1103, allocations: 362.7 kB / 435.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.1104, allocations: 0 / 435.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.1104, allocations: 3.938 kB / 435.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.1104, allocations: 7.875 kB / 435.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1108, allocations: 107.6 kB / 435.5 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.1109, allocations: 27.92 kB / 435.5 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.1109, allocations: 8.266 kB / 435.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.111, allocations: 11.94 kB / 435.5 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.111, allocations: 15.92 kB / 435.6 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.111, allocations: 4 kB / 435.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.1113, allocations: 123.9 kB / 435.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1113, allocations: 0 / 435.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.1113, allocations: 15.88 kB / 435.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1115, allocations: 99.73 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1115, allocations: 3.984 kB / 435.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1115, allocations: 4 kB / 435.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1115, allocations: 0 / 435.8 MB, free: 2.371 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.0004102/0.1119, allocations: 363.3 kB / 436.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.112, allocations: 11.89 kB / 436.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.112, allocations: 0.9375 kB / 436.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1121, allocations: 184.2 kB / 436.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1121, allocations: 4.375 kB / 436.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1122, allocations: 4.375 kB / 436.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1123, allocations: 54.23 kB / 436.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1123, allocations: 8.188 kB / 436.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1123, allocations: 3.938 kB / 436.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1123, allocations: 0 / 436.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.1124, allocations: 31.92 kB / 436.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1126, allocations: 165.7 kB / 436.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1128, allocations: 54.55 kB / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.1129, allocations: 25.12 kB / 436.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.1131, allocations: 117 kB / 436.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1132, allocations: 34.56 kB / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.1132, allocations: 0 / 436.9 MB, free: 1.148 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.0418/0.155, allocations: 2.582 MB / 439.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1551, allocations: 59.39 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.1552, allocations: 97.86 kB / 439.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1552, allocations: 33.64 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.1553, allocations: 88.14 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.1554, allocations: 67.08 kB / 439.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1555, allocations: 53.69 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1556, allocations: 322.8 kB / 440.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.156, allocations: 171.9 kB / 440.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.1564, allocations: 179.9 kB / 440.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1575, allocations: 404.7 kB / 440.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1575, allocations: 3.984 kB / 440.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001094/0.1586, allocations: 472.9 kB / 441.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1586, allocations: 4 kB / 441.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1586, allocations: 480 / 441.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1587, allocations: 4 kB / 441.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.159, allocations: 67.94 kB / 441.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1591, allocations: 4.25 kB / 441.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1593, allocations: 15.98 kB / 441.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.1593, allocations: 23.92 kB / 441.5 MB, free: 12.45 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.0001349/0.1595, allocations: 125.7 kB / 441.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.1595, allocations: 7.906 kB / 441.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.1608, allocations: 0.5408 MB / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1608, allocations: 0 / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1608, allocations: 0 / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1609, allocations: 0 / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.163, allocations: 0.8929 MB / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.163, allocations: 0 / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.1633, allocations: 67.94 kB / 443.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1633, allocations: 4.188 kB / 443.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.1634, allocations: 19.98 kB / 443.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1634, allocations: 7.938 kB / 443.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1634, allocations: 0 / 443.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009057/0.1643, allocations: 468.2 kB / 443.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1643, allocations: 85.02 kB / 443.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1644, allocations: 4 kB / 443.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.1646, allocations: 23.97 kB / 443.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.1646, allocations: 11.98 kB / 443.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.1647, allocations: 23.98 kB / 443.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.1647, allocations: 79.28 kB / 443.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1647, allocations: 0 / 443.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009253/0.1657, allocations: 316 kB / 444.1 MB, free: 9.648 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.001273/0.167, allocations: 246.9 kB / 444.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008679/0.1678, allocations: 343.2 kB / 444.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1678, allocations: 0 / 444.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.1682, allocations: 147.8 kB / 444.8 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1685, allocations: 12 kB / 444.8 MB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1699, allocations: 410.9 kB / 445.2 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1701, allocations: 0.6965 MB / 445.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003759/0.1705, allocations: 97.06 kB / 446 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.1707, allocations: 47.41 kB / 446.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1707, allocations: 0 / 446.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of Templates: time 0.1851/0.3558, allocations: 17.78 MB / 463.9 MB, free: 48.73 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)