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.001058/0.001058, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009082/0.009083, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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 1.036/1.036, allocations: 143.2 MB / 434.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 12 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1812, allocations: 83.4 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002315/0.1836, allocations: 1.496 MB / 0.5993 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1852, allocations: 0.9832 MB / 0.6003 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.558e-05/0.1853, allocations: 0 / 0.6003 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.186, allocations: 151.7 kB / 0.6004 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1862, allocations: 109.6 kB / 0.6005 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1866, allocations: 154.4 kB / 0.6006 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1868, allocations: 167.6 kB / 0.6008 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.187, allocations: 17.12 kB / 0.6008 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1871, allocations: 67.62 kB / 0.6009 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1872, allocations: 63.75 kB / 0.601 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1872, allocations: 4 kB / 0.601 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1874, allocations: 51.91 kB / 0.601 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.1874, allocations: 39.89 kB / 0.601 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.1875, allocations: 77.31 kB / 0.6011 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1878, allocations: 187.6 kB / 0.6013 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1878, allocations: 0 / 0.6013 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.446e-06/0.1878, allocations: 0 / 0.6013 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1878, allocations: 3.938 kB / 0.6013 GB, free: 4.098 MB / 0.4981 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.0006547/0.1884, allocations: 476.5 kB / 0.6018 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1885, allocations: 8.031 kB / 0.6018 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.1885, allocations: 20.66 kB / 0.6018 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1888, allocations: 244.9 kB / 0.602 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1889, allocations: 384 / 0.602 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1889, allocations: 8.125 kB / 0.602 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1891, allocations: 95.31 kB / 0.6021 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1891, allocations: 0 / 0.6021 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1891, allocations: 11.92 kB / 0.6021 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.1892, allocations: 4 kB / 0.6021 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1893, allocations: 39.97 kB / 0.6022 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.1898, allocations: 348.6 kB / 0.6025 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.19, allocations: 78.67 kB / 0.6026 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.1901, allocations: 32.84 kB / 0.6026 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1901, allocations: 0 / 0.6026 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1903, allocations: 87.31 kB / 0.6027 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.875e-06/0.1903, allocations: 112 / 0.6027 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003323/0.1906, allocations: 145.3 kB / 0.6028 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1907, allocations: 85.11 kB / 0.6029 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.191, allocations: 255.7 kB / 0.6032 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.191, allocations: 29.7 kB / 0.6032 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1911, allocations: 120.1 kB / 0.6033 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1911, allocations: 27.64 kB / 0.6033 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.1911, allocations: 17.72 kB / 0.6033 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1913, allocations: 334.8 kB / 0.6037 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.1913, allocations: 31.98 kB / 0.6037 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.1914, allocations: 51.42 kB / 0.6037 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1916, allocations: 74.02 kB / 0.6038 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1916, allocations: 0 / 0.6038 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002059/0.1918, allocations: 117.4 kB / 0.6039 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.1918, allocations: 8 kB / 0.6039 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1918, allocations: 4.062 kB / 0.6039 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1919, allocations: 0 / 0.6039 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.1919, allocations: 15.97 kB / 0.6039 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1919, allocations: 4 kB / 0.604 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.192, allocations: 15.84 kB / 0.604 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.192, allocations: 0 / 0.604 GB, free: 1.102 MB / 0.4981 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.0001301/0.1922, allocations: 146.4 kB / 0.6041 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1922, allocations: 19.8 kB / 0.6041 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.1923, allocations: 17.41 kB / 0.6041 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.1923, allocations: 4 kB / 0.6041 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1923, allocations: 0 / 0.6041 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1923, allocations: 7.922 kB / 0.6042 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.1925, allocations: 221.5 kB / 0.6044 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1925, allocations: 4 kB / 0.6044 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.1925, allocations: 4 kB / 0.6044 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1925, allocations: 7.938 kB / 0.6044 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1925, allocations: 0 / 0.6044 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1925, allocations: 0 / 0.6044 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1926, allocations: 4 kB / 0.6044 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.1928, allocations: 148.8 kB / 0.6045 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.1929, allocations: 92.92 kB / 0.6046 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1929, allocations: 0 / 0.6046 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.1929, allocations: 11.98 kB / 0.6046 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.193, allocations: 4 kB / 0.6046 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.193, allocations: 11.92 kB / 0.6046 GB, free: 316 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002576/0.1933, allocations: 196.6 kB / 0.6048 GB, free: 120 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1933, allocations: 0 / 0.6048 GB, free: 120 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002445/0.1935, allocations: 31.91 kB / 0.6049 GB, free: 88 kB / 0.4981 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.312/0.5055, allocations: 408.9 kB / 0.6052 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.5059, allocations: 72.62 kB / 0.6053 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.5059, allocations: 0 / 0.6053 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.826e-05/0.506, allocations: 43.3 kB / 0.6054 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.5064, allocations: 42.78 kB / 0.6054 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.507, allocations: 330.3 kB / 0.6057 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.5071, allocations: 0.7265 MB / 0.6064 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.5072, allocations: 22.22 kB / 0.6064 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.5073, allocations: 17.56 kB / 0.6065 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5073, allocations: 3.031 kB / 0.6065 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.004958/0.5122, allocations: 2.176 MB / 0.6086 GB, free: 40.32 MB / 0.4981 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)