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.008444/0.008444, allocations: 165.7 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.395/1.395, allocations: 170.8 MB / 186.6 MB, free: 1.148 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.001624/0.001624, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 12 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 38.76 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08887/0.3541, allocations: 68.27 MB / 381.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.3544, allocations: 67.97 kB / 381.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02173/0.3761, allocations: 7.477 MB / 388.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.559e-06/0.3762, allocations: 0 / 388.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.3762, allocations: 11.92 kB / 388.7 MB, free: 14.71 MB / 298.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.001082/0.3773, allocations: 0.8238 MB / 389.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3773, allocations: 8.031 kB / 389.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.727e-05/0.3774, allocations: 35.72 kB / 389.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3779, allocations: 274.5 kB / 389.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.3779, allocations: 16.14 kB / 389.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.378, allocations: 16 kB / 389.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.3785, allocations: 276.3 kB / 390.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3785, allocations: 7.938 kB / 390.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3785, allocations: 19.86 kB / 390.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.3786, allocations: 4 kB / 390.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.3788, allocations: 143.9 kB / 390.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.3798, allocations: 1.001 MB / 391.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.3801, allocations: 242 kB / 391.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3801, allocations: 0 / 391.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006171/0.3808, allocations: 0.5273 MB / 392.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.313e-06/0.3808, allocations: 0 / 392.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001537/0.3823, allocations: 1.309 MB / 393.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002473/0.3826, allocations: 498.6 kB / 393.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.3829, allocations: 261.8 kB / 394.1 MB, free: 8.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.3829, allocations: 49.69 kB / 394.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.383, allocations: 145 kB / 394.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.3831, allocations: 83.08 kB / 394.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.3831, allocations: 4 kB / 394.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3833, allocations: 350.8 kB / 394.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.3835, allocations: 136.4 kB / 394.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.3838, allocations: 248.2 kB / 395.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.3842, allocations: 433 kB / 395.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.3842, allocations: 4 kB / 395.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009957/0.3852, allocations: 0.8493 MB / 396.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.3854, allocations: 293 kB / 396.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3854, allocations: 4 kB / 396.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3854, allocations: 4 kB / 396.7 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.3855, allocations: 19.94 kB / 396.7 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3855, allocations: 7.938 kB / 396.7 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.3857, allocations: 35.78 kB / 396.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.3857, allocations: 28.16 kB / 396.8 MB, free: 5.758 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 () * Number of clocked 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.0003271/0.3861, allocations: 400.3 kB / 397.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.3861, allocations: 39.62 kB / 397.2 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.3862, allocations: 30.17 kB / 397.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3862, allocations: 0 / 397.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3862, allocations: 4 kB / 397.2 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3862, allocations: 4 kB / 397.2 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.3871, allocations: 0.8017 MB / 398 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3871, allocations: 0 / 398 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.3871, allocations: 11.98 kB / 398.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3871, allocations: 0 / 398.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.3872, allocations: 16 kB / 398.1 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3872, allocations: 4 kB / 398.1 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3872, allocations: 0 / 398.1 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3884, allocations: 0.9266 MB / 399 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/0.3885, allocations: 112.6 kB / 399.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.3886, allocations: 35.94 kB / 399.1 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3888, allocations: 23.98 kB / 399.2 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3889, allocations: 23.97 kB / 399.2 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.389, allocations: 27.97 kB / 399.2 MB, free: 3.086 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.3892, allocations: 205.9 kB / 399.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.3892, allocations: 0 / 399.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007306/0.39, allocations: 155.9 kB / 399.6 MB, free: 2.734 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]) * Number of clocked states: 0 () * 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.0004952/0.3905, allocations: 251.5 kB / 399.8 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000863/0.3913, allocations: 0.9392 MB / 400.8 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.3913, allocations: 4 kB / 400.8 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.3919, allocations: 0.5832 MB / 401.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3922, allocations: 31.62 kB / 401.4 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3934, allocations: 0.6508 MB / 402 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.3939, allocations: 0.7758 MB / 402.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.394, allocations: 21.53 kB / 402.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.394, allocations: 19.44 kB / 402.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.394, allocations: 0 / 402.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Templates: time 0.008971/0.403, allocations: 4.043 MB / 406.9 MB, free: 11.17 MB / 314.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)