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.001255/0.001255, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00203/0.00203, allocations: 194.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001507/0.001507, allocations: 55.91 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3486, allocations: 46.62 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003528/0.3522, allocations: 2.552 MB / 327.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.3551, allocations: 1.684 MB / 329.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.3553, allocations: 11.44 kB / 329.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.3565, allocations: 0.5181 MB / 329.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.3572, allocations: 398.3 kB / 330 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3589, allocations: 0.5789 MB / 330.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009411/0.3598, allocations: 0.7921 MB / 331.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.36, allocations: 111.4 kB / 331.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.3604, allocations: 340.6 kB / 331.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.3608, allocations: 367.6 kB / 332.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.3609, allocations: 42.59 kB / 332.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.3613, allocations: 207.8 kB / 332.4 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3615, allocations: 211.3 kB / 332.6 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.3618, allocations: 302.2 kB / 332.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.3626, allocations: 0.8307 MB / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3626, allocations: 0 / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3627, allocations: 4 kB / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3627, allocations: 0 / 333.7 MB, free: 11.18 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.001607/0.3643, allocations: 1.195 MB / 334.9 MB, free: 9.883 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3643, allocations: 12.02 kB / 334.9 MB, free: 9.871 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3645, allocations: 80 kB / 335 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.3652, allocations: 0.5703 MB / 335.6 MB, free: 9.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.3653, allocations: 28.3 kB / 335.6 MB, free: 9.152 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.3653, allocations: 32.11 kB / 335.7 MB, free: 9.121 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.3659, allocations: 350.8 kB / 336 MB, free: 8.734 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3659, allocations: 0 / 336 MB, free: 8.734 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.366, allocations: 11.94 kB / 336 MB, free: 8.723 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.366, allocations: 15.98 kB / 336 MB, free: 8.707 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.3664, allocations: 175.8 kB / 336.2 MB, free: 8.535 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3679, allocations: 1.341 MB / 337.5 MB, free: 7.121 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.3686, allocations: 358.7 kB / 337.9 MB, free: 6.734 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.3689, allocations: 179.3 kB / 338.1 MB, free: 6.547 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3689, allocations: 4 kB / 338.1 MB, free: 6.543 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005924/0.3695, allocations: 467.2 kB / 338.5 MB, free: 6.031 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.395e-06/0.3695, allocations: 4 kB / 338.5 MB, free: 6.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001391/0.3709, allocations: 0.7242 MB / 339.2 MB, free: 5.277 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002423/0.3712, allocations: 464.9 kB / 339.7 MB, free: 4.719 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.3723, allocations: 0.9301 MB / 340.6 MB, free: 3.781 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.3724, allocations: 45.69 kB / 340.7 MB, free: 3.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3727, allocations: 308.8 kB / 341 MB, free: 3.426 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.3728, allocations: 106.7 kB / 341.1 MB, free: 3.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.373, allocations: 102 kB / 341.2 MB, free: 3.215 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3731, allocations: 322 kB / 341.5 MB, free: 2.895 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.3734, allocations: 156.8 kB / 341.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.3739, allocations: 362.4 kB / 342 MB, free: 2.309 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3752, allocations: 0.7801 MB / 342.8 MB, free: 1.418 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.3752, allocations: 0 / 342.8 MB, free: 1.418 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001088/0.3763, allocations: 0.6691 MB / 343.5 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.3764, allocations: 105 kB / 343.6 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3764, allocations: 4 kB / 343.6 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.3765, allocations: 8 kB / 343.6 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.3767, allocations: 60.19 kB / 343.6 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.3768, allocations: 15.94 kB / 343.6 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.3771, allocations: 47.67 kB / 343.7 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.3771, allocations: 19.98 kB / 343.7 MB, free: 460 kB / 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.0005747/0.3777, allocations: 403.2 kB / 344.1 MB, free: 32 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.3779, allocations: 87.05 kB / 344.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.378, allocations: 82.09 kB / 344.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.378, allocations: 4 kB / 344.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3781, allocations: 4 kB / 344.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3781, allocations: 0 / 344.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.3794, allocations: 0.9504 MB / 345.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3794, allocations: 0 / 345.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3795, allocations: 35.92 kB / 345.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3796, allocations: 0 / 345.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.3796, allocations: 27.91 kB / 345.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3796, allocations: 0 / 345.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3796, allocations: 0 / 345.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.3809, allocations: 0.775 MB / 346.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.381, allocations: 152.1 kB / 346.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3812, allocations: 27.92 kB / 346.2 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3814, allocations: 19.98 kB / 346.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3815, allocations: 39.95 kB / 346.3 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.3816, allocations: 23.98 kB / 346.3 MB, free: 13.67 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007679/0.3823, allocations: 0.6669 MB / 347 MB, free: 13 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3824, allocations: 4 kB / 347 MB, free: 13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.3829, allocations: 159.8 kB / 347.1 MB, free: 12.84 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.00114/0.3841, allocations: 0.4893 MB / 347.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009052/0.385, allocations: 0.635 MB / 348.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.385, allocations: 3.938 kB / 348.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.3855, allocations: 430.1 kB / 348.7 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008511/0.3864, allocations: 187.7 kB / 348.9 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3881, allocations: 1.343 MB / 350.2 MB, free: 9.656 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.3887, allocations: 0.9289 MB / 351.1 MB, free: 8.699 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002974/0.389, allocations: 104.8 kB / 351.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3891, allocations: 63.42 kB / 351.3 MB, free: 8.535 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3891, allocations: 0 / 351.3 MB, free: 8.535 MB / 286.1 MB Notification: Performance of Templates: time 0.01574/0.4049, allocations: 9.21 MB / 360.5 MB, free: 15.31 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)