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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007617/0.0007618, allocations: 98.27 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.004393/0.004393, allocations: 171.5 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.196/1.196, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 0.5105 GB, free: 4.598 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0004523/0.0004523, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4033, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001771/0.4051, allocations: 1.505 MB / 0.7302 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.4064, allocations: 0.9139 MB / 0.7311 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.4065, allocations: 0 / 0.7311 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.407, allocations: 159.7 kB / 0.7312 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.4072, allocations: 107.7 kB / 0.7313 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.4076, allocations: 123 kB / 0.7314 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.4078, allocations: 163.6 kB / 0.7316 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.4079, allocations: 29.09 kB / 0.7316 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.408, allocations: 63.66 kB / 0.7317 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.48e-05/0.4081, allocations: 59.75 kB / 0.7318 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.4081, allocations: 4 kB / 0.7318 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.4082, allocations: 55.91 kB / 0.7318 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.4083, allocations: 35.89 kB / 0.7318 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.4084, allocations: 85.25 kB / 0.7319 GB, free: 7.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.4086, allocations: 185.3 kB / 0.7321 GB, free: 7.758 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.4086, allocations: 4 kB / 0.7321 GB, free: 7.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.4086, allocations: 0 / 0.7321 GB, free: 7.754 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4086, allocations: 0 / 0.7321 GB, free: 7.754 MB / 0.545 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.0005602/0.4092, allocations: 484.3 kB / 0.7326 GB, free: 7.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.4092, allocations: 12.03 kB / 0.7326 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.4093, allocations: 12.75 kB / 0.7326 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.4095, allocations: 237 kB / 0.7328 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4095, allocations: 4.375 kB / 0.7328 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.4095, allocations: 12.12 kB / 0.7328 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.4097, allocations: 95.3 kB / 0.7329 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.4097, allocations: 0 / 0.7329 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4097, allocations: 0 / 0.7329 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.4098, allocations: 11.98 kB / 0.7329 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.996e-05/0.4099, allocations: 27.98 kB / 0.733 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.4103, allocations: 360.5 kB / 0.7333 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4105, allocations: 70.67 kB / 0.7334 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.4105, allocations: 32.84 kB / 0.7334 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.4106, allocations: 4 kB / 0.7334 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.4107, allocations: 87.31 kB / 0.7335 GB, free: 6.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.4107, allocations: 0 / 0.7335 GB, free: 6.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0002878/0.411, allocations: 145.5 kB / 0.7336 GB, free: 6.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4111, allocations: 81.05 kB / 0.7337 GB, free: 5.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.4113, allocations: 263 kB / 0.734 GB, free: 5.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4113, allocations: 29.7 kB / 0.734 GB, free: 5.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.4114, allocations: 120 kB / 0.7341 GB, free: 5.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.4114, allocations: 24.05 kB / 0.7341 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.4115, allocations: 29.64 kB / 0.7342 GB, free: 5.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.4115, allocations: 334.8 kB / 0.7345 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.4116, allocations: 31.92 kB / 0.7345 GB, free: 5.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.4117, allocations: 59.42 kB / 0.7346 GB, free: 4.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.4118, allocations: 73.62 kB / 0.7346 GB, free: 4.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4118, allocations: 4.031 kB / 0.7346 GB, free: 4.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000183/0.412, allocations: 113.4 kB / 0.7347 GB, free: 4.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.412, allocations: 9.547 kB / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.412, allocations: 0 / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.4121, allocations: 0 / 0.7347 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.4121, allocations: 12 kB / 0.7348 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4121, allocations: 4 kB / 0.7348 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.4122, allocations: 7.938 kB / 0.7348 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4122, allocations: 4 kB / 0.7348 GB, free: 4.754 MB / 0.545 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 ($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.0001036/0.4123, allocations: 145.8 kB / 0.7349 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.4123, allocations: 15.81 kB / 0.7349 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.4124, allocations: 17.56 kB / 0.7349 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.4124, allocations: 3.984 kB / 0.7349 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4124, allocations: 4 kB / 0.735 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4124, allocations: 3.938 kB / 0.735 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.4126, allocations: 229.4 kB / 0.7352 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4126, allocations: 0 / 0.7352 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.4126, allocations: 4 kB / 0.7352 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4126, allocations: 4 kB / 0.7352 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4127, allocations: 0 / 0.7352 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4127, allocations: 4 kB / 0.7352 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4127, allocations: 3.984 kB / 0.7352 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.4129, allocations: 148.8 kB / 0.7353 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.4129, allocations: 96.86 kB / 0.7354 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.413, allocations: 11.92 kB / 0.7354 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.413, allocations: 12 kB / 0.7354 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.413, allocations: 3.984 kB / 0.7355 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4131, allocations: 7.938 kB / 0.7355 GB, free: 3.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001608/0.4132, allocations: 192.4 kB / 0.7356 GB, free: 3.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4132, allocations: 0 / 0.7356 GB, free: 3.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000223/0.4135, allocations: 31.98 kB / 0.7357 GB, free: 3.734 MB / 0.545 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.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.000813/0.4143, allocations: 426.3 kB / 0.7361 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.4145, allocations: 75.91 kB / 0.7362 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4145, allocations: 0 / 0.7362 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.4146, allocations: 35.98 kB / 0.7362 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4148, allocations: 35.97 kB / 0.7362 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.4153, allocations: 342.1 kB / 0.7365 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.4155, allocations: 0.7204 MB / 0.7373 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.4156, allocations: 33.69 kB / 0.7373 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.4156, allocations: 15.44 kB / 0.7373 GB, free: 2.176 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.4156, allocations: 0 / 0.7373 GB, free: 2.176 MB / 0.545 GB Notification: Performance of Templates: time 0.004317/0.4199, allocations: 2.17 MB / 0.7394 GB, free: 40 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: