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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 180.2 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007477/0.0007477, allocations: 91.08 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 11.66 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1722, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.00173/0.174, allocations: 1.522 MB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1752, allocations: 0.9293 MB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.1753, allocations: 7.938 kB / 0.8991 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.1758, allocations: 155.7 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.176, allocations: 103.8 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1764, allocations: 133.6 kB / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1766, allocations: 163.5 kB / 0.8997 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1767, allocations: 29.05 kB / 0.8997 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.1768, allocations: 55.77 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.762e-05/0.1769, allocations: 67.62 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1769, allocations: 4 kB / 0.8998 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.177, allocations: 51.97 kB / 0.8999 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.1771, allocations: 35.91 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.1772, allocations: 51.61 kB / 0.9 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1773, allocations: 195.3 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1774, allocations: 4 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1774, allocations: 4 kB / 0.9001 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1774, allocations: 0 / 0.9001 GB, free: 64.64 MB / 0.6042 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.0005196/0.1779, allocations: 464.4 kB / 0.9006 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1779, allocations: 11.97 kB / 0.9006 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.178, allocations: 16.75 kB / 0.9006 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1782, allocations: 248.9 kB / 0.9009 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1782, allocations: 4.312 kB / 0.9009 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1782, allocations: 16.05 kB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1784, allocations: 91.38 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1784, allocations: 0 / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1784, allocations: 0 / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1785, allocations: 4 kB / 0.901 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.1786, allocations: 31.98 kB / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1789, allocations: 360.6 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1791, allocations: 70.67 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.1792, allocations: 32.86 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1792, allocations: 0 / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.1793, allocations: 99.3 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1794, allocations: 0 / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.00027/0.1796, allocations: 145.4 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.1797, allocations: 77.11 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.1798, allocations: 267.6 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1799, allocations: 29.7 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.1799, allocations: 120 kB / 0.9021 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.1799, allocations: 19.72 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.18, allocations: 17.7 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.18, allocations: 334.8 kB / 0.9025 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/0.1801, allocations: 27.98 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.1802, allocations: 59.47 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1803, allocations: 81.94 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1803, allocations: 0 / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001583/0.1805, allocations: 117.5 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1805, allocations: 8 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1805, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1805, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.1806, allocations: 8 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1806, allocations: 4 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.1807, allocations: 11.92 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1807, allocations: 3.938 kB / 0.9028 GB, free: 61.65 MB / 0.6042 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 9.481e-05/0.1808, allocations: 154.4 kB / 0.903 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1808, allocations: 15.81 kB / 0.903 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.1808, allocations: 17.39 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1809, allocations: 0 / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1809, allocations: 0 / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.1809, allocations: 96.92 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1809, allocations: 3.938 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.181, allocations: 7.984 kB / 0.9031 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.181, allocations: 4 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001701/0.1812, allocations: 192.9 kB / 0.9033 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001787/0.1814, allocations: 286.5 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.718e-05/0.1814, allocations: 43.86 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001242/0.1816, allocations: 196.4 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of Backend: time 3.51e-07/0.1816, allocations: 0 / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.1827, allocations: 464.2 kB / 0.9042 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005196/0.1832, allocations: 0.7676 MB / 0.905 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.004205/0.1874, allocations: 2.235 MB / 0.9072 GB, free: 57.28 MB / 0.6042 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)