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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.00848/0.00848, allocations: 173.9 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.683/1.683, allocations: 194.5 MB / 210.3 MB, free: 8.781 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001737, allocations: 116.5 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2177/0.2177, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 10.06 kB / 406.2 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 54.87 MB / 461 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.2434, allocations: 79.54 MB / 0.5279 GB, free: 3.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.2437, allocations: 63.97 kB / 0.528 GB, free: 3.719 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004969/0.2487, allocations: 1.784 MB / 0.5297 GB, free: 1.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2487, allocations: 7.938 kB / 0.5297 GB, free: 1.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2487, allocations: 0 / 0.5297 GB, free: 1.922 MB / 378.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.0003666/0.2491, allocations: 371.1 kB / 0.5301 GB, free: 1.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2491, allocations: 8.031 kB / 0.5301 GB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.2492, allocations: 11.91 kB / 0.5301 GB, free: 1.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2493, allocations: 159.1 kB / 0.5302 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2493, allocations: 8 kB / 0.5302 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.2494, allocations: 0 / 0.5302 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2495, allocations: 57.61 kB / 0.5303 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2495, allocations: 11.91 kB / 0.5303 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.2496, allocations: 3.953 kB / 0.5303 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2496, allocations: 0 / 0.5303 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.2497, allocations: 27.98 kB / 0.5303 GB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.2499, allocations: 181.5 kB / 0.5305 GB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.2501, allocations: 58.59 kB / 0.5306 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.2504, allocations: 109.1 kB / 0.5307 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.2504, allocations: 38.55 kB / 0.5307 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2504, allocations: 0 / 0.5307 GB, free: 0.7188 MB / 378.7 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.3061/0.5565, allocations: 2.804 MB / 0.5334 GB, free: 82.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.5566, allocations: 57.06 kB / 0.5335 GB, free: 82.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.5567, allocations: 93.38 kB / 0.5336 GB, free: 82.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.5568, allocations: 30.98 kB / 0.5336 GB, free: 82.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.5568, allocations: 83.44 kB / 0.5337 GB, free: 82.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.5569, allocations: 60.27 kB / 0.5337 GB, free: 82.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.5569, allocations: 2.656 kB / 0.5338 GB, free: 82.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5571, allocations: 320.3 kB / 0.5341 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.5575, allocations: 189.8 kB / 0.5342 GB, free: 81.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.558, allocations: 188.4 kB / 0.5344 GB, free: 81.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.5587, allocations: 223.6 kB / 0.5346 GB, free: 81.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5587, allocations: 4.812 kB / 0.5346 GB, free: 81.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001165/0.5598, allocations: 494.3 kB / 0.5351 GB, free: 81.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.5599, allocations: 4.625 kB / 0.5351 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5599, allocations: 1.438 kB / 0.5351 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.56, allocations: 0.9688 kB / 0.5351 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.5604, allocations: 82.09 kB / 0.5352 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5604, allocations: 8.906 kB / 0.5352 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.5607, allocations: 24.75 kB / 0.5352 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.5607, allocations: 17.55 kB / 0.5352 GB, free: 81.89 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.5609, allocations: 118.5 kB / 0.5354 GB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.5609, allocations: 11.7 kB / 0.5354 GB, free: 81.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.5625, allocations: 0.5754 MB / 0.5359 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5625, allocations: 6.734 kB / 0.5359 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5625, allocations: 0 / 0.5359 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5625, allocations: 1.359 kB / 0.5359 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.5652, allocations: 0.9519 MB / 0.5369 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5652, allocations: 1.031 kB / 0.5369 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.5655, allocations: 79.98 kB / 0.5369 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.5656, allocations: 3.375 kB / 0.5369 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.5656, allocations: 17.22 kB / 0.537 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.5656, allocations: 3.406 kB / 0.537 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5656, allocations: 4.875 kB / 0.537 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.5668, allocations: 0.5494 MB / 0.5375 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.5669, allocations: 88.98 kB / 0.5376 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.567, allocations: 6.75 kB / 0.5376 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.5672, allocations: 27.23 kB / 0.5376 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.5672, allocations: 18.38 kB / 0.5376 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.5673, allocations: 22.33 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.5674, allocations: 82.91 kB / 0.5377 GB, free: 80.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5674, allocations: 0 / 0.5377 GB, free: 80.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001577/0.5689, allocations: 352.1 kB / 0.5381 GB, free: 80.79 MB / 378.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 () * 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 (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.001519/0.5705, allocations: 268.5 kB / 0.5383 GB, free: 80.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.5718, allocations: 360.8 kB / 0.5387 GB, free: 80.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.5718, allocations: 4 kB / 0.5387 GB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005457/0.5723, allocations: 169.1 kB / 0.5388 GB, free: 80.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5726, allocations: 12.58 kB / 0.5389 GB, free: 80.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.5744, allocations: 484.4 kB / 0.5393 GB, free: 80.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.5748, allocations: 0.698 MB / 0.54 GB, free: 79.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.5753, allocations: 92.56 kB / 0.5401 GB, free: 79.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5755, allocations: 50.11 kB / 0.5401 GB, free: 79.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5755, allocations: 0 / 0.5401 GB, free: 79.68 MB / 378.7 MB Notification: Performance of Templates: time 0.02338/0.5989, allocations: 7.636 MB / 0.5476 GB, free: 76.65 MB / 378.7 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)