Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001087/0.001087, allocations: 95.89 kB / 16.31 MB, free: 5.996 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.001113/0.001113, allocations: 184.6 kB / 17.2 MB, free: 5.91 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.413/1.413, allocations: 205.4 MB / 223.4 MB, free: 5.75 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.0005313/0.0005314, allocations: 16 kB / 280.1 MB, free: 13.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2473, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002592/0.2499, allocations: 2.072 MB / 329.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.2527, allocations: 1.529 MB / 331.3 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.2531, allocations: 6.719 kB / 331.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.2543, allocations: 465.6 kB / 331.8 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008179/0.2552, allocations: 363.6 kB / 332.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.2566, allocations: 0.5192 MB / 332.6 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.2574, allocations: 471.4 kB / 333.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.2576, allocations: 85.81 kB / 333.2 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.2579, allocations: 260.3 kB / 333.4 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.2583, allocations: 291 kB / 333.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.2584, allocations: 11.94 kB / 333.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.2587, allocations: 153.4 kB / 333.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.2589, allocations: 177.1 kB / 334 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.259, allocations: 137.4 kB / 334.2 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.2597, allocations: 0.6293 MB / 334.8 MB, free: 12.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2597, allocations: 0 / 334.8 MB, free: 12.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.2597, allocations: 4 kB / 334.8 MB, free: 12.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2597, allocations: 3.938 kB / 334.8 MB, free: 12.41 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.001698/0.2614, allocations: 1.075 MB / 335.9 MB, free: 11.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.2615, allocations: 8.031 kB / 335.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.2617, allocations: 79.06 kB / 336 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.2626, allocations: 0.5656 MB / 336.5 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.2627, allocations: 20 kB / 336.6 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.2627, allocations: 24 kB / 336.6 MB, free: 10.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.2634, allocations: 354.8 kB / 336.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2634, allocations: 0 / 336.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.2635, allocations: 8 kB / 336.9 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.2635, allocations: 8 kB / 336.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.2639, allocations: 175.8 kB / 337.1 MB, free: 9.922 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.2655, allocations: 1.345 MB / 338.5 MB, free: 8.504 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.2662, allocations: 354.9 kB / 338.8 MB, free: 8.121 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.2662, allocations: 4 kB / 338.8 MB, free: 8.117 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.2668, allocations: 447.3 kB / 339.3 MB, free: 7.625 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.2668, allocations: 4 kB / 339.3 MB, free: 7.621 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001355/0.2681, allocations: 0.9804 MB / 340.2 MB, free: 6.562 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002274/0.2684, allocations: 456.9 kB / 340.7 MB, free: 6.012 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.2695, allocations: 0.9301 MB / 341.6 MB, free: 5.074 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.2696, allocations: 41.7 kB / 341.7 MB, free: 5.027 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.2698, allocations: 304.7 kB / 342 MB, free: 4.727 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2699, allocations: 114.7 kB / 342.1 MB, free: 4.613 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.27, allocations: 8 kB / 342.1 MB, free: 4.605 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2701, allocations: 326 kB / 342.4 MB, free: 4.281 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.2704, allocations: 148.9 kB / 342.5 MB, free: 4.133 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.2708, allocations: 350.4 kB / 342.9 MB, free: 3.715 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.2712, allocations: 265 kB / 343.1 MB, free: 3.438 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2712, allocations: 4 kB / 343.1 MB, free: 3.434 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001049/0.2723, allocations: 0.6697 MB / 343.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.2723, allocations: 97.09 kB / 343.9 MB, free: 2.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2724, allocations: 8 kB / 343.9 MB, free: 2.617 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.2724, allocations: 4 kB / 343.9 MB, free: 2.613 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.2727, allocations: 67.84 kB / 344 MB, free: 2.547 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2727, allocations: 4.281 kB / 344 MB, free: 2.543 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.273, allocations: 59.66 kB / 344 MB, free: 2.484 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.2731, allocations: 24 kB / 344.1 MB, free: 2.461 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],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004982/0.2736, allocations: 402.8 kB / 344.5 MB, free: 2.043 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2737, allocations: 83.06 kB / 344.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.2738, allocations: 82.2 kB / 344.6 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.2738, allocations: 4 kB / 344.6 MB, free: 1.867 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.2738, allocations: 0 / 344.6 MB, free: 1.867 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2739, allocations: 3.984 kB / 344.6 MB, free: 1.863 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.2751, allocations: 0.9581 MB / 345.6 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2751, allocations: 4 kB / 345.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.2752, allocations: 31.92 kB / 345.6 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.2752, allocations: 0 / 345.6 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.2753, allocations: 19.98 kB / 345.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2753, allocations: 3.938 kB / 345.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2753, allocations: 4 kB / 345.7 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2764, allocations: 0.8038 MB / 346.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.2766, allocations: 168.1 kB / 346.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2767, allocations: 20 kB / 346.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.277, allocations: 39.92 kB / 346.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.2771, allocations: 35.89 kB / 346.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.2771, allocations: 23.98 kB / 346.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007726/0.2779, allocations: 0.663 MB / 347.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2779, allocations: 0 / 347.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006377/0.2786, allocations: 156 kB / 347.6 MB, free: 14.79 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 (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.00112/0.2797, allocations: 0.4966 MB / 348 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009025/0.2806, allocations: 0.6033 MB / 348.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2806, allocations: 4 kB / 348.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.2811, allocations: 438.5 kB / 349.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.2818, allocations: 155.3 kB / 349.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.2836, allocations: 1.262 MB / 350.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.2842, allocations: 0.941 MB / 351.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003288/0.2845, allocations: 113.5 kB / 351.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2846, allocations: 55.42 kB / 351.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2847, allocations: 0 / 351.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of Templates: time 0.0151/0.2998, allocations: 8.508 MB / 360.1 MB, free: 2.082 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) Environment - environmentSimulation: