Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 186.2 kB / 22.98 MB, free: 5.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 251.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9084/0.9084, allocations: 149.6 MB / 456.6 MB, free: 1.281 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 65.36 kB / 0.6328 GB, free: 9.121 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1706, allocations: 87.88 MB / 0.7186 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002683/0.1733, allocations: 1.426 MB / 0.72 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.1742, allocations: 490.3 kB / 0.7205 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.1742, allocations: 0 / 0.7205 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.1743, allocations: 7.938 kB / 0.7205 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.1744, allocations: 11.86 kB / 0.7205 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008443/0.1752, allocations: 254.2 kB / 0.7207 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1754, allocations: 147.7 kB / 0.7209 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.1755, allocations: 0 / 0.7209 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.1756, allocations: 63.89 kB / 0.7209 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.1757, allocations: 39.83 kB / 0.721 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.1757, allocations: 12 kB / 0.721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.176, allocations: 195.8 kB / 0.7212 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.1761, allocations: 31.91 kB / 0.7212 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.1761, allocations: 63.7 kB / 0.7213 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.1765, allocations: 231.3 kB / 0.7215 GB, free: 14.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1765, allocations: 4 kB / 0.7215 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1765, allocations: 0 / 0.7215 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1765, allocations: 0 / 0.7215 GB, free: 14.21 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.0005704/0.177, allocations: 377.6 kB / 0.7219 GB, free: 13.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1771, allocations: 12.62 kB / 0.7219 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.1771, allocations: 16.84 kB / 0.7219 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.1773, allocations: 144.5 kB / 0.722 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1773, allocations: 12.36 kB / 0.722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1774, allocations: 12.38 kB / 0.722 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1775, allocations: 83.89 kB / 0.7221 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1775, allocations: 192 / 0.7221 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1775, allocations: 11.94 kB / 0.7221 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1776, allocations: 3.938 kB / 0.7221 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.1776, allocations: 35.98 kB / 0.7222 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.1779, allocations: 201.5 kB / 0.7224 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.178, allocations: 81.14 kB / 0.7224 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.159e-05/0.1781, allocations: 49.84 kB / 0.7225 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1781, allocations: 7.938 kB / 0.7225 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.1783, allocations: 113 kB / 0.7226 GB, free: 12.92 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.051e-06/0.1783, allocations: 0 / 0.7226 GB, free: 12.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003489/0.1786, allocations: 197.4 kB / 0.7228 GB, free: 12.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.1787, allocations: 81.11 kB / 0.7229 GB, free: 12.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1788, allocations: 148.6 kB / 0.723 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.1788, allocations: 41.69 kB / 0.7231 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.1789, allocations: 96.52 kB / 0.7232 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.179, allocations: 47.67 kB / 0.7232 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.179, allocations: 45.7 kB / 0.7232 GB, free: 12.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1792, allocations: 330.8 kB / 0.7236 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.1792, allocations: 43.97 kB / 0.7236 GB, free: 11.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1794, allocations: 201.9 kB / 0.7238 GB, free: 11.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1796, allocations: 97.58 kB / 0.7239 GB, free: 11.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1796, allocations: 0 / 0.7239 GB, free: 11.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002182/0.1798, allocations: 161.4 kB / 0.724 GB, free: 11.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1798, allocations: 4 kB / 0.724 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1798, allocations: 4 kB / 0.724 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1798, allocations: 0 / 0.724 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.1799, allocations: 11.98 kB / 0.7241 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1799, allocations: 4 kB / 0.7241 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.1802, allocations: 71.8 kB / 0.7241 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1802, allocations: 4 kB / 0.7241 GB, free: 11.24 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.0001213/0.1803, allocations: 145.8 kB / 0.7243 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1803, allocations: 19.92 kB / 0.7243 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.1803, allocations: 12.72 kB / 0.7243 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1804, allocations: 0 / 0.7243 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1804, allocations: 0 / 0.7243 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1804, allocations: 4 kB / 0.7243 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1805, allocations: 160.7 kB / 0.7245 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1805, allocations: 3.938 kB / 0.7245 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1805, allocations: 8 kB / 0.7245 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1805, allocations: 4 kB / 0.7245 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1805, allocations: 4 kB / 0.7245 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.1806, allocations: 11.98 kB / 0.7245 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1806, allocations: 0 / 0.7245 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1808, allocations: 177.8 kB / 0.7247 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.1808, allocations: 15.83 kB / 0.7247 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1808, allocations: 4 kB / 0.7247 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.598e-05/0.1809, allocations: 7.938 kB / 0.7247 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1809, allocations: 11.98 kB / 0.7247 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1809, allocations: 4 kB / 0.7247 GB, free: 10.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.678e-05/0.181, allocations: 115.2 kB / 0.7248 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.181, allocations: 0 / 0.7248 GB, free: 10.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002898/0.1813, allocations: 71.86 kB / 0.7249 GB, free: 10.39 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.0002231/0.1815, allocations: 160.8 kB / 0.725 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1817, allocations: 159.3 kB / 0.7252 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1817, allocations: 0 / 0.7252 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.1818, allocations: 47.89 kB / 0.7252 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.182, allocations: 14.06 kB / 0.7252 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.1824, allocations: 227.3 kB / 0.7255 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1827, allocations: 0.7118 MB / 0.7262 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.1827, allocations: 8.672 kB / 0.7262 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.1827, allocations: 11.44 kB / 0.7262 GB, free: 8.988 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1827, allocations: 0 / 0.7262 GB, free: 8.988 MB / 0.545 GB Notification: Performance of Templates: time 0.005386/0.1881, allocations: 2.576 MB / 0.7287 GB, free: 6.445 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1881980849429965] Failed to read output from testmodel.py, exit status != 0: 0.1959257274866104 0.208493265 0.029278314000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe52474d7b0>