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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009959/0.0009961, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009333/0.009333, allocations: 172.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 222.5 MB, free: 5.566 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008805/0.0008804, allocations: 11.98 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3612, allocations: 47.59 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002676/0.3639, allocations: 2.186 MB / 329.2 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.3673, allocations: 1.684 MB / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003541/0.3677, allocations: 7.906 kB / 330.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.3692, allocations: 0.5054 MB / 331.4 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008682/0.3701, allocations: 393.1 kB / 331.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.3719, allocations: 0.5754 MB / 332.4 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.3731, allocations: 0.7573 MB / 333.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.3735, allocations: 95.92 kB / 333.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.374, allocations: 281.7 kB / 333.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.3745, allocations: 333.7 kB / 333.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.3745, allocations: 12 kB / 333.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.375, allocations: 179.8 kB / 334 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.3753, allocations: 187.3 kB / 334.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003283/0.3756, allocations: 291.9 kB / 334.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009861/0.3766, allocations: 0.7954 MB / 335.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3766, allocations: 4 kB / 335.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3766, allocations: 4 kB / 335.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3767, allocations: 0 / 335.3 MB, free: 11.11 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001899/0.3786, allocations: 1.067 MB / 336.3 MB, free: 9.938 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3786, allocations: 8.031 kB / 336.3 MB, free: 9.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.3788, allocations: 80 kB / 336.4 MB, free: 9.852 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/0.3796, allocations: 0.5858 MB / 337 MB, free: 9.223 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.3797, allocations: 20.38 kB / 337 MB, free: 9.203 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.3798, allocations: 28.11 kB / 337.1 MB, free: 9.176 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.3805, allocations: 362.7 kB / 337.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3805, allocations: 0 / 337.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.3805, allocations: 8 kB / 337.4 MB, free: 8.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.3806, allocations: 12 kB / 337.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.381, allocations: 175.8 kB / 337.6 MB, free: 8.586 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.3828, allocations: 1.337 MB / 338.9 MB, free: 7.176 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.3835, allocations: 350.8 kB / 339.3 MB, free: 6.797 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.3838, allocations: 179.3 kB / 339.5 MB, free: 6.609 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.3839, allocations: 12 kB / 339.5 MB, free: 6.598 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007476/0.3846, allocations: 467 kB / 339.9 MB, free: 6.086 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.3847, allocations: 0 / 339.9 MB, free: 6.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001421/0.3861, allocations: 0.7516 MB / 340.7 MB, free: 5.309 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003241/0.3864, allocations: 452.9 kB / 341.1 MB, free: 4.762 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.3877, allocations: 0.938 MB / 342.1 MB, free: 3.816 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/0.3878, allocations: 41.7 kB / 342.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.3882, allocations: 312.7 kB / 342.4 MB, free: 3.461 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.3883, allocations: 102.7 kB / 342.5 MB, free: 3.359 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3884, allocations: 53.69 kB / 342.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3886, allocations: 326 kB / 342.9 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.389, allocations: 148.9 kB / 343 MB, free: 2.828 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.3894, allocations: 362.3 kB / 343.4 MB, free: 2.398 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3907, allocations: 0.7874 MB / 344.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3907, allocations: 4 kB / 344.2 MB, free: 1.496 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001082/0.3918, allocations: 0.6613 MB / 344.8 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.003e-05/0.3919, allocations: 101 kB / 344.9 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3919, allocations: 4 kB / 344.9 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.392, allocations: 4 kB / 344.9 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.3922, allocations: 72.56 kB / 345 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.3923, allocations: 4 kB / 345 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3926, allocations: 55.61 kB / 345.1 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.3926, allocations: 28 kB / 345.1 MB, free: 0.5273 MB / 270.1 MB Warning: Assuming fixed start value for the following 2 variables: stop.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition9,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition2,stop.on,$PRE.stop.on,start.reset[1],stop.reset[1],start.on,$PRE.start.on,$PRE.stop.table.y,$PRE.stop.reset[1],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$whenCondition5,$whenCondition4,$PRE.start.table.y,$PRE.start.reset[1],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$whenCondition7,$whenCondition6,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005374/0.3932, allocations: 402.9 kB / 345.5 MB, free: 112 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3933, allocations: 83 kB / 345.6 MB, free: 28 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.3935, allocations: 78.2 kB / 345.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3935, allocations: 7.938 kB / 345.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3935, allocations: 0 / 345.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3935, allocations: 0 / 345.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.3948, allocations: 0.9659 MB / 346.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3948, allocations: 0 / 346.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.3949, allocations: 19.98 kB / 346.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.395, allocations: 4.141 kB / 346.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.395, allocations: 23.92 kB / 346.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.395, allocations: 4 kB / 346.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.395, allocations: 3.984 kB / 346.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3961, allocations: 0.7711 MB / 347.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3963, allocations: 168.1 kB / 347.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3964, allocations: 27.92 kB / 347.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3966, allocations: 27.98 kB / 347.7 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3968, allocations: 39.94 kB / 347.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.3968, allocations: 23.98 kB / 347.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008127/0.3976, allocations: 0.6708 MB / 348.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.3977, allocations: 0 / 348.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005782/0.3982, allocations: 155.8 kB / 348.5 MB, free: 12.91 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/0.3994, allocations: 496.5 kB / 349 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4005, allocations: 0.6113 MB / 349.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4005, allocations: 0 / 349.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.401, allocations: 437.9 kB / 350.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/0.402, allocations: 176.2 kB / 350.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.4039, allocations: 1.333 MB / 351.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.4046, allocations: 0.9371 MB / 352.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.4049, allocations: 104.8 kB / 352.6 MB, free: 8.699 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.4051, allocations: 51.42 kB / 352.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4051, allocations: 0 / 352.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of Templates: time 0.01645/0.4215, allocations: 8.774 MB / 361.4 MB, free: 15.86 MB / 302.1 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)