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.001614/0.001614, allocations: 109.8 kB / 16.41 MB, free: 6.441 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.00193/0.00193, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.48/1.48, 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.8827/0.8827, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 58.78 kB / 0.5962 GB, free: 12.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 82.03 MB / 0.6763 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003387/0.1513, allocations: 1.783 MB / 0.6781 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1531, allocations: 1.018 MB / 0.679 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1532, allocations: 7.938 kB / 0.6791 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.1539, allocations: 163.5 kB / 0.6792 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.1542, allocations: 119.6 kB / 0.6793 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.1547, allocations: 166.8 kB / 0.6795 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.155, allocations: 163.6 kB / 0.6796 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1551, allocations: 29.09 kB / 0.6797 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1553, allocations: 71.69 kB / 0.6797 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1554, allocations: 63.77 kB / 0.6798 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.1554, allocations: 8 kB / 0.6798 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.1556, allocations: 67.89 kB / 0.6799 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.1557, allocations: 39.91 kB / 0.6799 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.149e-05/0.1558, allocations: 63.59 kB / 0.68 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.1561, allocations: 199.3 kB / 0.6802 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1561, allocations: 0 / 0.6802 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1561, allocations: 0 / 0.6802 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.1561, allocations: 0 / 0.6802 GB, free: 6.488 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.0007501/0.1569, allocations: 0.4924 MB / 0.6806 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1569, allocations: 8.031 kB / 0.6806 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.157, allocations: 16.75 kB / 0.6807 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1573, allocations: 248.8 kB / 0.6809 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1573, allocations: 384 / 0.6809 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1573, allocations: 8.125 kB / 0.6809 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.1575, allocations: 91.31 kB / 0.681 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1575, allocations: 4 kB / 0.681 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1575, allocations: 4 kB / 0.681 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1576, allocations: 0 / 0.681 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.1577, allocations: 43.91 kB / 0.681 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.1582, allocations: 356.6 kB / 0.6814 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1584, allocations: 70.78 kB / 0.6814 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.1585, allocations: 44.72 kB / 0.6815 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1585, allocations: 0 / 0.6815 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.1587, allocations: 83.38 kB / 0.6816 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.1587, allocations: 0 / 0.6816 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000351/0.159, allocations: 141.4 kB / 0.6817 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1591, allocations: 81.11 kB / 0.6818 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1594, allocations: 259 kB / 0.682 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1594, allocations: 33.7 kB / 0.6821 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.1595, allocations: 116 kB / 0.6822 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1595, allocations: 31.62 kB / 0.6822 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1596, allocations: 29.7 kB / 0.6822 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1597, allocations: 326.8 kB / 0.6825 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.1597, allocations: 27.98 kB / 0.6826 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.1598, allocations: 63.36 kB / 0.6826 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.16, allocations: 73.69 kB / 0.6827 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.16, allocations: 0 / 0.6827 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002004/0.1602, allocations: 113.8 kB / 0.6828 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1602, allocations: 13.86 kB / 0.6828 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1602, allocations: 0 / 0.6828 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1603, allocations: 0 / 0.6828 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.1603, allocations: 16.06 kB / 0.6828 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1604, allocations: 3.938 kB / 0.6828 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.1604, allocations: 7.938 kB / 0.6828 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1604, allocations: 4 kB / 0.6829 GB, free: 3.457 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.0001343/0.1606, allocations: 151.2 kB / 0.683 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1606, allocations: 15.81 kB / 0.683 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.1607, allocations: 17.41 kB / 0.683 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.1607, allocations: 7.984 kB / 0.683 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1607, allocations: 4 kB / 0.683 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1607, allocations: 7.875 kB / 0.683 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1609, allocations: 221.5 kB / 0.6833 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1609, allocations: 4 kB / 0.6833 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.1609, allocations: 0 / 0.6833 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1609, allocations: 4 kB / 0.6833 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.161, allocations: 0 / 0.6833 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.161, allocations: 0 / 0.6833 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.161, allocations: 0 / 0.6833 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1612, allocations: 156.8 kB / 0.6834 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.1613, allocations: 92.91 kB / 0.6835 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.1613, allocations: 0 / 0.6835 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.725e-05/0.1614, allocations: 11.98 kB / 0.6835 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1614, allocations: 0 / 0.6835 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1614, allocations: 7.938 kB / 0.6835 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002004/0.1616, allocations: 192.6 kB / 0.6837 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1617, allocations: 0 / 0.6837 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002744/0.1619, allocations: 32 kB / 0.6837 GB, free: 2.453 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.001161/0.1631, allocations: 436 kB / 0.6842 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1634, allocations: 71.95 kB / 0.6842 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1634, allocations: 0 / 0.6842 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1635, allocations: 43.92 kB / 0.6843 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1639, allocations: 39.44 kB / 0.6843 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.1645, allocations: 332.7 kB / 0.6846 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1649, allocations: 0.724 MB / 0.6853 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.1649, allocations: 19.38 kB / 0.6853 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1649, allocations: 0 / 0.6853 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of Templates: time 0.005433/0.1704, allocations: 2.583 MB / 0.6879 GB, free: 14.33 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)