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.0009298/0.00093, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009493/0.0009494, allocations: 179.6 kB / 16.92 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.285 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 0.973/0.973, allocations: 143.2 MB / 435.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004228, allocations: 8 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 83.42 MB / 0.5985 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002125/0.1757, allocations: 1.492 MB / 0.6 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1773, allocations: 0.9754 MB / 0.6009 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.1773, allocations: 4 kB / 0.6009 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005567/0.1779, allocations: 159.6 kB / 0.6011 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1781, allocations: 101.6 kB / 0.6012 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1785, allocations: 154.5 kB / 0.6013 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.1788, allocations: 163.6 kB / 0.6015 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.1789, allocations: 21.12 kB / 0.6015 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.179, allocations: 71.62 kB / 0.6016 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1791, allocations: 59.75 kB / 0.6016 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1791, allocations: 4 kB / 0.6016 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1792, allocations: 51.97 kB / 0.6017 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.1793, allocations: 39.78 kB / 0.6017 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.1794, allocations: 81.31 kB / 0.6018 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1796, allocations: 144 kB / 0.6019 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1796, allocations: 0 / 0.6019 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1796, allocations: 4 kB / 0.6019 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1796, allocations: 0 / 0.6019 GB, free: 4.145 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.0006691/0.1803, allocations: 472.5 kB / 0.6024 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1803, allocations: 12.03 kB / 0.6024 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1804, allocations: 16.66 kB / 0.6024 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1807, allocations: 248.8 kB / 0.6026 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1807, allocations: 8.375 kB / 0.6026 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1807, allocations: 4.125 kB / 0.6027 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1809, allocations: 91.38 kB / 0.6027 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.181, allocations: 0 / 0.6027 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.181, allocations: 4 kB / 0.6027 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.181, allocations: 4 kB / 0.6027 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1811, allocations: 35.91 kB / 0.6028 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1816, allocations: 356.7 kB / 0.6031 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1818, allocations: 74.61 kB / 0.6032 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.058e-05/0.1819, allocations: 40.78 kB / 0.6032 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1819, allocations: 4 kB / 0.6032 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.1821, allocations: 83.36 kB / 0.6033 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1821, allocations: 0 / 0.6033 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003353/0.1824, allocations: 145.4 kB / 0.6035 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1825, allocations: 77.11 kB / 0.6035 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.1828, allocations: 263.7 kB / 0.6038 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1828, allocations: 25.7 kB / 0.6038 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.1829, allocations: 116.1 kB / 0.6039 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1829, allocations: 23.64 kB / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.1829, allocations: 17.83 kB / 0.604 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1831, allocations: 342.7 kB / 0.6043 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.1831, allocations: 27.98 kB / 0.6043 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.1832, allocations: 63.36 kB / 0.6044 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1834, allocations: 65.7 kB / 0.6044 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1834, allocations: 0 / 0.6044 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002114/0.1836, allocations: 125.8 kB / 0.6046 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1836, allocations: 4 kB / 0.6046 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1836, allocations: 3.938 kB / 0.6046 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1836, allocations: 0 / 0.6046 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.1837, allocations: 19.92 kB / 0.6046 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1837, allocations: 0 / 0.6046 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.1838, allocations: 11.84 kB / 0.6046 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.1838, allocations: 4 kB / 0.6046 GB, free: 1.148 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.0001289/0.1839, allocations: 142.5 kB / 0.6047 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.184, allocations: 15.81 kB / 0.6047 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.184, allocations: 21.39 kB / 0.6048 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.184, allocations: 0 / 0.6048 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.184, allocations: 8 kB / 0.6048 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1841, allocations: 3.938 kB / 0.6048 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1843, allocations: 221.5 kB / 0.605 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1843, allocations: 3.984 kB / 0.605 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.1843, allocations: 4 kB / 0.605 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1843, allocations: 4 kB / 0.605 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1843, allocations: 0 / 0.605 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1843, allocations: 4 kB / 0.605 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1843, allocations: 3.938 kB / 0.605 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1846, allocations: 144.8 kB / 0.6051 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.1846, allocations: 88.92 kB / 0.6052 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1847, allocations: 4 kB / 0.6052 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.1847, allocations: 23.91 kB / 0.6053 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.1848, allocations: 0 / 0.6053 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1848, allocations: 7.938 kB / 0.6053 GB, free: 368 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001863/0.185, allocations: 192.6 kB / 0.6054 GB, free: 176 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.054e-06/0.185, allocations: 0 / 0.6054 GB, free: 176 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002471/0.1852, allocations: 39.84 kB / 0.6055 GB, free: 136 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.248/0.4332, allocations: 425 kB / 0.6059 GB, free: 41.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.4336, allocations: 64.38 kB / 0.606 GB, free: 41.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4336, allocations: 5.812 kB / 0.606 GB, free: 41.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.4337, allocations: 39.31 kB / 0.606 GB, free: 41.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.434, allocations: 40.09 kB / 0.606 GB, free: 41.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.4346, allocations: 359.5 kB / 0.6064 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.4348, allocations: 0.7233 MB / 0.6071 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.4348, allocations: 24.55 kB / 0.6071 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.4348, allocations: 0 / 0.6071 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.003867/0.4387, allocations: 2.536 MB / 0.6096 GB, free: 40.23 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)