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.0007127/0.0007127, allocations: 98.03 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.006616/0.006616, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.52/1.52, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004432/0.0004433, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2861, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.00264/0.2888, allocations: 2.185 MB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.2918, allocations: 1.687 MB / 330.9 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.292, allocations: 12 kB / 330.9 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.2932, allocations: 0.5053 MB / 331.4 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007057/0.2939, allocations: 389.6 kB / 331.8 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.2955, allocations: 0.5746 MB / 332.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.2966, allocations: 0.761 MB / 333.1 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.2968, allocations: 100.2 kB / 333.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.2972, allocations: 281.9 kB / 333.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.2976, allocations: 330.6 kB / 333.8 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.2976, allocations: 12 kB / 333.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.298, allocations: 179.8 kB / 334 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.2982, allocations: 183.3 kB / 334.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.2985, allocations: 299.9 kB / 334.5 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007345/0.2992, allocations: 0.7915 MB / 335.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2993, allocations: 0 / 335.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2993, allocations: 0 / 335.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2993, allocations: 4 kB / 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.001606/0.3009, allocations: 1.071 MB / 336.3 MB, free: 9.938 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.301, allocations: 8.031 kB / 336.4 MB, free: 9.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.3011, allocations: 76 kB / 336.4 MB, free: 9.855 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.302, allocations: 0.5897 MB / 337 MB, free: 9.223 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.3021, allocations: 16.38 kB / 337 MB, free: 9.207 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.3021, allocations: 32.06 kB / 337.1 MB, free: 9.176 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.3028, allocations: 358.7 kB / 337.4 MB, free: 8.781 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3028, allocations: 4 kB / 337.4 MB, free: 8.777 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.3028, allocations: 8 kB / 337.4 MB, free: 8.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.3029, allocations: 4 kB / 337.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.3032, allocations: 179.8 kB / 337.6 MB, free: 8.59 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.3048, allocations: 1.337 MB / 338.9 MB, free: 7.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.3055, allocations: 350.8 kB / 339.3 MB, free: 6.801 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.3058, allocations: 183.3 kB / 339.5 MB, free: 6.609 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.3059, allocations: 11.94 kB / 339.5 MB, free: 6.598 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000626/0.3065, allocations: 471.1 kB / 339.9 MB, free: 6.082 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.3065, allocations: 0 / 339.9 MB, free: 6.082 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001328/0.3079, allocations: 0.7397 MB / 340.7 MB, free: 5.316 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002384/0.3081, allocations: 460.9 kB / 341.1 MB, free: 4.762 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.3093, allocations: 0.9341 MB / 342.1 MB, free: 3.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.3094, allocations: 45.7 kB / 342.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.3097, allocations: 312.6 kB / 342.4 MB, free: 3.461 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.134e-05/0.3098, allocations: 106.7 kB / 342.5 MB, free: 3.355 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.3098, allocations: 53.69 kB / 342.6 MB, free: 3.297 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.31, allocations: 326 kB / 342.9 MB, free: 2.973 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3103, allocations: 148.9 kB / 343 MB, free: 2.824 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.3107, allocations: 362.4 kB / 343.4 MB, free: 2.395 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.3119, allocations: 0.7756 MB / 344.2 MB, free: 1.508 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3119, allocations: 8 kB / 344.2 MB, free: 1.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001044/0.313, allocations: 0.6618 MB / 344.8 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/0.3131, allocations: 105 kB / 344.9 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3131, allocations: 128 / 344.9 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3131, allocations: 12 kB / 344.9 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3134, allocations: 64.19 kB / 345 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.3134, allocations: 15.88 kB / 345 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.3137, allocations: 47.95 kB / 345.1 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.3138, allocations: 20 kB / 345.1 MB, free: 0.5352 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.0004783/0.3143, allocations: 406.6 kB / 345.5 MB, free: 116 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3144, allocations: 83.19 kB / 345.6 MB, free: 32 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.3145, allocations: 78.19 kB / 345.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3145, allocations: 4 kB / 345.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.3146, allocations: 4 kB / 345.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.3146, allocations: 0 / 345.6 MB, free: 15.94 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.3158, allocations: 0.9582 MB / 346.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.3158, allocations: 8 kB / 346.6 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.3159, allocations: 27.92 kB / 346.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3159, allocations: 4 kB / 346.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.316, allocations: 19.92 kB / 346.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.316, allocations: 0 / 346.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.316, allocations: 4 kB / 346.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.317, allocations: 0.7711 MB / 347.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.3172, allocations: 168.1 kB / 347.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3173, allocations: 27.92 kB / 347.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.3175, allocations: 23.98 kB / 347.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3177, allocations: 43.94 kB / 347.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3177, allocations: 23.98 kB / 347.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007723/0.3185, allocations: 0.6669 MB / 348.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3185, allocations: 0 / 348.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005648/0.3191, 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.001228/0.3203, allocations: 0.4926 MB / 349 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008939/0.3212, allocations: 0.6074 MB / 349.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3212, allocations: 0 / 349.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.3217, allocations: 434 kB / 350.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.3226, allocations: 180.4 kB / 350.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3245, allocations: 1.333 MB / 351.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.325, allocations: 0.9293 MB / 352.5 MB, free: 8.812 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000285/0.3253, allocations: 112.7 kB / 352.6 MB, free: 8.703 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3255, allocations: 55.42 kB / 352.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3255, allocations: 0 / 352.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of Templates: time 0.01635/0.3418, allocations: 8.774 MB / 361.4 MB, free: 15.86 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)