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.001057/0.001057, allocations: 181.6 kB / 13.64 MB, free: 1.676 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.648/1.648, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001822/0.001822, allocations: 120.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.113e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08777, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.4064, allocations: 73.54 MB / 423 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001456/0.4066, allocations: 66.53 kB / 423 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02025/0.4268, allocations: 7.52 MB / 430.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4269, allocations: 0 / 430.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4269, allocations: 11.56 kB / 430.6 MB, free: 8.387 MB / 298.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.0006206/0.4275, allocations: 0.784 MB / 431.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4276, allocations: 11.66 kB / 431.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.4277, allocations: 30.69 kB / 431.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.428, allocations: 291.8 kB / 431.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.428, allocations: 14.97 kB / 431.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.4281, allocations: 22.66 kB / 431.7 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.4284, allocations: 278.4 kB / 432 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4284, allocations: 0 / 432 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4285, allocations: 6.875 kB / 432 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.4285, allocations: 7.953 kB / 432 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.4287, allocations: 147.5 kB / 432.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.4294, allocations: 1.011 MB / 433.2 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.4296, allocations: 247.5 kB / 433.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.4298, allocations: 169.7 kB / 433.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.4298, allocations: 7.844 kB / 433.6 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.4302, allocations: 0.5274 MB / 434.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.4302, allocations: 4 kB / 434.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007333/0.431, allocations: 0.6585 MB / 434.8 MB, free: 5.434 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.4311, allocations: 499.4 kB / 435.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.4313, allocations: 260.3 kB / 435.5 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.4314, allocations: 47.53 kB / 435.5 MB, free: 4.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.4314, allocations: 150.2 kB / 435.7 MB, free: 4.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.4315, allocations: 74.42 kB / 435.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.4315, allocations: 11 kB / 435.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.4316, allocations: 352.6 kB / 436.1 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.4318, allocations: 145.6 kB / 436.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.432, allocations: 237.1 kB / 436.5 MB, free: 4.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.4323, allocations: 445.1 kB / 436.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4323, allocations: 3.812 kB / 436.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000704/0.433, allocations: 0.8199 MB / 437.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/0.4331, allocations: 295.2 kB / 438 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4331, allocations: 3.875 kB / 438 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4331, allocations: 3.812 kB / 438.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.4332, allocations: 23.05 kB / 438.1 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4332, allocations: 11.72 kB / 438.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4334, allocations: 33.14 kB / 438.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.4334, allocations: 26.5 kB / 438.1 MB, free: 2.949 MB / 298.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 () * 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.0001875/0.4336, allocations: 353.6 kB / 438.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.4337, allocations: 46.52 kB / 438.5 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.4337, allocations: 28.58 kB / 438.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4337, allocations: 0 / 438.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4337, allocations: 0 / 438.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4337, allocations: 3.844 kB / 438.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006481/0.4344, allocations: 0.8164 MB / 439.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4344, allocations: 0 / 439.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.4344, allocations: 3.75 kB / 439.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4345, allocations: 0 / 439.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.4345, allocations: 19.67 kB / 439.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4345, allocations: 7.844 kB / 439.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4345, allocations: 0 / 439.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.4353, allocations: 0.9136 MB / 440.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.4354, allocations: 104.2 kB / 440.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.4355, allocations: 26.69 kB / 440.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.4356, allocations: 30.36 kB / 440.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.4357, allocations: 26.47 kB / 440.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.4358, allocations: 26.55 kB / 440.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.436, allocations: 203.9 kB / 440.7 MB, free: 1.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.436, allocations: 0 / 440.7 MB, free: 1.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005916/0.4366, allocations: 166 kB / 440.9 MB, free: 1.316 MB / 298.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]) * 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.000361/0.437, allocations: 249.9 kB / 441.1 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006089/0.4376, allocations: 0.97 MB / 442.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4376, allocations: 0 / 442.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.4379, allocations: 0.6012 MB / 442.7 MB, free: 120 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.4381, allocations: 29.39 kB / 442.7 MB, free: 112 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.4389, allocations: 0.4976 MB / 443.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.4393, allocations: 0.7802 MB / 444 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.4393, allocations: 21.09 kB / 444 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.4394, allocations: 22.94 kB / 444.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.4394, allocations: 0 / 444.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Templates: time 0.007586/0.447, allocations: 4.17 MB / 448.2 MB, free: 12.01 MB / 314.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)