Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008928/0.0008928, allocations: 181.9 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007027/0.0007023, allocations: 86.36 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003877, allocations: 14.5 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.3209, allocations: 135.7 MB / 1.034 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.3212, allocations: 83.95 kB / 1.034 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01451/0.3357, allocations: 5.462 MB / 1.039 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3357, allocations: 0 / 1.039 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.3358, allocations: 0 / 1.039 GB, free: 2.246 MB / 0.6823 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.0006371/0.3364, allocations: 496.3 kB / 1.04 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3365, allocations: 8.031 kB / 1.04 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.3365, allocations: 20.69 kB / 1.04 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3369, allocations: 260.8 kB / 1.04 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3369, allocations: 4.375 kB / 1.04 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3369, allocations: 8.375 kB / 1.04 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3371, allocations: 87.88 kB / 1.04 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3371, allocations: 192 / 1.04 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3372, allocations: 7.922 kB / 1.04 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.3372, allocations: 8 kB / 1.04 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.3373, allocations: 31.98 kB / 1.04 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.3378, allocations: 364.7 kB / 1.04 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.338, allocations: 74.66 kB / 1.041 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.3381, allocations: 36.86 kB / 1.041 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3381, allocations: 7.984 kB / 1.041 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3383, allocations: 83.31 kB / 1.041 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.3383, allocations: 0 / 1.041 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003446/0.3387, allocations: 153.3 kB / 1.041 GB, free: 448 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.3387, allocations: 81.11 kB / 1.041 GB, free: 348 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.339, allocations: 263.6 kB / 1.041 GB, free: 76 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.339, allocations: 25.7 kB / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.3391, allocations: 120.1 kB / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.3392, allocations: 19.72 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.3392, allocations: 7.984 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3393, allocations: 334.8 kB / 1.042 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.3394, allocations: 28.09 kB / 1.042 GB, free: 15.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.95e-05/0.3394, allocations: 59.58 kB / 1.042 GB, free: 15.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3396, allocations: 81.66 kB / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3396, allocations: 0 / 1.042 GB, free: 15.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000192/0.3398, allocations: 117.4 kB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3398, allocations: 4 kB / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3398, allocations: 0 / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3398, allocations: 0 / 1.042 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.3399, allocations: 12 kB / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3399, allocations: 0 / 1.042 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.34, allocations: 19.95 kB / 1.042 GB, free: 15.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.34, allocations: 4 kB / 1.042 GB, free: 15.21 MB / 0.698 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.0001164/0.3401, allocations: 146.1 kB / 1.042 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.3402, allocations: 15.81 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.3404, allocations: 123 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3404, allocations: 4 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3405, allocations: 3.938 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3405, allocations: 4 kB / 1.042 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3407, allocations: 245.4 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3407, allocations: 0 / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.3407, allocations: 8 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3407, allocations: 7.984 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3408, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3408, allocations: 3.938 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3408, allocations: 0 / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.341, allocations: 160.8 kB / 1.043 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.3411, allocations: 96.92 kB / 1.043 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3411, allocations: 3.984 kB / 1.043 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.3412, allocations: 8 kB / 1.043 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.3412, allocations: 7.984 kB / 1.043 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3412, allocations: 0 / 1.043 GB, free: 14.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001803/0.3414, allocations: 192.4 kB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3414, allocations: 4 kB / 1.043 GB, free: 14.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002513/0.3417, allocations: 43.92 kB / 1.043 GB, free: 14.05 MB / 0.698 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.000905/0.3426, allocations: 445.9 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3428, allocations: 79.95 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3428, allocations: 0 / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.3429, allocations: 39.92 kB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3432, allocations: 37.17 kB / 1.044 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.3438, allocations: 330.5 kB / 1.044 GB, free: 13.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3441, allocations: 0.7282 MB / 1.045 GB, free: 12.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.388e-05/0.3442, allocations: 25.38 kB / 1.045 GB, free: 12.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.3442, allocations: 23.42 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.3443, allocations: 4 kB / 1.045 GB, free: 12.45 MB / 0.698 GB Notification: Performance of Templates: time 0.00518/0.3494, allocations: 2.294 MB / 1.047 GB, free: 10.18 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)