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.004883/0.004883, allocations: 102 kB / 15.73 MB, free: 6.035 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.001121/0.001121, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.215/1.215, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.344/1.344, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001309/0.001309, allocations: 71.89 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1857, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002769/0.1885, allocations: 1.791 MB / 0.8298 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1899, allocations: 0.9449 MB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.19, allocations: 11.94 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.1905, allocations: 155.6 kB / 0.8309 GB, free: 13.29 MB / 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.000238/0.1908, allocations: 107.5 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1911, allocations: 146.4 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1913, allocations: 171.6 kB / 0.8313 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1914, allocations: 32.78 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.1915, allocations: 71.69 kB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.1916, allocations: 71.69 kB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1916, allocations: 8 kB / 0.8314 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1918, allocations: 55.97 kB / 0.8315 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.1918, allocations: 35.91 kB / 0.8315 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.1919, allocations: 71.53 kB / 0.8316 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1921, allocations: 195.4 kB / 0.8318 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1921, allocations: 0 / 0.8318 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1922, allocations: 3.938 kB / 0.8318 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1922, allocations: 0 / 0.8318 GB, free: 12.33 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.000598/0.1928, allocations: 498.9 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1928, allocations: 8.031 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.1929, allocations: 20.66 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1931, allocations: 248.8 kB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1932, allocations: 12.38 kB / 0.8325 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1932, allocations: 8.125 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1933, allocations: 83.38 kB / 0.8326 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1934, allocations: 0 / 0.8326 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1934, allocations: 7.938 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.1934, allocations: 8 kB / 0.8326 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.1935, allocations: 31.97 kB / 0.8327 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.194, allocations: 360.6 kB / 0.833 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1941, allocations: 74.61 kB / 0.8331 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.1942, allocations: 32.84 kB / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1942, allocations: 0 / 0.8331 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.1944, allocations: 87.38 kB / 0.8332 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1944, allocations: 0 / 0.8332 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003001/0.1947, allocations: 145.4 kB / 0.8333 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1948, allocations: 77.11 kB / 0.8334 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.195, allocations: 255 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.195, allocations: 33.7 kB / 0.8337 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.1951, allocations: 116.1 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.1951, allocations: 27.69 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1952, allocations: 33.7 kB / 0.8339 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1953, allocations: 330.8 kB / 0.8342 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.1954, allocations: 32.2 kB / 0.8342 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.1955, allocations: 63.3 kB / 0.8343 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1956, allocations: 69.72 kB / 0.8343 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1956, allocations: 4 kB / 0.8343 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001873/0.1958, allocations: 113.4 kB / 0.8344 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1958, allocations: 4 kB / 0.8345 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1958, allocations: 3.984 kB / 0.8345 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1958, allocations: 0 / 0.8345 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.715e-05/0.1959, allocations: 15.94 kB / 0.8345 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1959, allocations: 0 / 0.8345 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.196, allocations: 19.78 kB / 0.8345 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.196, allocations: 4 kB / 0.8345 GB, free: 9.301 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.0001266/0.1961, allocations: 145.8 kB / 0.8346 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1961, allocations: 15.81 kB / 0.8346 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.1962, allocations: 17.39 kB / 0.8347 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.1962, allocations: 4.109 kB / 0.8347 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1962, allocations: 7.922 kB / 0.8347 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1962, allocations: 3.938 kB / 0.8347 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.1964, allocations: 221.6 kB / 0.8349 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1964, allocations: 0 / 0.8349 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.1964, allocations: 12 kB / 0.8349 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1964, allocations: 0 / 0.8349 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1965, allocations: 3.938 kB / 0.8349 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1965, allocations: 4 kB / 0.8349 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1965, allocations: 0 / 0.8349 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.1967, allocations: 148.9 kB / 0.8351 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1967, allocations: 88.92 kB / 0.8351 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1968, allocations: 4 kB / 0.8351 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.1968, allocations: 11.98 kB / 0.8352 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1969, allocations: 4 kB / 0.8352 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1969, allocations: 7.875 kB / 0.8352 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001644/0.1971, allocations: 200.6 kB / 0.8354 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1971, allocations: 0 / 0.8354 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002209/0.1973, allocations: 31.94 kB / 0.8354 GB, free: 8.289 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.000861/0.1981, allocations: 418 kB / 0.8358 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1984, allocations: 79.91 kB / 0.8359 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1984, allocations: 0 / 0.8359 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.1984, allocations: 35.98 kB / 0.8359 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1987, allocations: 35.59 kB / 0.8359 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.1991, allocations: 302.9 kB / 0.8362 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1994, allocations: 0.7278 MB / 0.8369 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.92e-05/0.1995, allocations: 25.7 kB / 0.837 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1995, allocations: 23.44 kB / 0.837 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.1995, allocations: 0 / 0.837 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.004715/0.2042, allocations: 2.306 MB / 0.8392 GB, free: 4.488 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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)