Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.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) 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(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001775/0.001775, allocations: 156.1 kB / 7.633 MB, free: 1.445 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.263/1.263, allocations: 170.6 MB / 178.7 MB, free: 7.047 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.001646/0.001646, allocations: 97.67 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.489e-05, allocations: 0 / 262.2 MB, free: 3.078 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1965, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07817/0.2747, allocations: 67.52 MB / 368.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.275, allocations: 63.97 kB / 368.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02224/0.2973, allocations: 7.407 MB / 376 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2974, allocations: 3.938 kB / 376 MB, free: 4.734 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.2974, allocations: 8 kB / 376 MB, free: 4.727 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000898/0.2983, allocations: 0.7845 MB / 376.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2983, allocations: 8.031 kB / 376.8 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2985, allocations: 35.62 kB / 376.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.2988, allocations: 282.4 kB / 377.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2989, allocations: 8 kB / 377.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.2989, allocations: 12.84 kB / 377.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/0.2991, allocations: 124.1 kB / 377.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.2995, allocations: 265.8 kB / 377.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2995, allocations: 0 / 377.5 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2996, allocations: 4 kB / 377.5 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.2996, allocations: 4 kB / 377.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.3005, allocations: 0.9706 MB / 378.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.3007, allocations: 218.4 kB / 378.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.3009, allocations: 151.5 kB / 378.8 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.301, allocations: 5.5 kB / 378.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.3014, allocations: 0.5083 MB / 379.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/0.3014, allocations: 0 / 379.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008314/0.3023, allocations: 0.4954 MB / 379.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002332/0.3025, allocations: 0.4948 MB / 380.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.3028, allocations: 246.2 kB / 380.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.3028, allocations: 41.69 kB / 380.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.303, allocations: 144.8 kB / 380.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.303, allocations: 71.16 kB / 380.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.3031, allocations: 4 kB / 380.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3032, allocations: 347.3 kB / 381.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.3035, allocations: 128.4 kB / 381.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.3037, allocations: 224.8 kB / 381.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.3041, allocations: 161.1 kB / 381.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3041, allocations: 4 kB / 381.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009041/0.305, allocations: 0.5463 MB / 382.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.3052, allocations: 295.1 kB / 382.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3052, allocations: 7.938 kB / 382.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3053, allocations: 4 kB / 382.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.3054, allocations: 15.94 kB / 382.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3054, allocations: 8.156 kB / 382.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3056, allocations: 34.03 kB / 382.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.3056, allocations: 25.88 kB / 382.6 MB, free: 13.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index,$whenCondition8,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,$whenCondition7,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 10 * 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.0003084/0.306, allocations: 340.5 kB / 382.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.306, allocations: 43.62 kB / 383 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.3061, allocations: 25.95 kB / 383 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3061, allocations: 4 kB / 383 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3061, allocations: 0 / 383 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3061, allocations: 0 / 383 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007538/0.3069, allocations: 0.6315 MB / 383.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.3069, allocations: 0 / 383.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.3069, allocations: 7.984 kB / 383.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.307, allocations: 7.938 kB / 383.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.307, allocations: 16 kB / 383.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.307, allocations: 7.984 kB / 383.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.307, allocations: 0 / 383.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3084, allocations: 0.7096 MB / 384.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.3085, allocations: 108.6 kB / 384.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.3086, allocations: 29.55 kB / 384.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3089, allocations: 25.77 kB / 384.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3091, allocations: 27.97 kB / 384.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.337e-05/0.3092, allocations: 23.98 kB / 384.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.3094, allocations: 194 kB / 384.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3094, allocations: 0 / 384.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008887/0.3103, allocations: 155.9 kB / 384.9 MB, free: 11.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,start.reset[1],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],$whenCondition7,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 29 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition7,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition4,$whenCondition6,stop.on,$whenCondition5,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition3,start.on,$whenCondition2,start.pre_reset[1],start.reset[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 3 * 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.0008119/0.3112, allocations: 235.5 kB / 385.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.3124, allocations: 0.9044 MB / 386.1 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3124, allocations: 4.062 kB / 386.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.3131, allocations: 0.5705 MB / 386.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3134, allocations: 20 kB / 386.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3147, allocations: 492.5 kB / 387.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.3151, allocations: 0.7836 MB / 387.9 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.924e-05/0.3152, allocations: 17.84 kB / 387.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.3153, allocations: 19.44 kB / 387.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3153, allocations: 1.406 kB / 387.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of Templates: time 0.01187/0.3272, allocations: 3.939 MB / 391.9 MB, free: 3.848 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.Interaction1.pipe 2>&1)