Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009916/0.0009916, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001114/0.001114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 266.9 kB / 291.3 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9693/0.9693, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 12.88 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1687, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002178/0.1709, allocations: 1.461 MB / 0.6859 GB, free: 14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1723, allocations: 0.9467 MB / 0.6868 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.1724, allocations: 4.531 kB / 0.6868 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.173, allocations: 146.3 kB / 0.687 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1732, allocations: 96.25 kB / 0.6871 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1736, allocations: 144.8 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1738, allocations: 148.8 kB / 0.6873 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.1739, allocations: 29.09 kB / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.565e-05/0.174, allocations: 57.34 kB / 0.6874 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1741, allocations: 67.73 kB / 0.6875 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1742, allocations: 4 kB / 0.6875 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1743, allocations: 39.97 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.1743, allocations: 41.5 kB / 0.6876 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.1744, allocations: 49.58 kB / 0.6876 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1746, allocations: 148 kB / 0.6878 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1746, allocations: 0 / 0.6878 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1746, allocations: 0 / 0.6878 GB, free: 12.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1746, allocations: 1 kB / 0.6878 GB, free: 12.1 MB / 494.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.0006499/0.1753, allocations: 475.5 kB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1753, allocations: 12.03 kB / 0.6882 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.1754, allocations: 11.81 kB / 0.6882 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1757, allocations: 256.1 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.1757, allocations: 4 kB / 0.6885 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1757, allocations: 4 kB / 0.6885 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1759, allocations: 96.53 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1759, allocations: 0 / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1759, allocations: 0 / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.176, allocations: 4.656 kB / 0.6886 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.176, allocations: 32.8 kB / 0.6886 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.1766, allocations: 358 kB / 0.689 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.1768, allocations: 76.27 kB / 0.689 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.1769, allocations: 40.84 kB / 0.6891 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1769, allocations: 7.984 kB / 0.6891 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1771, allocations: 75.39 kB / 0.6891 GB, free: 10.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1771, allocations: 0 / 0.6891 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003167/0.1774, allocations: 145.3 kB / 0.6893 GB, free: 10.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1775, allocations: 81.11 kB / 0.6894 GB, free: 10.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1777, allocations: 259 kB / 0.6896 GB, free: 9.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1778, allocations: 29.7 kB / 0.6896 GB, free: 9.961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.1779, allocations: 120 kB / 0.6898 GB, free: 9.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1779, allocations: 24.02 kB / 0.6898 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.1779, allocations: 3.984 kB / 0.6898 GB, free: 9.812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.178, allocations: 330.8 kB / 0.6901 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.1782, allocations: 31.86 kB / 0.6901 GB, free: 9.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.1783, allocations: 55.42 kB / 0.6902 GB, free: 9.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.1783, allocations: 36.02 kB / 0.6902 GB, free: 9.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1783, allocations: 0 / 0.6902 GB, free: 9.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000195/0.1785, allocations: 113.4 kB / 0.6903 GB, free: 9.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1786, allocations: 8 kB / 0.6903 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1786, allocations: 0 / 0.6903 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1786, allocations: 0 / 0.6903 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.1787, allocations: 11.95 kB / 0.6903 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.1787, allocations: 11.92 kB / 0.6903 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.1787, allocations: 15.88 kB / 0.6904 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.1788, allocations: 4 kB / 0.6904 GB, free: 9.18 MB / 494.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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.1789, allocations: 138.5 kB / 0.6905 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1789, allocations: 15.92 kB / 0.6905 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.179, allocations: 25.33 kB / 0.6905 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.179, allocations: 4 kB / 0.6905 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.179, allocations: 3.953 kB / 0.6905 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.179, allocations: 4 kB / 0.6906 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.1792, allocations: 217.6 kB / 0.6908 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1792, allocations: 0 / 0.6908 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.1793, allocations: 8 kB / 0.6908 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1793, allocations: 0 / 0.6908 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1793, allocations: 3.984 kB / 0.6908 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1793, allocations: 0 / 0.6908 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1793, allocations: 0 / 0.6908 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1795, allocations: 160.8 kB / 0.6909 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.1796, allocations: 92.91 kB / 0.691 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1796, allocations: 4 kB / 0.691 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.839e-05/0.1797, allocations: 4 kB / 0.691 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1797, allocations: 7.984 kB / 0.691 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1797, allocations: 0 / 0.691 GB, free: 8.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.1799, allocations: 200.4 kB / 0.6912 GB, free: 8.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1799, allocations: 0 / 0.6912 GB, free: 8.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1802, allocations: 35.86 kB / 0.6913 GB, free: 8.176 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.1812, allocations: 441.2 kB / 0.6917 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1814, allocations: 71.97 kB / 0.6917 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1815, allocations: 0 / 0.6917 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.1815, allocations: 35.92 kB / 0.6918 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.1818, allocations: 29.88 kB / 0.6918 GB, free: 7.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.1823, allocations: 314.5 kB / 0.6921 GB, free: 7.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1826, allocations: 0.7282 MB / 0.6928 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.898e-05/0.1827, allocations: 25.7 kB / 0.6928 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.1828, allocations: 23.42 kB / 0.6929 GB, free: 6.637 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1828, allocations: 0 / 0.6929 GB, free: 6.637 MB / 494.1 MB Notification: Performance of Templates: time 0.005049/0.1878, allocations: 2.112 MB / 0.6949 GB, free: 4.551 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)