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.002109/0.002109, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002533/0.002533, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.575/1.575, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.00128/0.00128, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2473, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003592/0.251, allocations: 2.512 MB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.2542, allocations: 1.706 MB / 329.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.2544, allocations: 8.281 kB / 329.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.2557, allocations: 0.5291 MB / 330.1 MB, free: 14.23 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007861/0.2565, allocations: 426.6 kB / 330.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.2581, allocations: 0.6264 MB / 331.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00098/0.2591, allocations: 0.786 MB / 331.9 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.2593, allocations: 111.3 kB / 332 MB, free: 13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.2598, allocations: 328.9 kB / 332.3 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.2602, allocations: 352.9 kB / 332.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.114e-05/0.2603, allocations: 40 kB / 332.7 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.2607, allocations: 211.7 kB / 332.9 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.2609, allocations: 207.3 kB / 333.1 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.2612, allocations: 290.2 kB / 333.4 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008176/0.262, allocations: 0.8424 MB / 334.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2621, allocations: 8 kB / 334.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2621, allocations: 0 / 334.2 MB, free: 10.96 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2621, allocations: 0 / 334.2 MB, free: 10.96 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.001739/0.2638, allocations: 1.191 MB / 335.4 MB, free: 9.664 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2639, allocations: 8.031 kB / 335.4 MB, free: 9.656 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.264, allocations: 76 kB / 335.5 MB, free: 9.582 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.2647, allocations: 0.582 MB / 336.1 MB, free: 8.957 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2648, allocations: 20.38 kB / 336.1 MB, free: 8.938 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.2648, allocations: 36.09 kB / 336.1 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.2654, allocations: 346.7 kB / 336.5 MB, free: 8.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2654, allocations: 4 kB / 336.5 MB, free: 8.516 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2655, allocations: 12 kB / 336.5 MB, free: 8.504 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.2655, allocations: 7.938 kB / 336.5 MB, free: 8.496 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.2659, allocations: 179.8 kB / 336.7 MB, free: 8.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.2674, allocations: 1.341 MB / 338 MB, free: 6.906 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.2681, allocations: 350.8 kB / 338.4 MB, free: 6.527 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.2684, allocations: 187.3 kB / 338.6 MB, free: 6.332 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.2684, allocations: 7.984 kB / 338.6 MB, free: 6.324 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006029/0.2691, allocations: 471 kB / 339 MB, free: 5.809 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.275e-06/0.2691, allocations: 0 / 339 MB, free: 5.809 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001309/0.2704, allocations: 0.732 MB / 339.8 MB, free: 5.051 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.2706, allocations: 452.9 kB / 340.2 MB, free: 4.504 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.2717, allocations: 0.9379 MB / 341.1 MB, free: 3.559 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.2717, allocations: 41.7 kB / 341.2 MB, free: 3.512 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.272, allocations: 312.7 kB / 341.5 MB, free: 3.203 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2721, allocations: 106.7 kB / 341.6 MB, free: 3.098 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2723, allocations: 98.02 kB / 341.7 MB, free: 2.996 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2724, allocations: 326 kB / 342 MB, free: 2.672 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.2727, allocations: 148.9 kB / 342.1 MB, free: 2.523 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.2732, allocations: 354.4 kB / 342.5 MB, free: 2.102 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.2743, allocations: 0.7878 MB / 343.3 MB, free: 1.203 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2744, allocations: 0 / 343.3 MB, free: 1.203 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001053/0.2754, allocations: 0.6655 MB / 343.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.2755, allocations: 105 kB / 344 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2755, allocations: 4 kB / 344 MB, free: 396 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2755, allocations: 7.938 kB / 344.1 MB, free: 388 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.2758, allocations: 68.17 kB / 344.1 MB, free: 320 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2758, allocations: 11.94 kB / 344.1 MB, free: 308 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.2761, allocations: 51.67 kB / 344.2 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.2761, allocations: 20.19 kB / 344.2 MB, free: 236 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.0004326/0.2766, allocations: 402.8 kB / 344.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2767, allocations: 87 kB / 344.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.2768, allocations: 74.22 kB / 344.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2768, allocations: 4 kB / 344.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.2769, allocations: 0 / 344.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2769, allocations: 3.984 kB / 344.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2781, allocations: 0.9661 MB / 345.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2781, allocations: 0 / 345.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-05/0.2782, allocations: 23.94 kB / 345.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2782, allocations: 7.984 kB / 345.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.2783, allocations: 15.94 kB / 345.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2783, allocations: 4 kB / 345.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2783, allocations: 3.984 kB / 345.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.2793, allocations: 0.7674 MB / 346.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2795, allocations: 156.1 kB / 346.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2796, allocations: 27.92 kB / 346.7 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.2798, allocations: 19.98 kB / 346.7 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2799, allocations: 39.95 kB / 346.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.28, allocations: 20 kB / 346.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00076/0.2808, allocations: 0.6747 MB / 347.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2808, allocations: 0 / 347.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005561/0.2813, allocations: 155.8 kB / 347.6 MB, free: 12.63 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.001116/0.2824, allocations: 0.4892 MB / 348.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009739/0.2834, allocations: 0.6306 MB / 348.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2834, allocations: 4 kB / 348.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.284, allocations: 441.9 kB / 349.2 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/0.2848, allocations: 172.2 kB / 349.4 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.2864, allocations: 1.191 MB / 350.5 MB, free: 9.605 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.287, allocations: 0.9367 MB / 351.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002748/0.2873, allocations: 113.1 kB / 351.6 MB, free: 8.531 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.2874, allocations: 63.42 kB / 351.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2874, allocations: 0 / 351.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of Templates: time 0.01651/0.3039, allocations: 9.323 MB / 361 MB, free: 15.12 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)