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.005401/0.005401, allocations: 101.2 kB / 15.88 MB, free: 6.328 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.00116/0.00116, allocations: 193.1 kB / 16.79 MB, free: 6.254 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.323/1.323, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.9854/0.9854, allocations: 143 MB / 433.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1518, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00301/0.1549, allocations: 1.833 MB / 0.5961 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1564, allocations: 1.006 MB / 0.597 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.1565, allocations: 0 / 0.597 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.157, allocations: 156.8 kB / 0.5972 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.1573, allocations: 99.75 kB / 0.5973 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.1577, allocations: 157.9 kB / 0.5974 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1579, allocations: 167.6 kB / 0.5976 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.158, allocations: 21.11 kB / 0.5976 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.1581, allocations: 71.62 kB / 0.5977 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1582, allocations: 63.75 kB / 0.5977 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1582, allocations: 4 kB / 0.5977 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1583, allocations: 47.97 kB / 0.5978 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.1584, allocations: 43.78 kB / 0.5978 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.1585, allocations: 63.59 kB / 0.5979 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1587, allocations: 144 kB / 0.598 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1587, allocations: 0 / 0.598 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1587, allocations: 0 / 0.598 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1587, allocations: 0 / 0.598 GB, free: 6.191 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.0006751/0.1594, allocations: 0.4886 MB / 0.5985 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1594, allocations: 12.02 kB / 0.5985 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.1595, allocations: 20.75 kB / 0.5985 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1598, allocations: 248.8 kB / 0.5988 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1598, allocations: 384 / 0.5988 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1598, allocations: 8.125 kB / 0.5988 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.16, allocations: 91.38 kB / 0.5989 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.16, allocations: 0 / 0.5989 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.16, allocations: 4 kB / 0.5989 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1601, allocations: 0 / 0.5989 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.1602, allocations: 39.92 kB / 0.5989 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.1607, allocations: 348.7 kB / 0.5992 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1609, allocations: 82.61 kB / 0.5993 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.1609, allocations: 32.84 kB / 0.5994 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.161, allocations: 0 / 0.5994 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1611, allocations: 87.36 kB / 0.5994 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.1612, allocations: 3.938 kB / 0.5994 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000326/0.1615, allocations: 137.4 kB / 0.5996 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1616, allocations: 89.11 kB / 0.5997 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1618, allocations: 257.5 kB / 0.5999 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1618, allocations: 29.7 kB / 0.5999 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.1619, allocations: 116.2 kB / 0.6 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.162, allocations: 31.58 kB / 0.6001 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.162, allocations: 25.72 kB / 0.6001 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1621, allocations: 330.8 kB / 0.6004 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.1622, allocations: 31.98 kB / 0.6004 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.1623, allocations: 59.36 kB / 0.6005 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1624, allocations: 69.7 kB / 0.6006 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1624, allocations: 0 / 0.6006 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002073/0.1627, allocations: 121.4 kB / 0.6007 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1627, allocations: 4 kB / 0.6007 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1627, allocations: 4.062 kB / 0.6007 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1627, allocations: 0 / 0.6007 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.1628, allocations: 20.3 kB / 0.6007 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1628, allocations: 0 / 0.6007 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.1629, allocations: 7.938 kB / 0.6007 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1629, allocations: 4 kB / 0.6007 GB, free: 3.176 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.0001188/0.163, allocations: 142.4 kB / 0.6009 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.163, allocations: 19.8 kB / 0.6009 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.1631, allocations: 21.41 kB / 0.6009 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.1631, allocations: 7.984 kB / 0.6009 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1631, allocations: 0 / 0.6009 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1631, allocations: 7.922 kB / 0.6009 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1633, allocations: 221.4 kB / 0.6011 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1634, allocations: 8 kB / 0.6011 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.1634, allocations: 0 / 0.6011 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1634, allocations: 4 kB / 0.6011 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1634, allocations: 0 / 0.6011 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1634, allocations: 0 / 0.6011 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1634, allocations: 7.938 kB / 0.6011 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1637, allocations: 152.8 kB / 0.6013 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.1637, allocations: 92.86 kB / 0.6014 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1637, allocations: 0 / 0.6014 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.1638, allocations: 11.98 kB / 0.6014 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.1639, allocations: 0 / 0.6014 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1639, allocations: 7.938 kB / 0.6014 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001815/0.1641, allocations: 199.3 kB / 0.6016 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1641, allocations: 3.938 kB / 0.6016 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002452/0.1643, allocations: 32 kB / 0.6016 GB, free: 2.152 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.0009248/0.1652, allocations: 419.3 kB / 0.602 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1655, allocations: 75.89 kB / 0.6021 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1655, allocations: 0 / 0.6021 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.1656, allocations: 40.05 kB / 0.6021 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1659, allocations: 35.92 kB / 0.6022 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.1664, allocations: 366.4 kB / 0.6025 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1667, allocations: 0.7243 MB / 0.6032 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.1667, allocations: 15.44 kB / 0.6032 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1667, allocations: 0 / 0.6032 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of Templates: time 0.2382/0.405, allocations: 2.538 MB / 0.6057 GB, free: 43.66 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)