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.0009186/0.0009185, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001389/0.001388, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.531/1.531, allocations: 252 MB / 0.5102 GB, free: 4.73 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.0006041/0.0006048, allocations: 20 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6108, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002285/0.6131, allocations: 1.47 MB / 0.7296 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.6145, allocations: 0.8792 MB / 0.7304 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.6146, allocations: 4 kB / 0.7304 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.6152, allocations: 147.6 kB / 0.7306 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.6154, allocations: 95.75 kB / 0.7307 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.6158, allocations: 120.5 kB / 0.7308 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.616, allocations: 147.6 kB / 0.7309 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.6161, allocations: 25.08 kB / 0.7309 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.6162, allocations: 55.72 kB / 0.731 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.6164, allocations: 71.73 kB / 0.7311 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.6164, allocations: 4 kB / 0.7311 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.6165, allocations: 43.92 kB / 0.7311 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.6166, allocations: 35.89 kB / 0.7311 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.6166, allocations: 45.64 kB / 0.7312 GB, free: 8.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.6168, allocations: 153.6 kB / 0.7313 GB, free: 8.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6169, allocations: 3.938 kB / 0.7313 GB, free: 8.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6169, allocations: 0 / 0.7313 GB, free: 8.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.6169, allocations: 0 / 0.7313 GB, free: 8.086 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.0006757/0.6176, allocations: 480.2 kB / 0.7318 GB, free: 7.562 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6176, allocations: 12.03 kB / 0.7318 GB, free: 7.551 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.6177, allocations: 19.77 kB / 0.7318 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.6179, allocations: 235.7 kB / 0.732 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.618, allocations: 4 kB / 0.732 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.618, allocations: 7.938 kB / 0.7321 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.6182, allocations: 91.31 kB / 0.7321 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6182, allocations: 4 kB / 0.7321 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6182, allocations: 0 / 0.7321 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6182, allocations: 4 kB / 0.7322 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.563e-05/0.6183, allocations: 35.94 kB / 0.7322 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.6189, allocations: 348.7 kB / 0.7325 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.6191, allocations: 78.67 kB / 0.7326 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.6191, allocations: 32.84 kB / 0.7326 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.6192, allocations: 4 kB / 0.7326 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.6193, allocations: 83.28 kB / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.6193, allocations: 0 / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003118/0.6197, allocations: 149.4 kB / 0.7329 GB, free: 6.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6198, allocations: 85.11 kB / 0.7329 GB, free: 6.238 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.62, allocations: 258.9 kB / 0.7332 GB, free: 5.977 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.6201, allocations: 25.7 kB / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.6202, allocations: 116.1 kB / 0.7333 GB, free: 5.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.6202, allocations: 27.64 kB / 0.7333 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.6202, allocations: 4 kB / 0.7333 GB, free: 5.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.6205, allocations: 330.8 kB / 0.7337 GB, free: 5.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.6205, allocations: 24.09 kB / 0.7337 GB, free: 5.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.6206, allocations: 67.36 kB / 0.7337 GB, free: 5.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.6207, allocations: 32.3 kB / 0.7338 GB, free: 5.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.6207, allocations: 3.938 kB / 0.7338 GB, free: 5.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001813/0.6209, allocations: 117.4 kB / 0.7339 GB, free: 5.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6209, allocations: 5.719 kB / 0.7339 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6209, allocations: 3.953 kB / 0.7339 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.6209, allocations: 4.062 kB / 0.7339 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.621, allocations: 12 kB / 0.7339 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.621, allocations: 3.984 kB / 0.7339 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.6211, allocations: 11.91 kB / 0.7339 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.6211, allocations: 4 kB / 0.7339 GB, free: 5.164 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,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.0001367/0.6212, allocations: 145.8 kB / 0.7341 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.6213, allocations: 15.81 kB / 0.7341 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.6213, allocations: 21.39 kB / 0.7341 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6213, allocations: 7.953 kB / 0.7341 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6214, allocations: 0 / 0.7341 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6214, allocations: 0 / 0.7341 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.6216, allocations: 221.6 kB / 0.7343 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6216, allocations: 3.938 kB / 0.7343 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.6216, allocations: 8 kB / 0.7343 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6216, allocations: 0 / 0.7343 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.6216, allocations: 3.984 kB / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6216, allocations: 0 / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6216, allocations: 3.953 kB / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.6219, allocations: 144.9 kB / 0.7345 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.6219, allocations: 100.8 kB / 0.7346 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.622, allocations: 0 / 0.7346 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.622, allocations: 4 kB / 0.7346 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.6221, allocations: 11.94 kB / 0.7346 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.6221, allocations: 8 kB / 0.7346 GB, free: 4.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001944/0.6223, allocations: 196.4 kB / 0.7348 GB, free: 4.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6223, allocations: 7.938 kB / 0.7348 GB, free: 4.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002372/0.6225, allocations: 27.94 kB / 0.7348 GB, free: 4.152 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 (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.0009753/0.6235, allocations: 421.8 kB / 0.7352 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.6237, allocations: 75.91 kB / 0.7353 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6238, allocations: 0 / 0.7353 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.6238, allocations: 31.98 kB / 0.7353 GB, free: 3.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.6242, allocations: 40.03 kB / 0.7354 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.6248, allocations: 322 kB / 0.7357 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.6252, allocations: 0.732 MB / 0.7364 GB, free: 2.652 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.695e-05/0.6253, allocations: 25.72 kB / 0.7364 GB, free: 2.629 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.6254, allocations: 19.42 kB / 0.7364 GB, free: 2.609 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.6254, allocations: 4 kB / 0.7364 GB, free: 2.605 MB / 0.545 GB Notification: Performance of Templates: time 0.005493/0.6309, allocations: 2.124 MB / 0.7385 GB, free: 0.5117 MB / 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: