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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001079/0.001079, allocations: 169.2 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.219/1.219, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001495/0.001495, allocations: 106.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.289e-05, allocations: 4 kB / 268.8 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06235/0.06238, allocations: 38.78 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.3033, allocations: 68.18 MB / 375.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.3036, allocations: 64.22 kB / 375.9 MB, free: 8.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0216/0.3252, allocations: 7.446 MB / 383.3 MB, free: 1.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3252, allocations: 0 / 383.3 MB, free: 1.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3253, allocations: 8 kB / 383.3 MB, free: 1.539 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007765/0.326, allocations: 0.7894 MB / 384.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3261, allocations: 8.031 kB / 384.1 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.3262, allocations: 35.62 kB / 384.2 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.3265, allocations: 273.3 kB / 384.4 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3266, allocations: 15.39 kB / 384.4 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.3266, allocations: 19.75 kB / 384.5 MB, free: 316 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.327, allocations: 284.5 kB / 384.7 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.327, allocations: 0 / 384.7 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.3271, allocations: 6.938 kB / 384.7 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.3271, allocations: 4 kB / 384.7 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.3273, allocations: 145.8 kB / 384.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.3282, allocations: 1.005 MB / 385.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.3285, allocations: 235.2 kB / 386.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.3287, allocations: 164.4 kB / 386.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.3288, allocations: 4 kB / 386.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.3292, allocations: 0.5115 MB / 386.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.3293, allocations: 4 kB / 386.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009121/0.3302, allocations: 0.682 MB / 387.5 MB, free: 13.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002688/0.3305, allocations: 0.4924 MB / 388 MB, free: 12.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3307, allocations: 268.5 kB / 388.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.3308, allocations: 44.38 kB / 388.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3309, allocations: 145.3 kB / 388.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.331, allocations: 72.2 kB / 388.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.331, allocations: 10.88 kB / 388.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3312, allocations: 348.5 kB / 388.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3314, allocations: 136.6 kB / 389 MB, free: 11.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.3317, allocations: 229.5 kB / 389.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.3321, allocations: 444 kB / 389.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3321, allocations: 0 / 389.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001026/0.3331, allocations: 0.8427 MB / 390.5 MB, free: 10.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.3333, allocations: 299.4 kB / 390.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3333, allocations: 4 kB / 390.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3334, allocations: 4 kB / 390.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.3335, allocations: 15.92 kB / 390.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3335, allocations: 8 kB / 390.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.3336, allocations: 39.34 kB / 390.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.3337, allocations: 23.25 kB / 390.9 MB, free: 10.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index,$whenCondition8,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,$whenCondition7,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 10 * 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.0002468/0.3339, allocations: 350.3 kB / 391.2 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.786e-05/0.334, allocations: 43.61 kB / 391.2 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.3341, allocations: 24.47 kB / 391.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3341, allocations: 3.984 kB / 391.3 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.3341, allocations: 4 kB / 391.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3341, allocations: 0 / 391.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/0.3349, allocations: 0.8009 MB / 392.1 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3349, allocations: 0 / 392.1 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.335, allocations: 7.938 kB / 392.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.335, allocations: 4 kB / 392.1 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.335, allocations: 19.42 kB / 392.1 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.335, allocations: 0 / 392.1 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.335, allocations: 3.953 kB / 392.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.336, allocations: 0.9214 MB / 393 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.3361, allocations: 103.1 kB / 393.1 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.3362, allocations: 23.62 kB / 393.2 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3364, allocations: 35.91 kB / 393.2 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.3365, allocations: 26.84 kB / 393.2 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.3366, allocations: 22.73 kB / 393.2 MB, free: 7.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.3368, allocations: 206.9 kB / 393.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3368, allocations: 0 / 393.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005571/0.3373, allocations: 160.5 kB / 393.6 MB, free: 7.445 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,start.reset[1],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],$whenCondition7,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 29 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition7,stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition4,$whenCondition6,stop.on,$whenCondition5,stop.pre_reset[1],stop.reset[1],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition3,start.on,$whenCondition2,start.pre_reset[1],start.reset[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 3 * 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.0004031/0.3377, allocations: 244.2 kB / 393.8 MB, free: 7.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.3386, allocations: 0.9415 MB / 394.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3386, allocations: 3.938 kB / 394.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.339, allocations: 0.576 MB / 395.4 MB, free: 5.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3393, allocations: 27.95 kB / 395.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.3401, allocations: 0.4889 MB / 395.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3404, allocations: 0.7829 MB / 396.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.3405, allocations: 17.55 kB / 396.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.3405, allocations: 19.44 kB / 396.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3405, allocations: 0 / 396.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of Templates: time 0.007691/0.3482, allocations: 4.041 MB / 400.7 MB, free: 396 kB / 282.7 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)