Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1894/0.1914, allocations: 80.84 MB / 0.5897 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.005817/0.1973, allocations: 1.817 MB / 0.5915 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1998, allocations: 0.9286 MB / 0.5924 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1999, allocations: 0 / 0.5924 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008563/0.2009, allocations: 159.7 kB / 0.5925 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.2012, allocations: 99.69 kB / 0.5926 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.2018, allocations: 131.4 kB / 0.5927 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.2021, allocations: 163.6 kB / 0.5929 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.2023, allocations: 29.11 kB / 0.5929 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2024, allocations: 67.64 kB / 0.593 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2026, allocations: 59.75 kB / 0.593 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.2026, allocations: 4 kB / 0.593 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2028, allocations: 59.89 kB / 0.5931 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.2029, allocations: 43.84 kB / 0.5931 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.203, allocations: 55.61 kB / 0.5932 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.2034, allocations: 191.7 kB / 0.5934 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2034, allocations: 0 / 0.5934 GB, free: 3.309 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2034, allocations: 0 / 0.5934 GB, free: 3.309 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.2034, allocations: 4 kB / 0.5934 GB, free: 3.305 MB / 446.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.0009502/0.2044, allocations: 0.4885 MB / 0.5939 GB, free: 2.762 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.2045, allocations: 8.031 kB / 0.5939 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.2045, allocations: 16.75 kB / 0.5939 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.2049, allocations: 253.7 kB / 0.5941 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.205, allocations: 7.922 kB / 0.5941 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.205, allocations: 4 kB / 0.5941 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.2053, allocations: 91.33 kB / 0.5942 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2053, allocations: 0 / 0.5942 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.2054, allocations: 3.984 kB / 0.5942 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2054, allocations: 4 kB / 0.5942 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.2056, allocations: 31.98 kB / 0.5943 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.2064, allocations: 352.7 kB / 0.5946 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.2067, allocations: 78.67 kB / 0.5947 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2068, allocations: 32.84 kB / 0.5947 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.2069, allocations: 0 / 0.5947 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.2072, allocations: 91.2 kB / 0.5948 GB, free: 1.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.205e-06/0.2072, allocations: 4 kB / 0.5948 GB, free: 1.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005974/0.2079, allocations: 137.8 kB / 0.5949 GB, free: 1.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.208, allocations: 88.98 kB / 0.595 GB, free: 1.434 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.2085, allocations: 267.4 kB / 0.5953 GB, free: 1.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2085, allocations: 29.64 kB / 0.5953 GB, free: 1.125 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2087, allocations: 116.1 kB / 0.5954 GB, free: 1.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.2087, allocations: 23.66 kB / 0.5954 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.2088, allocations: 33.69 kB / 0.5955 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.209, allocations: 326.8 kB / 0.5958 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2091, allocations: 31.98 kB / 0.5958 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2093, allocations: 59.41 kB / 0.5959 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2095, allocations: 73.75 kB / 0.5959 GB, free: 448 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2095, allocations: 3.938 kB / 0.5959 GB, free: 444 kB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003397/0.2099, allocations: 113.4 kB / 0.596 GB, free: 324 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2099, allocations: 12.06 kB / 0.5961 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2099, allocations: 0 / 0.5961 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.21, allocations: 0 / 0.5961 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2101, allocations: 8 kB / 0.5961 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.2101, allocations: 7.938 kB / 0.5961 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2102, allocations: 15.83 kB / 0.5961 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2103, allocations: 0 / 0.5961 GB, free: 280 kB / 446.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.0001914/0.2105, allocations: 143.2 kB / 0.5962 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.2105, allocations: 15.81 kB / 0.5962 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.2106, allocations: 21.39 kB / 0.5963 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.2106, allocations: 4 kB / 0.5963 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.2106, allocations: 7.938 kB / 0.5963 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2107, allocations: 3.938 kB / 0.5963 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.211, allocations: 217.6 kB / 0.5965 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.211, allocations: 0 / 0.5965 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.2111, allocations: 4.094 kB / 0.5965 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2111, allocations: 3.938 kB / 0.5965 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.2111, allocations: 4 kB / 0.5965 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.2111, allocations: 7.984 kB / 0.5965 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2111, allocations: 3.938 kB / 0.5965 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.2115, allocations: 144.8 kB / 0.5966 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.2116, allocations: 92.91 kB / 0.5967 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.2116, allocations: 4 kB / 0.5967 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.2117, allocations: 4 kB / 0.5967 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2118, allocations: 11.92 kB / 0.5967 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2118, allocations: 8 kB / 0.5968 GB, free: 15.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.2121, allocations: 188.6 kB / 0.5969 GB, free: 15.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2121, allocations: 0 / 0.5969 GB, free: 15.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.2125, allocations: 31.98 kB / 0.597 GB, free: 15.28 MB / 462.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.001393/0.2139, allocations: 426.3 kB / 0.5974 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.2142, allocations: 71.91 kB / 0.5974 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.2142, allocations: 4.062 kB / 0.5974 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2143, allocations: 35.98 kB / 0.5975 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.2148, allocations: 37.72 kB / 0.5975 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.2156, allocations: 336.6 kB / 0.5978 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.2161, allocations: 0.7243 MB / 0.5985 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.2162, allocations: 29.7 kB / 0.5986 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.2163, allocations: 15.44 kB / 0.5986 GB, free: 13.75 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2163, allocations: 0 / 0.5986 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Templates: time 0.008783/0.2251, allocations: 2.18 MB / 0.6007 GB, free: 11.59 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)