Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3101/0.3101, allocations: 55.01 MB / 69.95 MB, free: 8.645 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001155/0.001155, allocations: 184.1 kB / 83.98 MB, free: 10.83 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.714/1.714, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001605/0.001605, allocations: 115.1 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 19.98 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5711, allocations: 86.39 MB / 0.5497 GB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5715, allocations: 74.2 kB / 0.5498 GB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004809/0.5763, allocations: 1.424 MB / 0.5512 GB, free: 1.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5763, allocations: 0 / 0.5512 GB, free: 1.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.5763, allocations: 4 kB / 0.5512 GB, free: 1.676 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003629/0.5767, allocations: 410.2 kB / 0.5516 GB, free: 1.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5768, allocations: 8.031 kB / 0.5516 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.5768, allocations: 4 kB / 0.5516 GB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.577, allocations: 178.7 kB / 0.5517 GB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.577, allocations: 8.875 kB / 0.5517 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.5771, allocations: 0 / 0.5517 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5772, allocations: 68.81 kB / 0.5518 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5772, allocations: 0 / 0.5518 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5773, allocations: 0 / 0.5518 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.5773, allocations: 4 kB / 0.5518 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.5774, allocations: 27.23 kB / 0.5518 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.5777, allocations: 275.6 kB / 0.5521 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.5778, allocations: 45.83 kB / 0.5522 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.5778, allocations: 3.938 kB / 0.5522 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.578, allocations: 109.9 kB / 0.5523 GB, free: 448 kB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.578, allocations: 0 / 0.5523 GB, free: 448 kB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003922/0.5784, allocations: 326.5 kB / 0.5526 GB, free: 100 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.5785, allocations: 112.9 kB / 0.5527 GB, free: 15.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.5786, allocations: 112.8 kB / 0.5528 GB, free: 15.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.5787, allocations: 29.27 kB / 0.5528 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.5787, allocations: 87.52 kB / 0.5529 GB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.5788, allocations: 23.67 kB / 0.5529 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.5788, allocations: 3.984 kB / 0.5529 GB, free: 15.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.579, allocations: 314.8 kB / 0.5532 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-05/0.5791, allocations: 26.92 kB / 0.5533 GB, free: 15.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.5792, allocations: 23.67 kB / 0.5533 GB, free: 15.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.5793, allocations: 85.98 kB / 0.5534 GB, free: 15.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5793, allocations: 0 / 0.5534 GB, free: 15.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002974/0.5796, allocations: 162.2 kB / 0.5535 GB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.5797, allocations: 63.39 kB / 0.5536 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5798, allocations: 0 / 0.5536 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.5798, allocations: 0 / 0.5536 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.32e-05/0.5798, allocations: 7.938 kB / 0.5536 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.5799, allocations: 0 / 0.5536 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.5799, allocations: 7.875 kB / 0.5536 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.58, allocations: 4 kB / 0.5536 GB, free: 15.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.000187/0.5802, allocations: 159.4 kB / 0.5537 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.5802, allocations: 7.953 kB / 0.5537 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.5802, allocations: 8.359 kB / 0.5538 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.5803, allocations: 4 kB / 0.5538 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5803, allocations: 0 / 0.5538 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5803, allocations: 0 / 0.5538 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.5805, allocations: 173.1 kB / 0.5539 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5805, allocations: 0 / 0.5539 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.5805, allocations: 0 / 0.5539 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.5806, allocations: 7.984 kB / 0.5539 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.5806, allocations: 7.953 kB / 0.5539 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5806, allocations: 0 / 0.5539 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5806, allocations: 0 / 0.5539 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.5809, allocations: 182.5 kB / 0.5541 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.581, allocations: 85.02 kB / 0.5542 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.5811, allocations: 4 kB / 0.5542 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.5811, allocations: 19.03 kB / 0.5542 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.5812, allocations: 7.734 kB / 0.5542 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.5812, allocations: 4 kB / 0.5542 GB, free: 14.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.5813, allocations: 86.58 kB / 0.5543 GB, free: 14.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5813, allocations: 0 / 0.5543 GB, free: 14.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.5817, allocations: 31.94 kB / 0.5543 GB, free: 14.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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.0002585/0.582, allocations: 126.6 kB / 0.5545 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.5823, allocations: 176.1 kB / 0.5546 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5823, allocations: 0 / 0.5546 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.5825, allocations: 112 kB / 0.5547 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.5826, allocations: 7.922 kB / 0.5547 GB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.5832, allocations: 171.3 kB / 0.5549 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.5836, allocations: 0.6921 MB / 0.5556 GB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.5836, allocations: 4.844 kB / 0.5556 GB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.5836, allocations: 7.438 kB / 0.5556 GB, free: 12.86 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5836, allocations: 4 kB / 0.5556 GB, free: 12.86 MB / 378.7 MB Notification: Performance of Templates: time 0.004173/0.5878, allocations: 0.8337 MB / 0.5564 GB, free: 12.04 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)