Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.696/1.696, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 181.7 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 0.6626 GB, free: 4.32 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008217/0.0008216, allocations: 88.25 kB / 0.7808 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004097, allocations: 12 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7348, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.9583, allocations: 145.7 MB / 1.169 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.9588, allocations: 79.39 kB / 1.169 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.9773, allocations: 5.58 MB / 1.174 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.927e-06/0.9774, allocations: 1.125 kB / 1.174 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.549e-05/0.9775, allocations: 1.844 kB / 1.174 GB, free: 10.55 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001029/0.9785, allocations: 489 kB / 1.175 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/0.9786, allocations: 9.875 kB / 1.175 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.9787, allocations: 16.75 kB / 1.175 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.9792, allocations: 256.8 kB / 1.175 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.9793, allocations: 8.312 kB / 1.175 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.9793, allocations: 9.594 kB / 1.175 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.9796, allocations: 84.81 kB / 1.175 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.9796, allocations: 192 / 1.175 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.9796, allocations: 11.3 kB / 1.175 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.9797, allocations: 8.703 kB / 1.175 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.9798, allocations: 41.23 kB / 1.175 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.9805, allocations: 363.3 kB / 1.175 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.9807, allocations: 72.02 kB / 1.175 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.9808, allocations: 44.78 kB / 1.175 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.9808, allocations: 1.375 kB / 1.175 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.981, allocations: 80.31 kB / 1.176 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.981, allocations: 0.6562 kB / 1.176 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003816/0.9814, allocations: 151.2 kB / 1.176 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.9815, allocations: 81.11 kB / 1.176 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.9818, allocations: 260.1 kB / 1.176 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.9819, allocations: 31.38 kB / 1.176 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.982, allocations: 116.1 kB / 1.176 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.982, allocations: 27.7 kB / 1.176 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.9821, allocations: 0 / 1.176 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9822, allocations: 333.1 kB / 1.176 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.9823, allocations: 27.98 kB / 1.176 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.9824, allocations: 63.27 kB / 1.177 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.9826, allocations: 79.66 kB / 1.177 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9826, allocations: 0 / 1.177 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002412/0.9828, allocations: 119.3 kB / 1.177 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.9829, allocations: 4 kB / 1.177 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.9829, allocations: 2.625 kB / 1.177 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9829, allocations: 0 / 1.177 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.983, allocations: 12.69 kB / 1.177 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.983, allocations: 0.9375 kB / 1.177 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.9831, allocations: 15.92 kB / 1.177 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.9831, allocations: 4 kB / 1.177 GB, free: 7.555 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001921/0.9833, allocations: 150 kB / 1.177 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.9834, allocations: 19.75 kB / 1.177 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.9837, allocations: 135.7 kB / 1.177 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.9837, allocations: 3.984 kB / 1.177 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9837, allocations: 0 / 1.177 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9837, allocations: 0 / 1.177 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.984, allocations: 233.5 kB / 1.177 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.984, allocations: 3.344 kB / 1.177 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.9841, allocations: 11.94 kB / 1.177 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9841, allocations: 2.25 kB / 1.177 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.9841, allocations: 3.984 kB / 1.177 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.9841, allocations: 0 / 1.177 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9841, allocations: 1.656 kB / 1.177 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.9844, allocations: 154.6 kB / 1.177 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.9845, allocations: 100.9 kB / 1.178 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.9845, allocations: 0 / 1.178 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.9846, allocations: 16.05 kB / 1.178 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.9847, allocations: 7.984 kB / 1.178 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.9847, allocations: 4.547 kB / 1.178 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002247/0.9849, allocations: 196.4 kB / 1.178 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9849, allocations: 0 / 1.178 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003105/0.9853, allocations: 39.92 kB / 1.178 GB, free: 6.41 MB / 0.7448 GB 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001243/0.9865, allocations: 443.6 kB / 1.178 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.9868, allocations: 83.94 kB / 1.178 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.9868, allocations: 0 / 1.178 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.9869, allocations: 39.92 kB / 1.178 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.9873, allocations: 39.84 kB / 1.178 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007566/0.9881, allocations: 327.4 kB / 1.179 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.9884, allocations: 0.7282 MB / 1.179 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.9885, allocations: 25.95 kB / 1.179 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.9886, allocations: 15.44 kB / 1.179 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.9886, allocations: 0 / 1.179 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.006565/0.9952, allocations: 2.293 MB / 1.182 GB, free: 2.738 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)