Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001352/0.001352, allocations: 192.5 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.659/1.659, allocations: 251.6 MB / 0.5088 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.91 kB / 0.6216 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9105, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004482/0.9151, allocations: 1.502 MB / 0.7253 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.9165, allocations: 454.9 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.9166, allocations: 0 / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.9168, allocations: 11.92 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.9171, allocations: 15.88 kB / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000821/0.9179, allocations: 206.2 kB / 0.7259 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.9184, allocations: 287.7 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.9184, allocations: 12.22 kB / 0.7262 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.9188, allocations: 135.7 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.9191, allocations: 123.6 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.062e-05/0.9192, allocations: 16 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.9194, allocations: 39.98 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.9195, allocations: 47.88 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.9198, allocations: 103.7 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.9203, allocations: 253.3 kB / 0.7269 GB, free: 9.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.9203, allocations: 0 / 0.7269 GB, free: 9.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9203, allocations: 4 kB / 0.7269 GB, free: 9.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.9203, allocations: 0 / 0.7269 GB, free: 9.965 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001527/0.9219, allocations: 0.584 MB / 0.7275 GB, free: 9.316 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.9219, allocations: 12.03 kB / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.9222, allocations: 28.75 kB / 0.7275 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.9226, allocations: 248 kB / 0.7277 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.9227, allocations: 20.36 kB / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.9228, allocations: 32.36 kB / 0.7278 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.9235, allocations: 255.8 kB / 0.728 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.9235, allocations: 4.125 kB / 0.728 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.9236, allocations: 11.92 kB / 0.7281 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.9236, allocations: 4 kB / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.9239, allocations: 103.8 kB / 0.7282 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.9245, allocations: 387.8 kB / 0.7285 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.9251, allocations: 238.5 kB / 0.7288 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.9254, allocations: 135.5 kB / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.9254, allocations: 4.125 kB / 0.7289 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007241/0.9262, allocations: 272.5 kB / 0.7292 GB, free: 7.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.9262, allocations: 4 kB / 0.7292 GB, free: 7.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001311/0.9275, allocations: 0.5284 MB / 0.7297 GB, free: 6.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.9276, allocations: 148.4 kB / 0.7298 GB, free: 6.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.9278, allocations: 149.7 kB / 0.73 GB, free: 6.543 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.9279, allocations: 41.7 kB / 0.73 GB, free: 6.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.928, allocations: 108.6 kB / 0.7301 GB, free: 6.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.877e-05/0.9281, allocations: 67.44 kB / 0.7302 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.9283, allocations: 85.67 kB / 0.7302 GB, free: 6.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.9284, allocations: 330.8 kB / 0.7306 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.9288, allocations: 179.9 kB / 0.7307 GB, free: 5.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.9291, allocations: 219.2 kB / 0.7309 GB, free: 5.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.9295, allocations: 304.6 kB / 0.7312 GB, free: 5.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9296, allocations: 0 / 0.7312 GB, free: 5.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001287/0.9309, allocations: 0.7253 MB / 0.7319 GB, free: 4.434 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.931, allocations: 99.3 kB / 0.732 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.931, allocations: 0 / 0.732 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.931, allocations: 0 / 0.732 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.9312, allocations: 23.98 kB / 0.7321 GB, free: 4.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.9312, allocations: 4 kB / 0.7321 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.9316, allocations: 78.62 kB / 0.7321 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.9317, allocations: 19.98 kB / 0.7322 GB, free: 4.203 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.iPerSto,$PRE.occSchWee.iPerSto,occSchWee.iPerSta,$PRE.occSchWee.iPerSta,occSchWee.nexStoInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStaInd,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition4,$whenCondition3,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.iPerSto,$PRE.occSchDay.iPerSto,occSchDay.iPerSta,$PRE.occSchDay.iPerSta,occSchDay.nexStoInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStaInd,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001997/0.9319, allocations: 160.4 kB / 0.7323 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.9319, allocations: 23.83 kB / 0.7323 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.932, allocations: 20.72 kB / 0.7323 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.932, allocations: 7.938 kB / 0.7324 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.932, allocations: 0 / 0.7324 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.9321, allocations: 4 kB / 0.7324 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.9324, allocations: 265.3 kB / 0.7326 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9324, allocations: 4 kB / 0.7326 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.9325, allocations: 15.94 kB / 0.7326 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.9325, allocations: 7.875 kB / 0.7326 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.9325, allocations: 19.97 kB / 0.7327 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.9325, allocations: 0 / 0.7327 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9325, allocations: 4 kB / 0.7327 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000878/0.9334, allocations: 466 kB / 0.7331 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.9335, allocations: 96.86 kB / 0.7332 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.9336, allocations: 23.92 kB / 0.7332 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.9337, allocations: 15.98 kB / 0.7332 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.9338, allocations: 23.91 kB / 0.7333 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.9339, allocations: 23.97 kB / 0.7333 GB, free: 2.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001029/0.934, allocations: 121.4 kB / 0.7334 GB, free: 2.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.934, allocations: 0 / 0.7334 GB, free: 2.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003369/0.9343, allocations: 75.98 kB / 0.7335 GB, free: 2.75 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.000273/0.9346, allocations: 135.2 kB / 0.7336 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.9356, allocations: 0.7106 MB / 0.7343 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.9356, allocations: 0 / 0.7343 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.936, allocations: 159.9 kB / 0.7344 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.9362, allocations: 19.91 kB / 0.7345 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.9372, allocations: 424.5 kB / 0.7349 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.9376, allocations: 0.713 MB / 0.7356 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.9376, allocations: 13.42 kB / 0.7356 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.9377, allocations: 19.44 kB / 0.7356 GB, free: 488 kB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.9377, allocations: 0 / 0.7356 GB, free: 488 kB / 0.545 GB Notification: Performance of Templates: time 0.008209/0.9459, allocations: 3.353 MB / 0.7389 GB, free: 13.17 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)