Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007409/0.0007409, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004827/0.004827, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.279/1.279, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.2757/0.2757, allocations: 38.03 MB / 308.8 MB, free: 10.17 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.000542/0.000542, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09809, allocations: 57.53 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0006778/0.0988, allocations: 277.8 kB / 434.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.09949, allocations: 384.4 kB / 435.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.09952, allocations: 0 / 435.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.09954, allocations: 0 / 435.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.09958, allocations: 0 / 435.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.09989, allocations: 75.8 kB / 435.3 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.852e-05/0.09996, allocations: 31.92 kB / 435.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1, allocations: 3.938 kB / 435.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.1, allocations: 11.98 kB / 435.3 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.1001, allocations: 23.84 kB / 435.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.1001, allocations: 0 / 435.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.1003, allocations: 115.9 kB / 435.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1004, allocations: 7.984 kB / 435.5 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.1004, allocations: 41.58 kB / 435.5 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1006, allocations: 92.09 kB / 435.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1006, allocations: 0 / 435.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1006, allocations: 0 / 435.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1006, allocations: 7.938 kB / 435.6 MB, free: 4.148 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.0003617/0.101, allocations: 355.4 kB / 436 MB, free: 3.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.101, allocations: 8.031 kB / 436 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.1011, allocations: 8.844 kB / 436 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1012, allocations: 164.3 kB / 436.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1012, allocations: 8.359 kB / 436.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1012, allocations: 4.375 kB / 436.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1014, allocations: 58.17 kB / 436.2 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1014, allocations: 8.188 kB / 436.2 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1014, allocations: 3.938 kB / 436.2 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1014, allocations: 0 / 436.2 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.1015, allocations: 31.97 kB / 436.3 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1016, allocations: 173.6 kB / 436.4 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1019, allocations: 62.52 kB / 436.5 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.1019, allocations: 20.86 kB / 436.5 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.1022, allocations: 121.1 kB / 436.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1022, allocations: 34.56 kB / 436.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1022, allocations: 0 / 436.7 MB, free: 2.926 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.04197/0.1442, allocations: 2.814 MB / 439.5 MB, free: 76 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1443, allocations: 59.41 kB / 439.5 MB, free: 4 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.1444, allocations: 105.8 kB / 439.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.1444, allocations: 29.7 kB / 439.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.1445, allocations: 80.14 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.1445, allocations: 59.11 kB / 439.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.1446, allocations: 25.7 kB / 439.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1448, allocations: 318.8 kB / 440.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.1452, allocations: 191.9 kB / 440.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.1456, allocations: 195.8 kB / 440.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.1467, allocations: 444.3 kB / 440.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1467, allocations: 4 kB / 441 MB, free: 14.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001037/0.1477, allocations: 493.3 kB / 441.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.1478, allocations: 11.98 kB / 441.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1478, allocations: 0 / 441.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1478, allocations: 0 / 441.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.1482, allocations: 84.12 kB / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1482, allocations: 0 / 441.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.1484, allocations: 27.98 kB / 441.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.1485, allocations: 19.98 kB / 441.6 MB, free: 13.92 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.000137/0.1486, allocations: 121.8 kB / 441.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1486, allocations: 7.906 kB / 441.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.15, allocations: 0.5719 MB / 442.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.15, allocations: 0 / 442.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1501, allocations: 4 kB / 442.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1501, allocations: 4 kB / 442.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.1522, allocations: 0.9597 MB / 443.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1523, allocations: 4 kB / 443.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.1525, allocations: 75.88 kB / 443.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1525, allocations: 4 kB / 443.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.1526, allocations: 15.98 kB / 443.3 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1526, allocations: 8.125 kB / 443.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1526, allocations: 8 kB / 443.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/0.1535, allocations: 492.2 kB / 443.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1536, allocations: 85.02 kB / 443.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1536, allocations: 8 kB / 443.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.1538, allocations: 27.97 kB / 444 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.1539, allocations: 15.98 kB / 444 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.1539, allocations: 19.98 kB / 444 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.1539, allocations: 79.28 kB / 444.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.154, allocations: 0 / 444.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009436/0.1549, allocations: 319.9 kB / 444.4 MB, free: 10.96 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.001256/0.1562, allocations: 250.9 kB / 444.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.157, allocations: 367 kB / 445 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.157, allocations: 0 / 445 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.1574, allocations: 167.8 kB / 445.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1577, allocations: 16.38 kB / 445.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1589, allocations: 496.1 kB / 445.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1592, allocations: 0.6968 MB / 446.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.1596, allocations: 97.06 kB / 446.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.1597, allocations: 47.41 kB / 446.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1598, allocations: 0 / 446.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of Templates: time 0.1905/0.3503, allocations: 17.56 MB / 464 MB, free: 46.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) Environment - environmentSimulation: