Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.174/1.174, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001517/0.001517, allocations: 117.2 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8 kB / 310.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07862, allocations: 44.51 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.21/0.2886, allocations: 73.63 MB / 428.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.2888, allocations: 62.66 kB / 428.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.3076, allocations: 7.547 MB / 436.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3077, allocations: 2.156 kB / 436.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3077, allocations: 4 kB / 436.3 MB, free: 9.457 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007058/0.3084, allocations: 0.8282 MB / 437.1 MB, free: 8.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3084, allocations: 8.031 kB / 437.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.3085, allocations: 40.59 kB / 437.2 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3088, allocations: 292.4 kB / 437.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.3089, allocations: 15.75 kB / 437.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.3089, allocations: 19.38 kB / 437.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.3092, allocations: 277.6 kB / 437.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3093, allocations: 3.938 kB / 437.8 MB, free: 7.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3093, allocations: 12 kB / 437.8 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.3093, allocations: 4 kB / 437.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3095, allocations: 150.2 kB / 437.9 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006843/0.3102, allocations: 1.008 MB / 438.9 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3105, allocations: 244.5 kB / 439.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3105, allocations: 4 kB / 439.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.3109, allocations: 0.5424 MB / 439.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.3109, allocations: 0 / 439.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001067/0.312, allocations: 1.282 MB / 441 MB, free: 4.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.3121, allocations: 497.5 kB / 441.5 MB, free: 4.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3124, allocations: 268.7 kB / 441.7 MB, free: 3.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.3124, allocations: 50.25 kB / 441.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.3125, allocations: 145.3 kB / 441.9 MB, free: 3.762 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.3126, allocations: 89.22 kB / 442 MB, free: 3.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.3126, allocations: 7.812 kB / 442 MB, free: 3.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.3127, allocations: 344 kB / 442.4 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3128, allocations: 152.4 kB / 442.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.313, allocations: 242.4 kB / 442.8 MB, free: 3.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.3133, allocations: 438.8 kB / 443.2 MB, free: 2.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3133, allocations: 4 kB / 443.2 MB, free: 2.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006854/0.314, allocations: 0.8315 MB / 444 MB, free: 1.809 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.3141, allocations: 299.9 kB / 444.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3141, allocations: 0 / 444.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3141, allocations: 8 kB / 444.3 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.3142, allocations: 11.94 kB / 444.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3142, allocations: 7.984 kB / 444.3 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.3144, allocations: 33.75 kB / 444.4 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.3144, allocations: 27.36 kB / 444.4 MB, free: 1.387 MB / 314.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: 53 ($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,timeTable.nextEventScaled,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 () * Number of clocked 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.000238/0.3147, allocations: 410.1 kB / 444.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.3147, allocations: 35.72 kB / 444.8 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.3148, allocations: 33.05 kB / 444.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3148, allocations: 0 / 444.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3148, allocations: 0 / 444.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3148, allocations: 4 kB / 444.9 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.3154, allocations: 0.8202 MB / 445.7 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3155, allocations: 4 kB / 445.7 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.3155, allocations: 3.984 kB / 445.7 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3155, allocations: 4 kB / 445.7 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.3155, allocations: 15.25 kB / 445.7 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3155, allocations: 3.938 kB / 445.7 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3156, allocations: 4 kB / 445.7 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/0.3165, allocations: 0.9191 MB / 446.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.3166, allocations: 100.7 kB / 446.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.3167, allocations: 27.73 kB / 446.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3169, allocations: 35.5 kB / 446.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.317, allocations: 26.28 kB / 446.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.317, allocations: 27.86 kB / 446.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.3172, allocations: 206.6 kB / 447.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3172, allocations: 3.938 kB / 447.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005576/0.3178, allocations: 157.2 kB / 447.2 MB, free: 14.73 MB / 330.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: 32 ($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,timeTable.nextEventScaled,$whenCondition8,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition9,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 30 (integerTable.index,integerTable.nextTime,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition8,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,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]) * Number of clocked states: 0 () * 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.0003782/0.3181, allocations: 245.2 kB / 447.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.319, allocations: 0.9889 MB / 448.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.319, allocations: 0 / 448.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.3195, allocations: 0.6117 MB / 449.1 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.3198, allocations: 28.77 kB / 449.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009769/0.3207, allocations: 0.6662 MB / 449.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3211, allocations: 0.7761 MB / 450.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.3212, allocations: 21.53 kB / 450.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3212, allocations: 15.44 kB / 450.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3212, allocations: 7.938 kB / 450.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Templates: time 0.007188/0.3284, allocations: 4.157 MB / 454.7 MB, free: 7.27 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Interaction1.pipe 2>&1)