Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001062/0.001062, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.436/1.436, allocations: 194.3 MB / 207.5 MB, free: 3.469 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.001645/0.001645, allocations: 111.7 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2668/0.2668, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.088e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 54.85 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.4872, allocations: 84.16 MB / 0.5266 GB, free: 7.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.4875, allocations: 62.72 kB / 0.5267 GB, free: 7.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.5021, allocations: 6.036 MB / 0.5326 GB, free: 2.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5022, allocations: 0 / 0.5326 GB, free: 2.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.5022, allocations: 8 kB / 0.5326 GB, free: 2.254 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004448/0.5027, allocations: 485.1 kB / 0.5331 GB, free: 1.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5027, allocations: 8.031 kB / 0.5331 GB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007677/0.5035, allocations: 67.62 kB / 0.5331 GB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.5036, allocations: 186.8 kB / 0.5333 GB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.5036, allocations: 16.19 kB / 0.5333 GB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.5037, allocations: 31.81 kB / 0.5334 GB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.504, allocations: 193.2 kB / 0.5335 GB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.504, allocations: 0 / 0.5335 GB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.5041, allocations: 11.69 kB / 0.5336 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5041, allocations: 8 kB / 0.5336 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.5043, allocations: 132.7 kB / 0.5337 GB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.505, allocations: 0.5906 MB / 0.5343 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.5055, allocations: 230.6 kB / 0.5345 GB, free: 436 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.5056, allocations: 61.14 kB / 0.5346 GB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.5056, allocations: 4.234 kB / 0.5346 GB, free: 388 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.5056, allocations: 37.3 kB / 0.5346 GB, free: 344 kB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.5057, allocations: 0 / 0.5346 GB, free: 344 kB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002708/0.5059, allocations: 163.8 kB / 0.5347 GB, free: 204 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.506, allocations: 51.41 kB / 0.5348 GB, free: 140 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.506, allocations: 96.06 kB / 0.5349 GB, free: 40 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.506, allocations: 29.08 kB / 0.5349 GB, free: 8 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5061, allocations: 139.9 kB / 0.535 GB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.5062, allocations: 92.58 kB / 0.5351 GB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.5062, allocations: 3.25 kB / 0.5351 GB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5064, allocations: 328.6 kB / 0.5355 GB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.5065, allocations: 33.38 kB / 0.5355 GB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.5065, allocations: 39 kB / 0.5355 GB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.5066, allocations: 45.03 kB / 0.5356 GB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5066, allocations: 0 / 0.5356 GB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002203/0.5069, allocations: 159.5 kB / 0.5357 GB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5069, allocations: 7.938 kB / 0.5357 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5069, allocations: 0 / 0.5357 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5069, allocations: 4 kB / 0.5357 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.5073, allocations: 99.89 kB / 0.5358 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.5073, allocations: 0 / 0.5358 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.5074, allocations: 19.39 kB / 0.5358 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.5074, allocations: 15.11 kB / 0.5359 GB, free: 15.11 MB / 362.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 (27): * Single equations (assignments): 27 * 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 7.986e-05/0.5075, allocations: 119.4 kB / 0.536 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.5076, allocations: 15.81 kB / 0.536 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.5076, allocations: 21.94 kB / 0.536 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.5076, allocations: 4 kB / 0.536 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5076, allocations: 4 kB / 0.536 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5077, allocations: 3.984 kB / 0.536 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.5079, allocations: 264.4 kB / 0.5363 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5079, allocations: 0 / 0.5363 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.5083, allocations: 103.6 kB / 0.5364 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5083, allocations: 4 kB / 0.5364 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5083, allocations: 7.375 kB / 0.5364 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5083, allocations: 0 / 0.5364 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5084, allocations: 0 / 0.5364 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.5086, allocations: 255.7 kB / 0.5366 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.5087, allocations: 88.95 kB / 0.5367 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.5087, allocations: 3.125 kB / 0.5367 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.5088, allocations: 12.92 kB / 0.5367 GB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.5089, allocations: 19.73 kB / 0.5367 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5089, allocations: 4.25 kB / 0.5367 GB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.509, allocations: 86.84 kB / 0.5368 GB, free: 14.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.509, allocations: 0 / 0.5368 GB, free: 14.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.5092, allocations: 47.62 kB / 0.5369 GB, free: 14.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (27): * Single equations (assignments): 27 * 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 9.978e-05/0.5093, allocations: 102.7 kB / 0.537 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.5095, allocations: 119.5 kB / 0.5371 GB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5095, allocations: 0 / 0.5371 GB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.5096, allocations: 85.44 kB / 0.5372 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.5098, allocations: 6.953 kB / 0.5372 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.5102, allocations: 228.2 kB / 0.5374 GB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.5105, allocations: 0.7402 MB / 0.5381 GB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.5106, allocations: 13.2 kB / 0.5381 GB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.5107, allocations: 23.42 kB / 0.5381 GB, free: 12.79 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5107, allocations: 0 / 0.5381 GB, free: 12.79 MB / 362.7 MB Notification: Performance of Templates: time 0.003052/0.5138, allocations: 0.8071 MB / 0.5389 GB, free: 12 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1)