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.007553/0.007554, allocations: 176 kB / 15.12 MB, free: 5.98 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.76/1.76, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001826/0.001826, allocations: 120.5 kB / 255.6 MB, free: 10.16 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.2014/0.2014, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.000418, allocations: 16 kB / 406.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 54.88 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.528, allocations: 84.23 MB / 0.5325 GB, free: 82.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5283, allocations: 63.39 kB / 0.5325 GB, free: 82.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01815/0.5465, allocations: 6.05 MB / 0.5384 GB, free: 81.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5465, allocations: 0 / 0.5384 GB, free: 81.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.5466, allocations: 8.156 kB / 0.5385 GB, free: 81.54 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005998/0.5472, allocations: 493.7 kB / 0.5389 GB, free: 81.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5472, allocations: 9.469 kB / 0.5389 GB, free: 81.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.548, allocations: 67.39 kB / 0.539 GB, free: 81.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5481, allocations: 188.5 kB / 0.5392 GB, free: 80.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.5482, allocations: 22.59 kB / 0.5392 GB, free: 80.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.5482, allocations: 31.72 kB / 0.5392 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.5486, allocations: 194.3 kB / 0.5394 GB, free: 80.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5487, allocations: 0 / 0.5394 GB, free: 80.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.5487, allocations: 11.09 kB / 0.5394 GB, free: 80.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.5487, allocations: 13.67 kB / 0.5394 GB, free: 80.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.549, allocations: 156.8 kB / 0.5396 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.55, allocations: 0.5967 MB / 0.5402 GB, free: 80.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.5506, allocations: 230 kB / 0.5404 GB, free: 80.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.5506, allocations: 2.891 kB / 0.5404 GB, free: 80.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.5506, allocations: 38.58 kB / 0.5404 GB, free: 80.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.402e-06/0.5506, allocations: 0 / 0.5404 GB, free: 80.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005004/0.5511, allocations: 221.1 kB / 0.5406 GB, free: 80.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.5512, allocations: 58.44 kB / 0.5407 GB, free: 80.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.5513, allocations: 96.23 kB / 0.5408 GB, free: 80.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5513, allocations: 30.55 kB / 0.5408 GB, free: 80.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.5514, allocations: 134.8 kB / 0.5409 GB, free: 80 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.5514, allocations: 89.47 kB / 0.541 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.5515, allocations: 4.531 kB / 0.541 GB, free: 79.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.5516, allocations: 321.5 kB / 0.5413 GB, free: 79.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.5517, allocations: 44.31 kB / 0.5414 GB, free: 79.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.5518, allocations: 46.83 kB / 0.5414 GB, free: 79.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.5519, allocations: 56.73 kB / 0.5415 GB, free: 79.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5519, allocations: 0 / 0.5415 GB, free: 79.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002948/0.5522, allocations: 172.6 kB / 0.5416 GB, free: 79.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5523, allocations: 7.062 kB / 0.5417 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5523, allocations: 1.094 kB / 0.5417 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5523, allocations: 1.344 kB / 0.5417 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.5527, allocations: 107.1 kB / 0.5418 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5528, allocations: 0 / 0.5418 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.5528, allocations: 16.66 kB / 0.5418 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.5529, allocations: 7.188 kB / 0.5418 GB, free: 79.5 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 (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 0.0001066/0.553, allocations: 136.1 kB / 0.5419 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.553, allocations: 9.281 kB / 0.5419 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.5531, allocations: 23.81 kB / 0.5419 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5531, allocations: 7.625 kB / 0.5419 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5531, allocations: 0 / 0.5419 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5531, allocations: 0 / 0.5419 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.5534, allocations: 272.7 kB / 0.5422 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5534, allocations: 0 / 0.5422 GB, free: 79.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/0.5538, allocations: 104.7 kB / 0.5423 GB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5538, allocations: 1.375 kB / 0.5423 GB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.5538, allocations: 8.75 kB / 0.5423 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5538, allocations: 1.375 kB / 0.5423 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5538, allocations: 0 / 0.5423 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.5541, allocations: 268.9 kB / 0.5426 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.5542, allocations: 92.98 kB / 0.5427 GB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.5542, allocations: 9.062 kB / 0.5427 GB, free: 78.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.5543, allocations: 15.38 kB / 0.5427 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.5544, allocations: 26.28 kB / 0.5427 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.5544, allocations: 4.125 kB / 0.5427 GB, free: 78.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.542e-05/0.5544, allocations: 82.78 kB / 0.5428 GB, free: 78.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5544, allocations: 0 / 0.5428 GB, free: 78.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.5547, allocations: 47.16 kB / 0.5428 GB, free: 78.74 MB / 378.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 () * Number of clocked 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.22e-05/0.5548, allocations: 94.72 kB / 0.5429 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.5551, allocations: 139.1 kB / 0.5431 GB, free: 78.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5551, allocations: 0 / 0.5431 GB, free: 78.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.5552, allocations: 86.02 kB / 0.5431 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.5554, allocations: 4.781 kB / 0.5432 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.5561, allocations: 0.5975 MB / 0.5437 GB, free: 78.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5564, allocations: 0.7366 MB / 0.5445 GB, free: 77.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.5565, allocations: 20.34 kB / 0.5445 GB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.5565, allocations: 22.86 kB / 0.5445 GB, free: 77.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5565, allocations: 1.469 kB / 0.5445 GB, free: 77.44 MB / 378.7 MB Notification: Performance of Templates: time 0.003251/0.5598, allocations: 0.8086 MB / 0.5453 GB, free: 77.05 MB / 378.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)