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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001269/0.001269, allocations: 193.4 kB / 16.14 MB, free: 6.672 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.122/1.122, allocations: 143 MB / 433 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.05 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.166, allocations: 82.02 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003799/0.1698, allocations: 1.838 MB / 0.5954 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1718, allocations: 1.006 MB / 0.5964 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.172, allocations: 3.938 kB / 0.5964 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.1728, allocations: 151.7 kB / 0.5965 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1731, allocations: 106.1 kB / 0.5966 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.1735, allocations: 150 kB / 0.5968 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1738, allocations: 167.6 kB / 0.5969 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1739, allocations: 25.09 kB / 0.597 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.174, allocations: 59.66 kB / 0.597 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1741, allocations: 67.73 kB / 0.5971 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1742, allocations: 4 kB / 0.5971 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1743, allocations: 59.91 kB / 0.5971 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.1744, allocations: 43.83 kB / 0.5972 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.1745, allocations: 43.69 kB / 0.5972 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1747, allocations: 191.7 kB / 0.5974 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1747, allocations: 0 / 0.5974 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.71e-07/0.1747, allocations: 0 / 0.5974 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1747, allocations: 4 kB / 0.5974 GB, free: 6.168 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.0007511/0.1755, allocations: 0.4885 MB / 0.5979 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1755, allocations: 12.03 kB / 0.5979 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.1756, allocations: 16.75 kB / 0.5979 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1759, allocations: 244.9 kB / 0.5981 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1759, allocations: 8.359 kB / 0.5982 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1759, allocations: 8.125 kB / 0.5982 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1762, allocations: 87.33 kB / 0.5982 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1762, allocations: 0 / 0.5982 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1762, allocations: 3.984 kB / 0.5982 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.1762, allocations: 4 kB / 0.5982 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.1763, allocations: 35.98 kB / 0.5983 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.1769, allocations: 352.7 kB / 0.5986 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1771, allocations: 78.61 kB / 0.5987 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.18e-05/0.1772, allocations: 36.95 kB / 0.5987 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1773, allocations: 7.938 kB / 0.5987 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.1775, allocations: 87.25 kB / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.1775, allocations: 0 / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003477/0.1778, allocations: 137.5 kB / 0.599 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.1779, allocations: 81.11 kB / 0.599 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.1782, allocations: 271.5 kB / 0.5993 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1783, allocations: 29.7 kB / 0.5993 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.1784, allocations: 116.1 kB / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.1784, allocations: 23.66 kB / 0.5995 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.1785, allocations: 29.69 kB / 0.5995 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1786, allocations: 334.8 kB / 0.5998 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.1787, allocations: 23.98 kB / 0.5998 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1788, allocations: 67.41 kB / 0.5999 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1789, allocations: 69.64 kB / 0.6 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1789, allocations: 0 / 0.6 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002147/0.1791, allocations: 117.4 kB / 0.6001 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1792, allocations: 4 kB / 0.6001 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1792, allocations: 384 / 0.6001 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1792, allocations: 4 kB / 0.6001 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.1793, allocations: 8 kB / 0.6001 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1793, allocations: 4.062 kB / 0.6001 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.1794, allocations: 19.84 kB / 0.6001 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1794, allocations: 4 kB / 0.6001 GB, free: 3.141 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.0001353/0.1795, allocations: 138.5 kB / 0.6002 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1796, allocations: 15.81 kB / 0.6003 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.1796, allocations: 21.39 kB / 0.6003 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.1797, allocations: 4 kB / 0.6003 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1797, allocations: 0 / 0.6003 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1797, allocations: 7.938 kB / 0.6003 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.1799, allocations: 233.3 kB / 0.6005 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1799, allocations: 0 / 0.6005 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.1799, allocations: 4 kB / 0.6005 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1799, allocations: 0 / 0.6005 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.18, allocations: 3.984 kB / 0.6005 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.18, allocations: 0 / 0.6005 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.18, allocations: 0 / 0.6005 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.1802, allocations: 160.8 kB / 0.6007 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1803, allocations: 92.91 kB / 0.6008 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.1803, allocations: 0 / 0.6008 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.959e-05/0.1804, allocations: 8 kB / 0.6008 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.1804, allocations: 7.984 kB / 0.6008 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1804, allocations: 3.938 kB / 0.6008 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001953/0.1807, allocations: 192.6 kB / 0.601 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1807, allocations: 0 / 0.601 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002377/0.1809, allocations: 31.98 kB / 0.601 GB, free: 2.133 MB / 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.00107/0.182, allocations: 422.3 kB / 0.6014 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1822, allocations: 71.91 kB / 0.6015 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1822, allocations: 0 / 0.6015 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1824, allocations: 39.98 kB / 0.6015 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.1827, allocations: 40.22 kB / 0.6015 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.1832, allocations: 336.8 kB / 0.6019 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1836, allocations: 0.7243 MB / 0.6026 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.84e-05/0.1836, allocations: 21.42 kB / 0.6026 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.1837, allocations: 15.44 kB / 0.6026 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1837, allocations: 0 / 0.6026 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.2909/0.4746, allocations: 2.193 MB / 0.6047 GB, free: 43.47 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)