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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001553/0.001553, allocations: 169.8 kB / 7.637 MB, free: 1.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.624/1.624, allocations: 170.7 MB / 178.7 MB, free: 7.039 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001846/0.001846, allocations: 107.4 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2406/0.2406, allocations: 37.98 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.019e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3373, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4569, allocations: 72.41 MB / 471.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4572, allocations: 63.97 kB / 471.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005076/0.4623, allocations: 1.759 MB / 473 MB, free: 8.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4623, allocations: 0 / 473 MB, free: 8.898 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4624, allocations: 0 / 473 MB, free: 8.898 MB / 330.7 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.0003855/0.4627, allocations: 354.4 kB / 473.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4628, allocations: 8.031 kB / 473.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.4629, allocations: 9.281 kB / 473.3 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.463, allocations: 171.8 kB / 473.5 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.463, allocations: 0 / 473.5 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4631, allocations: 4 kB / 473.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000113/0.4632, allocations: 24 kB / 473.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.4633, allocations: 61.55 kB / 473.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4633, allocations: 0 / 473.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4633, allocations: 0 / 473.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4634, allocations: 3.984 kB / 473.6 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.4636, allocations: 152.1 kB / 473.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.4638, allocations: 50.56 kB / 473.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.4639, allocations: 20.86 kB / 473.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.4641, allocations: 117.4 kB / 473.9 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.4642, allocations: 34.5 kB / 473.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.4642, allocations: 0 / 473.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.03603/0.5002, allocations: 2.101 MB / 476 MB, free: 5.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.5003, allocations: 51.41 kB / 476.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.5004, allocations: 93.88 kB / 476.2 MB, free: 5.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.5005, allocations: 29.7 kB / 476.2 MB, free: 5.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.5005, allocations: 88.12 kB / 476.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.964e-05/0.5006, allocations: 59.11 kB / 476.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.5007, allocations: 0 / 476.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5008, allocations: 318.8 kB / 476.7 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.501, allocations: 136 kB / 476.8 MB, free: 4.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.5012, allocations: 135.9 kB / 476.9 MB, free: 4.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.5017, allocations: 195.9 kB / 477.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5017, allocations: 0 / 477.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008353/0.5026, allocations: 417.3 kB / 477.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5026, allocations: 8 kB / 477.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5026, allocations: 0 / 477.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5027, allocations: 0 / 477.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.5031, allocations: 79.94 kB / 477.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.5031, allocations: 256 / 477.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.5033, allocations: 23.98 kB / 477.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.5033, allocations: 19.98 kB / 477.7 MB, free: 3.953 MB / 330.7 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 () * 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.0001328/0.5035, allocations: 112.9 kB / 477.8 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.5035, allocations: 11.89 kB / 477.8 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.5047, allocations: 497.5 kB / 478.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.5047, allocations: 0 / 478.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5047, allocations: 0 / 478.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.5047, allocations: 4 kB / 478.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.5067, allocations: 0.8515 MB / 479.1 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5067, allocations: 0 / 479.1 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.507, allocations: 80.06 kB / 479.2 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5071, allocations: 4 kB / 479.2 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.5071, allocations: 15.98 kB / 479.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5071, allocations: 0 / 479.2 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.5071, allocations: 7.953 kB / 479.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.5079, allocations: 486.6 kB / 479.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.508, allocations: 85.02 kB / 479.8 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.508, allocations: 4 kB / 479.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.5082, allocations: 23.97 kB / 479.8 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.5083, allocations: 19.94 kB / 479.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.5083, allocations: 16 kB / 479.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.603e-05/0.5084, allocations: 87.27 kB / 479.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5084, allocations: 192 / 479.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001033/0.5094, allocations: 335.7 kB / 480.3 MB, free: 1.188 MB / 330.7 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 () * 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.001242/0.5107, allocations: 270.7 kB / 480.5 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.5111, allocations: 259.9 kB / 480.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5111, allocations: 4 kB / 480.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.5113, allocations: 112.2 kB / 480.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.5115, allocations: 8 kB / 480.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.5126, allocations: 357.3 kB / 481.3 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.513, allocations: 0.6926 MB / 481.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.5134, allocations: 105 kB / 482 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5136, allocations: 47.41 kB / 482.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5136, allocations: 3.938 kB / 482.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of Templates: time 0.01442/0.528, allocations: 7.65 MB / 489.7 MB, free: 7.637 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile (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)