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.0008448/0.0008448, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006765/0.006765, allocations: 170.1 kB / 16.27 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.752/1.752, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.617/0.617, allocations: 95.63 MB / 366.4 MB, free: 10.3 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.0005976/0.0005975, allocations: 19.98 kB / 447.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3662, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00238/0.3687, allocations: 1.463 MB / 0.5071 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3701, allocations: 0.9019 MB / 0.508 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3703, allocations: 3.938 kB / 0.508 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.371, allocations: 151.7 kB / 0.5081 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.3713, allocations: 99.69 kB / 0.5082 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.3717, allocations: 139.5 kB / 0.5083 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.372, allocations: 163.6 kB / 0.5085 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3721, allocations: 29.05 kB / 0.5085 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.3722, allocations: 51.77 kB / 0.5086 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3724, allocations: 63.69 kB / 0.5086 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3724, allocations: 4 kB / 0.5086 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3725, allocations: 51.97 kB / 0.5087 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.3726, allocations: 47.77 kB / 0.5087 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.3727, allocations: 77.27 kB / 0.5088 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3729, allocations: 189.4 kB / 0.509 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.373, allocations: 0 / 0.509 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.373, allocations: 3.938 kB / 0.509 GB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.373, allocations: 4 kB / 0.509 GB, free: 12.9 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.0007081/0.3737, allocations: 472.4 kB / 0.5095 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3737, allocations: 11.98 kB / 0.5095 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.3738, allocations: 16.75 kB / 0.5095 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3741, allocations: 252.9 kB / 0.5097 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3741, allocations: 3.984 kB / 0.5097 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3741, allocations: 4 kB / 0.5097 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3743, allocations: 91.38 kB / 0.5098 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3743, allocations: 3.938 kB / 0.5098 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3743, allocations: 0 / 0.5098 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.3744, allocations: 4 kB / 0.5098 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.3745, allocations: 35.92 kB / 0.5099 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.3749, allocations: 356.6 kB / 0.5102 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3751, allocations: 86.61 kB / 0.5103 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.3752, allocations: 32.84 kB / 0.5103 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3752, allocations: 0 / 0.5103 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.3754, allocations: 83.39 kB / 0.5104 GB, free: 11.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3754, allocations: 4 kB / 0.5104 GB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002907/0.3757, allocations: 153.3 kB / 0.5105 GB, free: 11.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.3757, allocations: 77.11 kB / 0.5106 GB, free: 11.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.3759, allocations: 257.6 kB / 0.5109 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3759, allocations: 29.7 kB / 0.5109 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.376, allocations: 120.3 kB / 0.511 GB, free: 10.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.376, allocations: 27.64 kB / 0.511 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.3761, allocations: 17.72 kB / 0.511 GB, free: 10.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.3761, allocations: 330.8 kB / 0.5114 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.3762, allocations: 27.98 kB / 0.5114 GB, free: 10.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.3763, allocations: 67.28 kB / 0.5115 GB, free: 10.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.3764, allocations: 69.7 kB / 0.5115 GB, free: 10.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3764, allocations: 0 / 0.5115 GB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001618/0.3766, allocations: 117.5 kB / 0.5116 GB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3766, allocations: 8 kB / 0.5116 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3766, allocations: 0 / 0.5116 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3766, allocations: 3.938 kB / 0.5116 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.3767, allocations: 12.05 kB / 0.5117 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3767, allocations: 11.92 kB / 0.5117 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.3768, allocations: 4 kB / 0.5117 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3768, allocations: 4 kB / 0.5117 GB, free: 9.902 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 0.000107/0.3769, allocations: 141.9 kB / 0.5118 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.3769, allocations: 15.81 kB / 0.5118 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.377, allocations: 25.33 kB / 0.5118 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.377, allocations: 4 kB / 0.5118 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.377, allocations: 0 / 0.5118 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.377, allocations: 0 / 0.5118 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.3772, allocations: 225.4 kB / 0.5121 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3772, allocations: 4 kB / 0.5121 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.3772, allocations: 0 / 0.5121 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3772, allocations: 4 kB / 0.5121 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3772, allocations: 11.92 kB / 0.5121 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3772, allocations: 0 / 0.5121 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3772, allocations: 96 / 0.5121 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.3774, allocations: 148.8 kB / 0.5122 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.3775, allocations: 92.91 kB / 0.5123 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3775, allocations: 7.938 kB / 0.5123 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.729e-05/0.3776, allocations: 4 kB / 0.5123 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.3776, allocations: 15.97 kB / 0.5123 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3776, allocations: 4 kB / 0.5123 GB, free: 9.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3778, allocations: 199.3 kB / 0.5125 GB, free: 8.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3778, allocations: 0 / 0.5125 GB, free: 8.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.378, allocations: 32 kB / 0.5126 GB, free: 8.891 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.0009589/0.379, allocations: 426 kB / 0.513 GB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3792, allocations: 71.98 kB / 0.513 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3792, allocations: 0 / 0.513 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.3793, allocations: 39.92 kB / 0.5131 GB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.3795, allocations: 35.75 kB / 0.5131 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.38, allocations: 330.6 kB / 0.5134 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3802, allocations: 0.7243 MB / 0.5141 GB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.349e-05/0.3803, allocations: 25.41 kB / 0.5142 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.3803, allocations: 19.44 kB / 0.5142 GB, free: 7.344 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3803, allocations: 0 / 0.5142 GB, free: 7.344 MB / 382.1 MB Notification: Performance of Templates: time 0.004709/0.385, allocations: 2.168 MB / 0.5163 GB, free: 5.195 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: