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.0009191/0.0009193, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009717/0.0009718, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.203/1.203, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.54/1.54, allocations: 292.2 MB / 0.5485 GB, free: 13.7 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.00126/0.00126, allocations: 71.47 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1969, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003291/0.2002, allocations: 1.844 MB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2017, allocations: 0.9296 MB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.2019, allocations: 3.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.2026, allocations: 159.7 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.2028, allocations: 102.9 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.2032, allocations: 131.8 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.2035, allocations: 175.6 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.2036, allocations: 21.05 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.2037, allocations: 71.75 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2038, allocations: 67.7 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.2038, allocations: 11.94 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.204, allocations: 63.95 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.204, allocations: 39.84 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.2041, allocations: 63.55 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.2044, allocations: 191.7 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2044, allocations: 0 / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2044, allocations: 3.938 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2044, allocations: 0 / 0.7866 GB, free: 10.06 MB / 0.6075 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.0006282/0.205, allocations: 496.3 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2051, allocations: 8.031 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.2051, allocations: 16.75 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.2054, allocations: 252.8 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2054, allocations: 4.375 kB / 0.7874 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2054, allocations: 12.12 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.2056, allocations: 83.39 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2056, allocations: 7.922 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2057, allocations: 0 / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.2057, allocations: 8 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.517e-05/0.2058, allocations: 35.91 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.2062, allocations: 360.6 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.2064, allocations: 70.62 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.526e-05/0.2065, allocations: 32.84 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.2065, allocations: 0 / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.2067, allocations: 87.38 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.2067, allocations: 0 / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003162/0.207, allocations: 145.4 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2071, allocations: 77.11 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.2073, allocations: 267.6 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2073, allocations: 33.7 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.2074, allocations: 112.1 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2074, allocations: 27.59 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.2075, allocations: 37.69 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.2076, allocations: 330.8 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.2076, allocations: 27.98 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.2077, allocations: 63.34 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2078, allocations: 65.7 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2079, allocations: 4.031 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001879/0.2081, allocations: 117.4 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2081, allocations: 4 kB / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2081, allocations: 0 / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2081, allocations: 0 / 0.7893 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.2082, allocations: 16.05 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2082, allocations: 3.938 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.2082, allocations: 19.92 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2083, allocations: 4 kB / 0.7893 GB, free: 7.027 MB / 0.6075 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.0001085/0.2084, allocations: 146.5 kB / 0.7895 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.2084, allocations: 15.81 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.2085, allocations: 17.39 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.2085, allocations: 4 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2085, allocations: 0 / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2085, allocations: 3.938 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2087, allocations: 221.5 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2087, allocations: 0 / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.2087, allocations: 4 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2087, allocations: 4 kB / 0.7897 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2087, allocations: 8.078 kB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2087, allocations: 3.938 kB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2087, allocations: 0 / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.2089, allocations: 148.8 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.209, allocations: 92.91 kB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.209, allocations: 4 kB / 0.79 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.2091, allocations: 8 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.2091, allocations: 7.984 kB / 0.79 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2091, allocations: 3.938 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001579/0.2093, allocations: 196.6 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2093, allocations: 0 / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002274/0.2095, allocations: 27.98 kB / 0.7902 GB, free: 6.031 MB / 0.6075 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.0008527/0.2104, allocations: 435.3 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.2106, allocations: 83.91 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2106, allocations: 0 / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.2107, allocations: 31.98 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.211, allocations: 42.53 kB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.2115, allocations: 331 kB / 0.7911 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2117, allocations: 0.724 MB / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.803e-05/0.2118, allocations: 25.72 kB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2118, allocations: 19.44 kB / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2118, allocations: 0 / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.004767/0.2166, allocations: 2.259 MB / 0.794 GB, free: 2.234 MB / 0.6075 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)