Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001617/0.001617, allocations: 107.4 kB / 16.41 MB, free: 6.496 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.001775/0.001775, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9319/0.9319, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.92 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1664, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003266/0.1697, allocations: 1.786 MB / 0.6781 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1714, allocations: 1.03 MB / 0.6791 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.589e-05/0.1715, allocations: 0 / 0.6791 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.1721, allocations: 166.5 kB / 0.6792 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1725, allocations: 115.6 kB / 0.6793 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1729, allocations: 170.5 kB / 0.6795 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1732, allocations: 163.6 kB / 0.6797 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1733, allocations: 13.12 kB / 0.6797 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1734, allocations: 71.75 kB / 0.6797 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1735, allocations: 75.61 kB / 0.6798 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1736, allocations: 8 kB / 0.6798 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1737, allocations: 59.97 kB / 0.6799 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.1738, allocations: 43.89 kB / 0.6799 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.1738, allocations: 59.61 kB / 0.68 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.1742, allocations: 203.1 kB / 0.6802 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1742, allocations: 0 / 0.6802 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1742, allocations: 0 / 0.6802 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1742, allocations: 0 / 0.6802 GB, free: 6.391 MB / 0.5137 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.0008338/0.175, allocations: 0.4989 MB / 0.6807 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1751, allocations: 8.031 kB / 0.6807 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.1751, allocations: 20.84 kB / 0.6807 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1755, allocations: 252.9 kB / 0.6809 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1755, allocations: 12.36 kB / 0.6809 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1755, allocations: 4.125 kB / 0.6809 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1757, allocations: 91.38 kB / 0.681 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1757, allocations: 3.984 kB / 0.681 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1757, allocations: 0 / 0.681 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.1757, allocations: 4 kB / 0.681 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1758, allocations: 39.92 kB / 0.6811 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.1764, allocations: 348.7 kB / 0.6814 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1766, allocations: 70.61 kB / 0.6815 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.255e-05/0.1767, allocations: 32.84 kB / 0.6815 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1767, allocations: 4 kB / 0.6815 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1769, allocations: 79.39 kB / 0.6816 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1769, allocations: 0 / 0.6816 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003721/0.1772, allocations: 153.4 kB / 0.6817 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.1773, allocations: 85.09 kB / 0.6818 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1776, allocations: 255 kB / 0.682 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1776, allocations: 29.7 kB / 0.6821 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.1777, allocations: 120.1 kB / 0.6822 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.1777, allocations: 27.75 kB / 0.6822 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.1778, allocations: 29.7 kB / 0.6822 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1779, allocations: 330.8 kB / 0.6826 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.178, allocations: 24 kB / 0.6826 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1781, allocations: 67.34 kB / 0.6826 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1782, allocations: 69.73 kB / 0.6827 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1782, allocations: 0 / 0.6827 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002112/0.1785, allocations: 117.5 kB / 0.6828 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1785, allocations: 4 kB / 0.6828 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1785, allocations: 0 / 0.6828 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1785, allocations: 0 / 0.6828 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.1786, allocations: 19.92 kB / 0.6829 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1786, allocations: 0 / 0.6829 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.1786, allocations: 11.97 kB / 0.6829 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1787, allocations: 8 kB / 0.6829 GB, free: 3.352 MB / 0.5137 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.0001429/0.1788, allocations: 135 kB / 0.683 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1788, allocations: 19.86 kB / 0.683 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.1789, allocations: 21.5 kB / 0.683 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.1789, allocations: 7.938 kB / 0.683 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1789, allocations: 3.938 kB / 0.683 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.1789, allocations: 3.938 kB / 0.6831 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1791, allocations: 229.5 kB / 0.6833 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1791, allocations: 0 / 0.6833 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.1792, allocations: 7.984 kB / 0.6833 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1792, allocations: 4 kB / 0.6833 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1792, allocations: 0 / 0.6833 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1792, allocations: 0 / 0.6833 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1792, allocations: 0 / 0.6833 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1794, allocations: 148.9 kB / 0.6834 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.1795, allocations: 97 kB / 0.6835 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1795, allocations: 0 / 0.6835 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.1796, allocations: 8 kB / 0.6835 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1796, allocations: 7.984 kB / 0.6835 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1796, allocations: 3.938 kB / 0.6835 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001925/0.1798, allocations: 192.6 kB / 0.6837 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1798, allocations: 0 / 0.6837 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000256/0.1801, allocations: 35.88 kB / 0.6838 GB, free: 2.348 MB / 0.5137 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.001506/0.1816, allocations: 432.3 kB / 0.6842 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.1818, allocations: 71.95 kB / 0.6842 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1818, allocations: 3.938 kB / 0.6842 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.1819, allocations: 31.98 kB / 0.6843 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1822, allocations: 51.95 kB / 0.6843 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.1828, allocations: 340.5 kB / 0.6846 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1832, allocations: 0.7162 MB / 0.6853 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1832, allocations: 23.42 kB / 0.6854 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1832, allocations: 0 / 0.6854 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of Templates: time 0.004999/0.1882, allocations: 2.578 MB / 0.6879 GB, free: 14.22 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)