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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0021/0.0021, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.58/1.58, allocations: 205.1 MB / 222 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.001275/0.001276, allocations: 52.3 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3107, allocations: 46.63 MB / 324.7 MB, free: 2.062 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003416/0.3141, allocations: 2.551 MB / 327.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.3171, allocations: 1.717 MB / 328.9 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.3173, allocations: 7.281 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.3186, allocations: 0.5014 MB / 329.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007275/0.3193, allocations: 398.7 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3208, allocations: 0.5744 MB / 330.4 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000858/0.3217, allocations: 0.7616 MB / 331.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.3219, allocations: 104.7 kB / 331.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.3223, allocations: 280.3 kB / 331.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.3228, allocations: 341 kB / 331.9 MB, free: 13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.3228, allocations: 16.31 kB / 331.9 MB, free: 13 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.3233, allocations: 184.9 kB / 332.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.3236, allocations: 187.4 kB / 332.3 MB, free: 12.67 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.3239, allocations: 278.2 kB / 332.5 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009031/0.3248, allocations: 0.815 MB / 333.3 MB, free: 11.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3248, allocations: 0 / 333.3 MB, free: 11.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3248, allocations: 4 kB / 333.3 MB, free: 11.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3248, allocations: 4 kB / 333.3 MB, free: 11.57 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.001644/0.3265, allocations: 1.195 MB / 334.5 MB, free: 10.28 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3265, allocations: 8.031 kB / 334.5 MB, free: 10.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.3267, allocations: 76 kB / 334.6 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.3275, allocations: 0.5819 MB / 335.2 MB, free: 9.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.3275, allocations: 20.38 kB / 335.2 MB, free: 9.551 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.3276, allocations: 24.12 kB / 335.2 MB, free: 9.527 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.3282, allocations: 346.8 kB / 335.6 MB, free: 9.145 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3282, allocations: 7.938 kB / 335.6 MB, free: 9.137 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.3283, allocations: 19.97 kB / 335.6 MB, free: 9.117 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.3283, allocations: 11.94 kB / 335.6 MB, free: 9.105 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.3287, allocations: 171.8 kB / 335.8 MB, free: 8.938 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.3302, allocations: 1.337 MB / 337.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.3309, allocations: 354.7 kB / 337.5 MB, free: 7.145 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.3312, allocations: 179.3 kB / 337.7 MB, free: 6.957 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.3312, allocations: 16.06 kB / 337.7 MB, free: 6.941 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006447/0.3319, allocations: 467 kB / 338.1 MB, free: 6.43 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.3319, allocations: 4 kB / 338.1 MB, free: 6.426 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001349/0.3333, allocations: 0.7403 MB / 338.9 MB, free: 5.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002738/0.3335, allocations: 452.9 kB / 339.3 MB, free: 5.113 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.3346, allocations: 0.934 MB / 340.2 MB, free: 4.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.3347, allocations: 45.69 kB / 340.3 MB, free: 4.121 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.3349, allocations: 308.8 kB / 340.6 MB, free: 3.816 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3351, allocations: 102.7 kB / 340.7 MB, free: 3.715 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3352, allocations: 102 kB / 340.8 MB, free: 3.609 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3353, allocations: 330 kB / 341.1 MB, free: 3.281 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.3357, allocations: 152.9 kB / 341.3 MB, free: 3.129 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.3361, allocations: 346.9 kB / 341.6 MB, free: 2.715 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.3373, allocations: 0.7873 MB / 342.4 MB, free: 1.816 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3373, allocations: 96 / 342.4 MB, free: 1.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001107/0.3384, allocations: 0.6769 MB / 343.1 MB, free: 1.113 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.3385, allocations: 101 kB / 343.2 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3385, allocations: 4 kB / 343.2 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.3386, allocations: 4 kB / 343.2 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.3388, allocations: 67.84 kB / 343.2 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3388, allocations: 4 kB / 343.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.3391, allocations: 59.89 kB / 343.3 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.3392, allocations: 19.98 kB / 343.3 MB, free: 0.8398 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.0004925/0.3397, allocations: 399 kB / 343.7 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3398, allocations: 86.98 kB / 343.8 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.3399, allocations: 78.2 kB / 343.9 MB, free: 260 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.34, allocations: 8 kB / 343.9 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.34, allocations: 0 / 343.9 MB, free: 252 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.34, allocations: 4 kB / 343.9 MB, free: 248 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.3412, allocations: 0.9542 MB / 344.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3413, allocations: 0 / 344.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.3414, allocations: 27.92 kB / 344.9 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3414, allocations: 4 kB / 344.9 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.3414, allocations: 19.92 kB / 344.9 MB, free: 15.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3414, allocations: 8 kB / 344.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3414, allocations: 0 / 344.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3425, allocations: 0.7711 MB / 345.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3427, allocations: 148.2 kB / 345.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3428, allocations: 31.94 kB / 345.8 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3431, allocations: 19.98 kB / 345.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3432, allocations: 39.89 kB / 345.9 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.3432, allocations: 23.98 kB / 345.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007979/0.344, allocations: 0.6708 MB / 346.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.344, allocations: 0 / 346.6 MB, free: 13.4 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000621/0.3447, allocations: 151.8 kB / 346.7 MB, free: 13.25 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.001206/0.3459, allocations: 0.4934 MB / 347.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.347, allocations: 0.6078 MB / 347.8 MB, free: 12.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.347, allocations: 8.188 kB / 347.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005494/0.3476, allocations: 438 kB / 348.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.3484, allocations: 171.6 kB / 348.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.3504, allocations: 1.339 MB / 349.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.351, allocations: 0.9297 MB / 350.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.3514, allocations: 108.8 kB / 350.8 MB, free: 9.031 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3515, allocations: 55.41 kB / 350.9 MB, free: 8.977 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3515, allocations: 0 / 350.9 MB, free: 8.977 MB / 286.1 MB Notification: Performance of Templates: time 0.0168/0.3683, allocations: 8.856 MB / 359.7 MB, free: 108 kB / 286.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)