Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009936/0.0009937, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.373/1.373, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001648/0.001647, allocations: 111.5 kB / 218 MB, free: 8.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1751/0.1751, allocations: 37.99 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.897e-05, allocations: 1.25 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.72 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4494, allocations: 73.87 MB / 472.6 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.4497, allocations: 62.22 kB / 472.7 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005664/0.4554, allocations: 1.956 MB / 474.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4554, allocations: 4 kB / 474.6 MB, free: 17.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.4554, allocations: 1.375 kB / 474.6 MB, free: 17.58 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000425/0.4558, allocations: 0.521 MB / 475.1 MB, free: 17.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4559, allocations: 8.656 kB / 475.1 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.4559, allocations: 14.84 kB / 475.2 MB, free: 17.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.732e-05/0.456, allocations: 177.2 kB / 475.3 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.4561, allocations: 91.09 kB / 475.4 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.4562, allocations: 15.31 kB / 475.4 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001529/0.4563, allocations: 65.06 kB / 475.5 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4565, allocations: 121.7 kB / 475.6 MB, free: 16.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4565, allocations: 0 / 475.6 MB, free: 16.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.4566, allocations: 4.656 kB / 475.6 MB, free: 16.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4566, allocations: 1.156 kB / 475.6 MB, free: 16.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.4572, allocations: 0.5018 MB / 476.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4573, allocations: 142.5 kB / 476.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.4575, allocations: 85.91 kB / 476.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.4575, allocations: 1 kB / 476.4 MB, free: 16.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.4578, allocations: 454.2 kB / 476.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.4578, allocations: 0 / 476.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004896/0.4583, allocations: 242.4 kB / 477 MB, free: 15.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.4584, allocations: 249.5 kB / 477.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.4584, allocations: 123.1 kB / 477.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4585, allocations: 31.05 kB / 477.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.4585, allocations: 96.72 kB / 477.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4586, allocations: 43.34 kB / 477.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.4586, allocations: 1.094 kB / 477.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.4586, allocations: 322.4 kB / 477.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.4587, allocations: 53.91 kB / 477.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.4588, allocations: 102.8 kB / 478 MB, free: 14.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.459, allocations: 53.2 kB / 478.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.459, allocations: 1.094 kB / 478.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003472/0.4593, allocations: 241 kB / 478.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.4594, allocations: 158.5 kB / 478.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4594, allocations: 1.438 kB / 478.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4594, allocations: 4.281 kB / 478.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.4595, allocations: 8.891 kB / 478.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4595, allocations: 6.797 kB / 478.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.4596, allocations: 15.44 kB / 478.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.4597, allocations: 20.55 kB / 478.5 MB, free: 14.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 5 * 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.0001411/0.4598, allocations: 258.9 kB / 478.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.4599, allocations: 23.06 kB / 478.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.4599, allocations: 12.98 kB / 478.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4599, allocations: 5.562 kB / 478.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4599, allocations: 3.938 kB / 478.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.46, allocations: 1.344 kB / 478.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.4605, allocations: 464 kB / 479.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4605, allocations: 1.156 kB / 479.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.4605, allocations: 12.31 kB / 479.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4605, allocations: 1.219 kB / 479.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.4605, allocations: 11.75 kB / 479.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4605, allocations: 3.047 kB / 479.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4606, allocations: 1.375 kB / 479.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.4611, allocations: 423.3 kB / 479.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.4611, allocations: 88.89 kB / 479.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.4612, allocations: 13.69 kB / 479.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4613, allocations: 18.53 kB / 479.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.231e-05/0.4614, allocations: 20.17 kB / 479.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4615, allocations: 13.28 kB / 479.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.043e-05/0.4615, allocations: 100.8 kB / 480 MB, free: 13.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4615, allocations: 4 kB / 480 MB, free: 13.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.4619, allocations: 59.94 kB / 480 MB, free: 13.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 22 (onDelay1.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next) * Number of discrete states: 16 (onDelay2.t_next,onDelay2.delaySignal,$whenCondition7,$whenCondition6,onDelay3.t_next,onDelay3.delaySignal,$whenCondition5,$whenCondition4,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0001984/0.4621, allocations: 127.8 kB / 480.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006009/0.4627, allocations: 469.4 kB / 480.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4627, allocations: 0 / 480.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.463, allocations: 392.3 kB / 481 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.4632, allocations: 15.78 kB / 481 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.4638, allocations: 217.5 kB / 481.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.464, allocations: 0.7095 MB / 481.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.592e-05/0.4641, allocations: 5.938 kB / 481.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.4641, allocations: 11.25 kB / 482 MB, free: 12.21 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4641, allocations: 4 kB / 482 MB, free: 12.21 MB / 330.7 MB Notification: Performance of Templates: time 0.004749/0.4689, allocations: 1.704 MB / 483.7 MB, free: 12.01 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe 2>&1)