Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001084/0.001084, allocations: 193 kB / 377.1 MB, free: 1.512 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.725/1.725, allocations: 205.4 MB / 0.6367 GB, free: 8.527 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.000874/0.000874, allocations: 91.25 kB / 0.751 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004582, allocations: 8 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3403, allocations: 116.3 MB / 0.9884 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7237/1.064, allocations: 143 MB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.064, allocations: 78.36 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01377/1.078, allocations: 5.412 MB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.415e-06/1.078, allocations: 0 / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.584e-05/1.078, allocations: 4 kB / 1.133 GB, free: 28.65 MB / 0.7292 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.0005992/1.079, allocations: 498.3 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.079, allocations: 12.02 kB / 1.134 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/1.079, allocations: 25.78 kB / 1.134 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/1.079, allocations: 244.6 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/1.079, allocations: 5.312 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/1.079, allocations: 4 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/1.08, allocations: 95.36 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.08, allocations: 0.8125 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/1.08, allocations: 4 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.08, allocations: 9.734 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/1.08, allocations: 33.11 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/1.08, allocations: 369 kB / 1.135 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/1.08, allocations: 81.77 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/1.08, allocations: 4 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/1.081, allocations: 87.23 kB / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/1.081, allocations: 0 / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003471/1.081, allocations: 222.9 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.081, allocations: 81.77 kB / 1.135 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/1.081, allocations: 241.8 kB / 1.135 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/1.081, allocations: 25.7 kB / 1.135 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/1.081, allocations: 124.3 kB / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/1.081, allocations: 21.92 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/1.081, allocations: 11.94 kB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/1.081, allocations: 328.2 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/1.082, allocations: 32.27 kB / 1.136 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/1.082, allocations: 58.89 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/1.082, allocations: 35.73 kB / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.082, allocations: 0 / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001866/1.082, allocations: 115.2 kB / 1.136 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.082, allocations: 8.781 kB / 1.136 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.082, allocations: 0.6094 kB / 1.136 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/1.082, allocations: 0 / 1.136 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/1.082, allocations: 17.95 kB / 1.136 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.082, allocations: 4.547 kB / 1.136 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/1.082, allocations: 13.19 kB / 1.136 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.082, allocations: 2.344 kB / 1.136 GB, free: 25.84 MB / 0.7292 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.0001155/1.082, allocations: 146.1 kB / 1.136 GB, free: 25.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/1.082, allocations: 15.81 kB / 1.136 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/1.083, allocations: 125.9 kB / 1.136 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/1.083, allocations: 8.641 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.083, allocations: 0.625 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.083, allocations: 0.7031 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/1.083, allocations: 243.6 kB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.083, allocations: 0 / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/1.083, allocations: 5.484 kB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.083, allocations: 0.7969 kB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.083, allocations: 4.797 kB / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.083, allocations: 0 / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.083, allocations: 0 / 1.137 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/1.083, allocations: 150.4 kB / 1.137 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/1.083, allocations: 108 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/1.083, allocations: 5.359 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/1.083, allocations: 9.219 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/1.083, allocations: 10.75 kB / 1.137 GB, free: 25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/1.083, allocations: 1.359 kB / 1.137 GB, free: 25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001859/1.084, allocations: 190.9 kB / 1.137 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.084, allocations: 0 / 1.137 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002439/1.084, allocations: 41.95 kB / 1.137 GB, free: 24.79 MB / 0.7292 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.001063/1.085, allocations: 439.6 kB / 1.137 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002197/1.085, allocations: 77.69 kB / 1.138 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.085, allocations: 0 / 1.138 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/1.085, allocations: 36.69 kB / 1.138 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/1.086, allocations: 39.56 kB / 1.138 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/1.086, allocations: 342.8 kB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/1.086, allocations: 0.7337 MB / 1.139 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.102e-05/1.086, allocations: 25.28 kB / 1.139 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/1.086, allocations: 16.89 kB / 1.139 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of SimCode: time 1.113e-06/1.086, allocations: 0 / 1.139 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.006283/1.093, allocations: 2.283 MB / 1.141 GB, free: 22.01 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)