Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.4 MB / 298 MB, free: 6.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 180.8 kB / 366.4 MB, free: 2.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 0.6248 GB, free: 7.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008011/0.0008009, allocations: 90.39 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.517e-05/4.519e-05, allocations: 8 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7266, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.9237, allocations: 141.9 MB / 1.109 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.924, allocations: 86.88 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.9389, allocations: 5.406 MB / 1.115 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9389, allocations: 3.938 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.939, allocations: 4 kB / 1.115 GB, free: 4.453 MB / 0.7136 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.0005909/0.9396, allocations: 461.5 kB / 1.115 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9396, allocations: 10.5 kB / 1.115 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.9397, allocations: 23.11 kB / 1.115 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.9401, allocations: 258.7 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.9402, allocations: 0 / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.9402, allocations: 4 kB / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.9404, allocations: 89.05 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.9404, allocations: 4 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.9404, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.9405, allocations: 4.859 kB / 1.116 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.9405, allocations: 39.94 kB / 1.116 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.9412, allocations: 362.5 kB / 1.116 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.9413, allocations: 75.5 kB / 1.116 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.986e-05/0.9414, allocations: 31.33 kB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.9414, allocations: 0 / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.9416, allocations: 83.38 kB / 1.116 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 3.025e-06/0.9416, allocations: 2.531 kB / 1.116 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002812/0.9419, allocations: 121.5 kB / 1.116 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.942, allocations: 77.11 kB / 1.116 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.9423, allocations: 238.6 kB / 1.117 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.9423, allocations: 25.7 kB / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.9424, allocations: 120 kB / 1.117 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.9424, allocations: 19.3 kB / 1.117 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.9424, allocations: 4 kB / 1.117 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9425, allocations: 328 kB / 1.117 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.9426, allocations: 28 kB / 1.117 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.9427, allocations: 63.36 kB / 1.117 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.9427, allocations: 35.2 kB / 1.117 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9427, allocations: 0 / 1.117 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001793/0.9429, allocations: 121.3 kB / 1.117 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.943, allocations: 4 kB / 1.117 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.943, allocations: 0 / 1.117 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.943, allocations: 0 / 1.117 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.9431, allocations: 15.98 kB / 1.117 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9431, allocations: 0 / 1.117 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.9432, allocations: 11.94 kB / 1.117 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.9432, allocations: 8.031 kB / 1.117 GB, free: 1.617 MB / 0.7136 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 () * 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 9.561e-05/0.9433, allocations: 121.5 kB / 1.118 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.9434, allocations: 23.73 kB / 1.118 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.9436, allocations: 119.2 kB / 1.118 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9436, allocations: 4 kB / 1.118 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9436, allocations: 0 / 1.118 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9436, allocations: 0 / 1.118 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.9438, allocations: 229.5 kB / 1.118 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.9439, allocations: 7.375 kB / 1.118 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.9439, allocations: 11.92 kB / 1.118 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.9439, allocations: 4 kB / 1.118 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.9439, allocations: 4 kB / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9439, allocations: 0 / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9439, allocations: 0 / 1.118 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.9441, allocations: 148.8 kB / 1.118 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.9442, allocations: 104.9 kB / 1.118 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.9443, allocations: 4 kB / 1.118 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.649e-05/0.9444, allocations: 15.97 kB / 1.118 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.9444, allocations: 4 kB / 1.118 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.9444, allocations: 3.984 kB / 1.118 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000239/0.9447, allocations: 194.4 kB / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9447, allocations: 0 / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002806/0.945, allocations: 43.83 kB / 1.118 GB, free: 0.5039 MB / 0.7136 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) * 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.0009537/0.9459, allocations: 393.8 kB / 1.119 GB, free: 276 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.9461, allocations: 75.91 kB / 1.119 GB, free: 200 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9461, allocations: 3.938 kB / 1.119 GB, free: 196 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.9462, allocations: 36 kB / 1.119 GB, free: 160 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.9465, allocations: 37.47 kB / 1.119 GB, free: 124 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.947, allocations: 228.8 kB / 1.119 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.9474, allocations: 0.7282 MB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.568e-05/0.9475, allocations: 25.89 kB / 1.12 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.9475, allocations: 19.42 kB / 1.12 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9475, allocations: 0 / 1.12 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.006373/0.9539, allocations: 2.28 MB / 1.122 GB, free: 12.88 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)