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.001036/0.001036, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001338/0.001338, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.000504/0.0005041, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2991, allocations: 47.6 MB / 326.5 MB, free: 1.52 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003007/0.3022, allocations: 2.103 MB / 328.6 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.3051, allocations: 1.591 MB / 330.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.3054, allocations: 11.22 kB / 330.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.3066, allocations: 497.8 kB / 330.7 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000838/0.3075, allocations: 358.5 kB / 331 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.3093, allocations: 0.5196 MB / 331.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3106, allocations: 0.6852 MB / 332.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.3109, allocations: 90.38 kB / 332.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.3118, allocations: 276.2 kB / 332.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.3126, allocations: 310.8 kB / 332.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.3127, allocations: 13.25 kB / 332.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.3133, allocations: 168.1 kB / 333.1 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.3136, allocations: 184.1 kB / 333.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.3139, allocations: 137.3 kB / 333.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009712/0.3148, allocations: 0.6248 MB / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3149, allocations: 0 / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.3149, allocations: 4 kB / 334 MB, free: 12.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.3149, allocations: 0 / 334 MB, free: 12.06 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.002094/0.317, allocations: 1.079 MB / 335.1 MB, free: 10.88 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.3171, allocations: 12.03 kB / 335.1 MB, free: 10.87 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.3173, allocations: 75.06 kB / 335.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.3184, allocations: 0.5656 MB / 335.7 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.3184, allocations: 19.98 kB / 335.7 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.3185, allocations: 24 kB / 335.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.3192, allocations: 346.8 kB / 336.1 MB, free: 9.762 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3193, allocations: 0 / 336.1 MB, free: 9.762 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.3193, allocations: 19.91 kB / 336.1 MB, free: 9.742 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.3194, allocations: 8 kB / 336.1 MB, free: 9.734 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.3198, allocations: 167.8 kB / 336.3 MB, free: 9.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3217, allocations: 1.341 MB / 337.6 MB, free: 8.156 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.3224, allocations: 354.7 kB / 338 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.3228, allocations: 183.3 kB / 338.2 MB, free: 7.582 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.3228, allocations: 8.062 kB / 338.2 MB, free: 7.574 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00074/0.3236, allocations: 455.2 kB / 338.6 MB, free: 7.074 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.3236, allocations: 0 / 338.6 MB, free: 7.074 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001677/0.3253, allocations: 0.7352 MB / 339.4 MB, free: 6.316 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004814/0.3258, allocations: 460.9 kB / 339.8 MB, free: 5.762 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.3272, allocations: 0.934 MB / 340.7 MB, free: 4.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.3273, allocations: 45.69 kB / 340.8 MB, free: 4.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.3277, allocations: 308.7 kB / 341.1 MB, free: 4.465 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.3278, allocations: 106.7 kB / 341.2 MB, free: 4.359 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.3279, allocations: 4 kB / 341.2 MB, free: 4.355 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.328, allocations: 333.9 kB / 341.5 MB, free: 4.023 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.3283, allocations: 144.9 kB / 341.7 MB, free: 3.879 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.3288, allocations: 358.4 kB / 342 MB, free: 3.453 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.3293, allocations: 261.1 kB / 342.3 MB, free: 3.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3293, allocations: 0 / 342.3 MB, free: 3.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001249/0.3305, allocations: 0.6615 MB / 342.9 MB, free: 2.492 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.141e-05/0.3306, allocations: 97.09 kB / 343 MB, free: 2.379 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.3307, allocations: 11.92 kB / 343 MB, free: 2.367 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.3307, allocations: 4 kB / 343 MB, free: 2.363 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.331, allocations: 63.91 kB / 343.1 MB, free: 2.301 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.628e-05/0.3311, allocations: 7.938 kB / 343.1 MB, free: 2.293 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3314, allocations: 55.67 kB / 343.2 MB, free: 2.238 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.3315, allocations: 16.09 kB / 343.2 MB, free: 2.223 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.0006082/0.3321, allocations: 414.6 kB / 343.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.3322, allocations: 79.06 kB / 343.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.3324, allocations: 78.2 kB / 343.7 MB, free: 1.629 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3324, allocations: 4.188 kB / 343.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3324, allocations: 0 / 343.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.3325, allocations: 11.98 kB / 343.8 MB, free: 1.613 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.3338, allocations: 0.9545 MB / 344.7 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3338, allocations: 4 kB / 344.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3339, allocations: 31.86 kB / 344.7 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.334, allocations: 7.938 kB / 344.7 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.334, allocations: 15.98 kB / 344.8 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.334, allocations: 4 kB / 344.8 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.334, allocations: 4 kB / 344.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.3352, allocations: 0.7713 MB / 345.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.3354, allocations: 168.1 kB / 345.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3356, allocations: 23.98 kB / 345.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.3359, allocations: 31.98 kB / 345.8 MB, free: 15.47 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.336, allocations: 31.95 kB / 345.8 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.3361, allocations: 23.98 kB / 345.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.3373, allocations: 0.6708 MB / 346.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3373, allocations: 0 / 346.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009288/0.3382, allocations: 147.8 kB / 346.6 MB, free: 14.6 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.00174/0.34, allocations: 0.4927 MB / 347.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.3413, allocations: 0.6077 MB / 347.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.3413, allocations: 8 kB / 347.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.342, allocations: 441.9 kB / 348.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.3429, allocations: 167.1 kB / 348.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.3451, allocations: 1.27 MB / 349.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.3461, allocations: 0.9254 MB / 350.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004784/0.3466, allocations: 109.3 kB / 350.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3468, allocations: 55.42 kB / 350.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3468, allocations: 0 / 350.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of Templates: time 0.02084/0.3676, allocations: 8.509 MB / 359.2 MB, free: 1.883 MB / 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)