Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001975/0.001975, 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.00214/0.00214, allocations: 198.5 kB / 16.25 MB, free: 6.621 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.549/1.549, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.0012/0.0012, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2748, allocations: 46.63 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003189/0.278, allocations: 2.551 MB / 327.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.2807, allocations: 1.689 MB / 329.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.281, allocations: 8.312 kB / 329.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.2821, allocations: 0.5097 MB / 329.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006993/0.2828, allocations: 398.6 kB / 330 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.2843, allocations: 0.591 MB / 330.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009092/0.2852, allocations: 0.7836 MB / 331.4 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.2854, allocations: 107.7 kB / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.2859, allocations: 333.1 kB / 331.8 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.2863, allocations: 374.8 kB / 332.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.2864, allocations: 47.94 kB / 332.2 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.2867, allocations: 207.8 kB / 332.4 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.287, allocations: 215.3 kB / 332.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002508/0.2872, allocations: 294.2 kB / 332.9 MB, free: 12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009285/0.2882, allocations: 0.8424 MB / 333.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2882, allocations: 4 kB / 333.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2882, allocations: 0 / 333.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.2882, allocations: 0 / 333.7 MB, free: 11.16 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.001651/0.2899, allocations: 1.199 MB / 334.9 MB, free: 9.855 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2899, allocations: 8.031 kB / 335 MB, free: 9.848 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.2901, allocations: 76 kB / 335 MB, free: 9.773 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.2912, allocations: 0.5781 MB / 335.6 MB, free: 9.152 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.2912, allocations: 20.38 kB / 335.6 MB, free: 9.133 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.2913, allocations: 24.12 kB / 335.7 MB, free: 9.109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008621/0.2922, allocations: 354.7 kB / 336 MB, free: 8.719 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2922, allocations: 4 kB / 336 MB, free: 8.715 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.2923, allocations: 8 kB / 336 MB, free: 8.707 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.2923, allocations: 7.938 kB / 336 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.2929, allocations: 187.8 kB / 336.2 MB, free: 8.516 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.2945, allocations: 1.337 MB / 337.5 MB, free: 7.105 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.2952, allocations: 354.8 kB / 337.9 MB, free: 6.723 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.2955, allocations: 171.4 kB / 338.1 MB, free: 6.543 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.2956, allocations: 4 kB / 338.1 MB, free: 6.539 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006162/0.2962, allocations: 467.2 kB / 338.5 MB, free: 6.027 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.2962, allocations: 3.938 kB / 338.5 MB, free: 6.023 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001289/0.2975, allocations: 0.7398 MB / 339.3 MB, free: 5.258 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.2977, allocations: 456.9 kB / 339.7 MB, free: 4.707 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.2988, allocations: 0.9378 MB / 340.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.2988, allocations: 41.7 kB / 340.7 MB, free: 3.715 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.2991, allocations: 312.8 kB / 341 MB, free: 3.406 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.2991, allocations: 98.7 kB / 341.1 MB, free: 3.309 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.2993, allocations: 102 kB / 341.2 MB, free: 3.203 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2994, allocations: 330 kB / 341.5 MB, free: 2.875 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.2997, allocations: 148.9 kB / 341.6 MB, free: 2.727 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.3001, allocations: 354.4 kB / 342 MB, free: 2.305 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3013, allocations: 0.7917 MB / 342.8 MB, free: 1.402 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3013, allocations: 0 / 342.8 MB, free: 1.402 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001057/0.3024, allocations: 0.6694 MB / 343.5 MB, free: 0.707 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/0.3025, allocations: 105.2 kB / 343.6 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3025, allocations: 4 kB / 343.6 MB, free: 0.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3025, allocations: 4 kB / 343.6 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.3028, allocations: 71.83 kB / 343.6 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3028, allocations: 7.938 kB / 343.6 MB, free: 0.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.3031, allocations: 47.67 kB / 343.7 MB, free: 464 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.3031, allocations: 20 kB / 343.7 MB, free: 444 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.0004991/0.3036, allocations: 402.9 kB / 344.1 MB, free: 16 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3037, allocations: 87.33 kB / 344.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.3039, allocations: 70.22 kB / 344.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3039, allocations: 4 kB / 344.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3039, allocations: 0 / 344.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3039, allocations: 7.984 kB / 344.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.3052, allocations: 0.962 MB / 345.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3052, allocations: 0 / 345.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.3053, allocations: 27.94 kB / 345.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3053, allocations: 3.984 kB / 345.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.3054, allocations: 15.94 kB / 345.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3054, allocations: 4 kB / 345.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3054, allocations: 3.984 kB / 345.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3065, allocations: 0.775 MB / 346.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3066, allocations: 152.1 kB / 346.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3068, allocations: 31.92 kB / 346.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.307, allocations: 23.98 kB / 346.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.3071, allocations: 39.95 kB / 346.3 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/0.3072, allocations: 16 kB / 346.3 MB, free: 13.65 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009735/0.3082, allocations: 0.6708 MB / 347 MB, free: 12.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3082, allocations: 0 / 347 MB, free: 12.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005849/0.3088, allocations: 159.8 kB / 347.1 MB, free: 12.83 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.001254/0.31, allocations: 0.4901 MB / 347.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.3113, allocations: 0.6269 MB / 348.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3113, allocations: 0 / 348.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007307/0.3121, allocations: 454.4 kB / 348.7 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.313, allocations: 179.6 kB / 348.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.315, allocations: 1.338 MB / 350.2 MB, free: 9.641 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/0.3159, allocations: 0.9371 MB / 351.2 MB, free: 8.676 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.3162, allocations: 105.1 kB / 351.3 MB, free: 8.574 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3163, allocations: 59.42 kB / 351.3 MB, free: 8.516 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3163, allocations: 3.938 kB / 351.3 MB, free: 8.512 MB / 286.1 MB Notification: Performance of Templates: time 0.01689/0.3332, allocations: 9.198 MB / 360.5 MB, free: 15.3 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.Interaction1.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.1_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.Interaction1.pipe 2>&1)