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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.00142, allocations: 104.2 kB / 16.36 MB, free: 6.301 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.001375/0.001376, allocations: 189.3 kB / 17.29 MB, free: 5.875 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.484/1.484, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001482/0.001482, allocations: 75.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.005721/0.2541, allocations: 1.782 MB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.2571, allocations: 0.9488 MB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2573, allocations: 7.938 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.2584, allocations: 163.5 kB / 0.7876 GB, free: 268 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.2589, allocations: 111.6 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.2597, allocations: 143 kB / 0.7878 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5038/0.7635, allocations: 160.5 kB / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.7637, allocations: 25.83 kB / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.764, allocations: 71.53 kB / 0.7881 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.7642, allocations: 67.92 kB / 0.7882 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.7643, allocations: 7.875 kB / 0.7882 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.7646, allocations: 66.5 kB / 0.7882 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.7647, allocations: 40.67 kB / 0.7883 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.7648, allocations: 68.44 kB / 0.7883 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.7653, allocations: 191.5 kB / 0.7885 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7653, allocations: 0 / 0.7885 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7653, allocations: 3.969 kB / 0.7885 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.7653, allocations: 2.719 kB / 0.7885 GB, free: 47.12 MB / 0.6544 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.000864/0.7662, allocations: 497.5 kB / 0.789 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.7662, allocations: 8.031 kB / 0.789 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.7663, allocations: 18.81 kB / 0.789 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.7667, allocations: 250.4 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7668, allocations: 3.062 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.7668, allocations: 6.562 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.7671, allocations: 93.09 kB / 0.7894 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.7671, allocations: 2.75 kB / 0.7894 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.7671, allocations: 2.625 kB / 0.7894 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.7672, allocations: 3.688 kB / 0.7894 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.7673, allocations: 34.48 kB / 0.7894 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.768, allocations: 357.4 kB / 0.7897 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.7683, allocations: 71.64 kB / 0.7898 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.7684, allocations: 38.48 kB / 0.7898 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.7684, allocations: 2.531 kB / 0.7898 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.7687, allocations: 81.5 kB / 0.7899 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/0.7687, allocations: 0 / 0.7899 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0005203/0.7692, allocations: 146.9 kB / 0.7901 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.7693, allocations: 82.83 kB / 0.7901 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.7697, allocations: 267 kB / 0.7904 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.7697, allocations: 29.08 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.7698, allocations: 114.9 kB / 0.7905 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.7699, allocations: 21.27 kB / 0.7906 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.77, allocations: 31.72 kB / 0.7906 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.7701, allocations: 333.4 kB / 0.7909 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.7702, allocations: 25.11 kB / 0.7909 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.7704, allocations: 60.02 kB / 0.791 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.7706, allocations: 78.92 kB / 0.7911 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7706, allocations: 1.062 kB / 0.7911 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003259/0.7709, allocations: 112.6 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.771, allocations: 8.156 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.771, allocations: 1.5 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.771, allocations: 2.875 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.7712, allocations: 13.31 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.7712, allocations: 0 / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.7713, allocations: 11.67 kB / 0.7912 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.7713, allocations: 6.562 kB / 0.7912 GB, free: 45.27 MB / 0.6544 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.0001435/0.7715, allocations: 144.7 kB / 0.7913 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.7716, allocations: 20.09 kB / 0.7914 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.7716, allocations: 21.44 kB / 0.7914 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.7717, allocations: 2.625 kB / 0.7914 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7717, allocations: 2.625 kB / 0.7914 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.7717, allocations: 0 / 0.7914 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.7719, allocations: 227.1 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7719, allocations: 0.7812 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.772, allocations: 5.953 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.772, allocations: 4.781 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.772, allocations: 1.406 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.772, allocations: 0 / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7721, allocations: 0 / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.7724, allocations: 148.8 kB / 0.7918 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.7725, allocations: 97.64 kB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.7725, allocations: 3.938 kB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.7726, allocations: 6.875 kB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.7727, allocations: 5.438 kB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.7727, allocations: 4.469 kB / 0.7919 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002623/0.773, allocations: 195.4 kB / 0.7921 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.773, allocations: 1.156 kB / 0.7921 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004508/0.7735, allocations: 36.88 kB / 0.7921 GB, free: 44.68 MB / 0.6544 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.001713/0.7752, allocations: 418.8 kB / 0.7925 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.7756, allocations: 81.86 kB / 0.7926 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7756, allocations: 0 / 0.7926 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.7757, allocations: 37.97 kB / 0.7926 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.7762, allocations: 40.88 kB / 0.7927 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.777, allocations: 323.6 kB / 0.793 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.7773, allocations: 0.7221 MB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.7773, allocations: 24.27 kB / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.483e-06/0.7774, allocations: 0 / 0.7937 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.006802/0.7842, allocations: 2.557 MB / 0.7962 GB, free: 43.54 MB / 0.6544 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)