Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001965/0.001964, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001874, allocations: 194.4 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5922/0.5922, allocations: 95.48 MB / 364.8 MB, free: 10.11 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4121, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002991/0.4151, allocations: 1.82 MB / 0.5035 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.4166, allocations: 0.9135 MB / 0.5044 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.4168, allocations: 4 kB / 0.5044 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.4175, allocations: 155.5 kB / 0.5045 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.4177, allocations: 103.8 kB / 0.5046 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.4181, allocations: 139.5 kB / 0.5047 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.4182, allocations: 163.6 kB / 0.5049 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4184, allocations: 21.11 kB / 0.5049 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.4185, allocations: 59.7 kB / 0.505 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.4186, allocations: 67.75 kB / 0.505 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.4186, allocations: 8 kB / 0.505 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.4187, allocations: 51.91 kB / 0.5051 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.4188, allocations: 39.84 kB / 0.5051 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.4189, allocations: 55.61 kB / 0.5052 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.4191, allocations: 193.3 kB / 0.5054 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4191, allocations: 0 / 0.5054 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.4191, allocations: 0 / 0.5054 GB, free: 13.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.4191, allocations: 4 kB / 0.5054 GB, free: 13.82 MB / 382.1 MB 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.0007358/0.4199, allocations: 492.3 kB / 0.5058 GB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4199, allocations: 19.98 kB / 0.5059 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.42, allocations: 16.75 kB / 0.5059 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.4202, allocations: 248.9 kB / 0.5061 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4203, allocations: 4 kB / 0.5061 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.4203, allocations: 8 kB / 0.5061 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4205, allocations: 91.25 kB / 0.5062 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4205, allocations: 0 / 0.5062 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4205, allocations: 0 / 0.5062 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.4205, allocations: 4 kB / 0.5062 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.137e-05/0.4206, allocations: 43.97 kB / 0.5063 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.421, allocations: 352.6 kB / 0.5066 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.4212, allocations: 74.67 kB / 0.5067 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.4213, allocations: 36.84 kB / 0.5067 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.4213, allocations: 4 kB / 0.5067 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.4215, allocations: 87.22 kB / 0.5068 GB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.4215, allocations: 0 / 0.5068 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002973/0.4218, allocations: 153.3 kB / 0.5069 GB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.4218, allocations: 77.11 kB / 0.507 GB, free: 11.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.422, allocations: 257.6 kB / 0.5073 GB, free: 11.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.422, allocations: 33.7 kB / 0.5073 GB, free: 11.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.4221, allocations: 116.1 kB / 0.5074 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4221, allocations: 27.64 kB / 0.5074 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.4222, allocations: 29.7 kB / 0.5075 GB, free: 11.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.4222, allocations: 330.8 kB / 0.5078 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.4223, allocations: 23.98 kB / 0.5078 GB, free: 11.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.4224, allocations: 59.42 kB / 0.5078 GB, free: 11.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.4225, allocations: 73.62 kB / 0.5079 GB, free: 10.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4225, allocations: 0 / 0.5079 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001622/0.4226, allocations: 117.5 kB / 0.508 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4227, allocations: 7.938 kB / 0.508 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4227, allocations: 0 / 0.508 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4227, allocations: 7.938 kB / 0.508 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.4228, allocations: 8.062 kB / 0.5081 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.4228, allocations: 4 kB / 0.5081 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.4228, allocations: 15.91 kB / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4229, allocations: 7.984 kB / 0.5081 GB, free: 10.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.423, allocations: 138.1 kB / 0.5082 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.423, allocations: 19.81 kB / 0.5082 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.423, allocations: 21.34 kB / 0.5083 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.423, allocations: 3.984 kB / 0.5083 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4231, allocations: 7.938 kB / 0.5083 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4231, allocations: 4 kB / 0.5083 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4232, allocations: 217.5 kB / 0.5085 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4232, allocations: 0 / 0.5085 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.4232, allocations: 4 kB / 0.5085 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4232, allocations: 0 / 0.5085 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4233, allocations: 11.92 kB / 0.5085 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4233, allocations: 0 / 0.5085 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4233, allocations: 4 kB / 0.5085 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.4235, allocations: 144.8 kB / 0.5086 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.4235, allocations: 88.92 kB / 0.5087 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.4235, allocations: 7.938 kB / 0.5087 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.4236, allocations: 7.984 kB / 0.5087 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.4236, allocations: 7.984 kB / 0.5087 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.4236, allocations: 3.984 kB / 0.5087 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4238, allocations: 195.3 kB / 0.5089 GB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4238, allocations: 0 / 0.5089 GB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.424, allocations: 28 kB / 0.509 GB, free: 9.801 MB / 382.1 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.4251, allocations: 435.9 kB / 0.5094 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4253, allocations: 75.89 kB / 0.5094 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4253, allocations: 0 / 0.5094 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.4254, allocations: 43.92 kB / 0.5095 GB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.4256, allocations: 35.75 kB / 0.5095 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.4261, allocations: 328.8 kB / 0.5098 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.4263, allocations: 0.7282 MB / 0.5105 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.4264, allocations: 17.73 kB / 0.5106 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.4264, allocations: 23.38 kB / 0.5106 GB, free: 8.23 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4264, allocations: 0 / 0.5106 GB, free: 8.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004214/0.4307, allocations: 2.189 MB / 0.5127 GB, free: 6.062 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)