Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006678/0.0006678, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007187/0.0007187, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.426 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.8728/0.8728, allocations: 143.2 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002592, allocations: 8 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 83.41 MB / 0.5972 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001222/0.1275, allocations: 1.116 MB / 0.5983 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.1282, allocations: 470.8 kB / 0.5988 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1283, allocations: 0 / 0.5988 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.383e-05/0.1283, allocations: 7.938 kB / 0.5988 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.1284, allocations: 7.969 kB / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.1289, allocations: 198.8 kB / 0.599 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1291, allocations: 127.7 kB / 0.5991 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1292, allocations: 0 / 0.5991 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.1292, allocations: 47.91 kB / 0.5992 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.1293, allocations: 47.81 kB / 0.5992 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1293, allocations: 8 kB / 0.5992 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.1296, allocations: 151.8 kB / 0.5994 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.1296, allocations: 27.91 kB / 0.5994 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.1297, allocations: 45.7 kB / 0.5994 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1299, allocations: 167.9 kB / 0.5996 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1299, allocations: 4 kB / 0.5996 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1299, allocations: 0 / 0.5996 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.1299, allocations: 0 / 0.5996 GB, free: 5.668 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.0004491/0.1304, allocations: 418.9 kB / 0.6 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1304, allocations: 11.97 kB / 0.6 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1304, allocations: 15.91 kB / 0.6 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1306, allocations: 210.8 kB / 0.6002 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1307, allocations: 8 kB / 0.6002 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1307, allocations: 12 kB / 0.6002 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1308, allocations: 75.39 kB / 0.6003 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1308, allocations: 7.984 kB / 0.6003 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.1309, allocations: 0 / 0.6003 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1309, allocations: 0 / 0.6003 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.1309, allocations: 43.91 kB / 0.6004 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.1312, allocations: 238.4 kB / 0.6006 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/0.1313, allocations: 85.17 kB / 0.6007 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.1313, allocations: 49.81 kB / 0.6007 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1313, allocations: 4 kB / 0.6007 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1315, allocations: 109.1 kB / 0.6008 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1315, allocations: 0 / 0.6008 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0002938/0.1318, allocations: 185.4 kB / 0.601 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.1319, allocations: 89.09 kB / 0.6011 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.132, allocations: 160.4 kB / 0.6012 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1321, allocations: 33.7 kB / 0.6013 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.1321, allocations: 104.5 kB / 0.6014 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.1322, allocations: 39.53 kB / 0.6014 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.1322, allocations: 0 / 0.6014 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1323, allocations: 326.8 kB / 0.6017 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.1323, allocations: 36.17 kB / 0.6017 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.1325, allocations: 202.6 kB / 0.6019 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.128e-05/0.1326, allocations: 59.86 kB / 0.602 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1326, allocations: 4 kB / 0.602 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002016/0.1328, allocations: 157.4 kB / 0.6022 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1328, allocations: 7.984 kB / 0.6022 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.1329, allocations: 4 kB / 0.6022 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1329, allocations: 0 / 0.6022 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.133, allocations: 12 kB / 0.6022 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.133, allocations: 0.625 kB / 0.6022 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.1332, allocations: 89.92 kB / 0.6023 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1332, allocations: 8 kB / 0.6023 GB, free: 2.609 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: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/0.1333, allocations: 137.8 kB / 0.6024 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.1334, allocations: 15.81 kB / 0.6024 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.1334, allocations: 12.7 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1334, allocations: 4 kB / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1334, allocations: 0 / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1334, allocations: 0 / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1336, allocations: 193.6 kB / 0.6026 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1336, allocations: 7.938 kB / 0.6026 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.1336, allocations: 15.94 kB / 0.6026 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1336, allocations: 96 / 0.6026 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1336, allocations: 4 kB / 0.6026 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1336, allocations: 0 / 0.6026 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.1336, allocations: 7.984 kB / 0.6026 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.1338, allocations: 193.6 kB / 0.6028 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.1339, allocations: 84.95 kB / 0.6029 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1339, allocations: 11.98 kB / 0.6029 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.134, allocations: 4 kB / 0.6029 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.134, allocations: 4 kB / 0.6029 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.134, allocations: 7.984 kB / 0.6029 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.345e-05/0.1341, allocations: 115.2 kB / 0.6031 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 0 / 0.6031 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002681/0.1344, allocations: 68 kB / 0.6031 GB, free: 1.637 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001973/0.1346, allocations: 171.1 kB / 0.6033 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.1348, allocations: 155.4 kB / 0.6034 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1348, allocations: 0 / 0.6034 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.1349, allocations: 43.92 kB / 0.6035 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.135, allocations: 9.891 kB / 0.6035 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.1354, allocations: 242.5 kB / 0.6037 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1356, allocations: 0.7043 MB / 0.6044 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.1356, allocations: 4.672 kB / 0.6044 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.1356, allocations: 11.44 kB / 0.6044 GB, free: 232 kB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1356, allocations: 0 / 0.6044 GB, free: 232 kB / 0.4981 GB Notification: Performance of Templates: time 0.2094/0.3451, allocations: 2.354 MB / 0.6067 GB, free: 40.48 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)