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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 217.2 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8978/0.8978, allocations: 145 MB / 457.4 MB, free: 15.35 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 70.64 kB / 0.6335 GB, free: 6.367 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 87.89 MB / 0.7194 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002795/0.1732, allocations: 1.412 MB / 0.7207 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.1742, allocations: 470.4 kB / 0.7212 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.1742, allocations: 4 kB / 0.7212 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.61e-05/0.1743, allocations: 7.922 kB / 0.7212 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.1744, allocations: 7.938 kB / 0.7212 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.1752, allocations: 251.3 kB / 0.7215 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1754, allocations: 147.8 kB / 0.7216 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.1755, allocations: 8 kB / 0.7216 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.1756, allocations: 59.83 kB / 0.7217 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.499e-05/0.1756, allocations: 35.91 kB / 0.7217 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.1757, allocations: 8 kB / 0.7217 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.176, allocations: 187.8 kB / 0.7219 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.1761, allocations: 39.91 kB / 0.7219 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.1761, allocations: 43.78 kB / 0.722 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.1765, allocations: 239.3 kB / 0.7222 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1765, allocations: 0 / 0.7222 GB, free: 11.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1765, allocations: 4 kB / 0.7222 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.1765, allocations: 0 / 0.7222 GB, free: 11.57 MB / 0.545 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.0006106/0.1771, allocations: 383.2 kB / 0.7226 GB, free: 11.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1772, allocations: 12.03 kB / 0.7226 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.1772, allocations: 12.89 kB / 0.7226 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1775, allocations: 150.3 kB / 0.7227 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1775, allocations: 12.36 kB / 0.7227 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1775, allocations: 12.38 kB / 0.7227 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1777, allocations: 75.95 kB / 0.7228 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1777, allocations: 4.188 kB / 0.7228 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1777, allocations: 11.94 kB / 0.7228 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1777, allocations: 0 / 0.7228 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.1778, allocations: 39.92 kB / 0.7229 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.178, allocations: 154.2 kB / 0.723 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1781, allocations: 73.2 kB / 0.7231 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.1782, allocations: 57.78 kB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1782, allocations: 0 / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.1784, allocations: 107.8 kB / 0.7232 GB, free: 10.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.1784, allocations: 0 / 0.7232 GB, free: 10.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.00036/0.1788, allocations: 189.9 kB / 0.7234 GB, free: 10.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1789, allocations: 93.11 kB / 0.7235 GB, free: 10.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.179, allocations: 151.7 kB / 0.7237 GB, free: 9.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.1791, allocations: 37.7 kB / 0.7237 GB, free: 9.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.1791, allocations: 100.5 kB / 0.7238 GB, free: 9.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.1792, allocations: 35.72 kB / 0.7238 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.1793, allocations: 49.7 kB / 0.7239 GB, free: 9.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1794, allocations: 326.8 kB / 0.7242 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.1795, allocations: 39.98 kB / 0.7242 GB, free: 9.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.18, allocations: 0.6045 MB / 0.7248 GB, free: 8.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1801, allocations: 93.64 kB / 0.7249 GB, free: 8.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1801, allocations: 4 kB / 0.7249 GB, free: 8.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002481/0.1804, allocations: 169.4 kB / 0.7251 GB, free: 8.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1804, allocations: 7.938 kB / 0.7251 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.1804, allocations: 4 kB / 0.7251 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1804, allocations: 0 / 0.7251 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.1805, allocations: 15.92 kB / 0.7251 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1805, allocations: 4.141 kB / 0.7251 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.1808, allocations: 75.8 kB / 0.7252 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1808, allocations: 4 kB / 0.7252 GB, free: 8.152 MB / 0.545 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1809, allocations: 141.9 kB / 0.7253 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.181, allocations: 15.84 kB / 0.7253 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.181, allocations: 16.72 kB / 0.7253 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.181, allocations: 0 / 0.7253 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.181, allocations: 8 kB / 0.7253 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.181, allocations: 3.984 kB / 0.7254 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1811, allocations: 129.2 kB / 0.7255 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1811, allocations: 3.938 kB / 0.7255 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.1812, allocations: 15.92 kB / 0.7255 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1812, allocations: 0 / 0.7255 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1812, allocations: 11.94 kB / 0.7255 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1812, allocations: 0 / 0.7255 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1812, allocations: 0 / 0.7255 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1814, allocations: 177.9 kB / 0.7257 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.1815, allocations: 7.953 kB / 0.7257 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1815, allocations: 7.938 kB / 0.7257 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.1815, allocations: 7.984 kB / 0.7257 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1816, allocations: 8 kB / 0.7257 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1816, allocations: 3.984 kB / 0.7257 GB, free: 7.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.451e-05/0.1817, allocations: 117.4 kB / 0.7258 GB, free: 7.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1817, allocations: 0 / 0.7258 GB, free: 7.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003088/0.182, allocations: 75.88 kB / 0.7259 GB, free: 7.352 MB / 0.545 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 (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.000263/0.1822, allocations: 159 kB / 0.726 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1825, allocations: 171.3 kB / 0.7262 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1825, allocations: 0 / 0.7262 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.1826, allocations: 35.98 kB / 0.7262 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.1827, allocations: 8 kB / 0.7263 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.1832, allocations: 231.1 kB / 0.7265 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.1833, allocations: 96.94 kB / 0.7266 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.1833, allocations: 8.656 kB / 0.7266 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.1834, allocations: 15.44 kB / 0.7266 GB, free: 6.566 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1834, allocations: 0 / 0.7266 GB, free: 6.566 MB / 0.545 GB Notification: Performance of Templates: time 0.006318/0.1897, allocations: 2.797 MB / 0.7293 GB, free: 3.824 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.463838340714574] Failed to read output from testmodel.py, exit status != 0: 0.1984291672706604 0.213495872 0.033901847 Calling exit ...