Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.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.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00148/0.001479, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.263/1.263, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001644/0.001644, allocations: 96.55 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.768e-05, allocations: 0 / 262.2 MB, free: 3.07 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07743/0.2877, allocations: 69.11 MB / 370.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.2879, allocations: 71.95 kB / 370.2 MB, free: 10.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.3016, allocations: 4.956 MB / 375.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3017, allocations: 0 / 375.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.3017, allocations: 12 kB / 375.1 MB, free: 5.559 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0008527/0.3026, allocations: 0.6454 MB / 375.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3026, allocations: 12.03 kB / 375.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.3027, allocations: 47.44 kB / 375.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.3031, allocations: 289.6 kB / 376.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.3032, allocations: 50.47 kB / 376.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.3033, allocations: 27.95 kB / 376.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003807/0.3037, allocations: 201.5 kB / 376.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.3042, allocations: 344.6 kB / 376.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3042, allocations: 0 / 376.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.3043, allocations: 9.297 kB / 376.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.3043, allocations: 16.38 kB / 376.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.306, allocations: 1.509 MB / 378.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.3064, allocations: 251.9 kB / 378.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3066, allocations: 111.8 kB / 378.6 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.3066, allocations: 15.98 kB / 378.6 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004056/0.307, allocations: 338.5 kB / 379 MB, free: 1.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/0.3071, allocations: 0 / 379 MB, free: 1.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006968/0.3078, allocations: 320.8 kB / 379.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3079, allocations: 199.8 kB / 379.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3081, allocations: 249.9 kB / 379.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.3082, allocations: 33.7 kB / 379.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3083, allocations: 184.6 kB / 379.9 MB, free: 408 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.3084, allocations: 75.11 kB / 380 MB, free: 332 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.3084, allocations: 5.812 kB / 380 MB, free: 328 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3086, allocations: 358.7 kB / 380.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.3087, allocations: 93.11 kB / 380.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.309, allocations: 219.1 kB / 380.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.3093, allocations: 129.8 kB / 380.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3094, allocations: 0 / 380.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006801/0.31, allocations: 394.3 kB / 381.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.3101, allocations: 89.11 kB / 381.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.3101, allocations: 9.875 kB / 381.3 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3102, allocations: 8 kB / 381.3 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3103, allocations: 35.84 kB / 381.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3103, allocations: 11.94 kB / 381.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.3105, allocations: 27.89 kB / 381.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.3106, allocations: 23.98 kB / 381.4 MB, free: 14.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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.0001775/0.3107, allocations: 213.5 kB / 381.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.3108, allocations: 31.62 kB / 381.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.3113, allocations: 230 kB / 381.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3113, allocations: 4 kB / 381.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3113, allocations: 0 / 381.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3113, allocations: 4 kB / 381.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3125, allocations: 0.8509 MB / 382.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3125, allocations: 0 / 382.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.3126, allocations: 4.562 kB / 382.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3126, allocations: 7.984 kB / 382.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.3126, allocations: 16 kB / 382.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3127, allocations: 3.938 kB / 382.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3127, allocations: 1.625 kB / 382.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.3134, allocations: 0.5492 MB / 383.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.3135, allocations: 108.8 kB / 383.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.3136, allocations: 19.95 kB / 383.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3138, allocations: 19.98 kB / 383.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3139, allocations: 35.94 kB / 383.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.3139, allocations: 21.39 kB / 383.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3141, allocations: 158 kB / 383.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3141, allocations: 0 / 383.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000475/0.3146, allocations: 100.1 kB / 383.7 MB, free: 12.4 MB / 298.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: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 14 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * 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.0002816/0.3149, allocations: 157.3 kB / 383.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.3155, allocations: 472.1 kB / 384.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3155, allocations: 0 / 384.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.3158, allocations: 295.8 kB / 384.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3161, allocations: 37.08 kB / 384.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.317, allocations: 453.7 kB / 385.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.3174, allocations: 0.8072 MB / 385.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.3176, allocations: 59.19 kB / 386 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.3177, allocations: 31.44 kB / 386 MB, free: 10.01 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3177, allocations: 0 / 386 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Templates: time 0.007136/0.3248, allocations: 3.389 MB / 389.4 MB, free: 6.684 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1)