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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 181.4 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205 MB / 0.5766 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008391/0.0008392, allocations: 89.86 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.276, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001717/0.2778, allocations: 1.175 MB / 0.8979 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.2787, allocations: 451.7 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.715e-05/0.2788, allocations: 4 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.279, allocations: 11.92 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.2792, allocations: 7.922 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.2798, allocations: 202.1 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.2801, allocations: 291.6 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.46e-05/0.2801, allocations: 16.16 kB / 0.8988 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.2804, allocations: 127.7 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.2806, allocations: 123.7 kB / 0.8991 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.2806, allocations: 12 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2808, allocations: 39.98 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.854e-05/0.2808, allocations: 43.81 kB / 0.8992 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.281, allocations: 111.6 kB / 0.8993 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.2813, allocations: 255.3 kB / 0.8995 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2813, allocations: 3.938 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2813, allocations: 0 / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2814, allocations: 0 / 0.8995 GB, free: 65.32 MB / 0.6042 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.0009/0.2823, allocations: 0.519 MB / 0.9 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.2823, allocations: 8.031 kB / 0.9 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.2825, allocations: 28.75 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.2829, allocations: 256 kB / 0.9003 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.2829, allocations: 20.36 kB / 0.9003 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.283, allocations: 28.36 kB / 0.9003 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.2835, allocations: 255 kB / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2835, allocations: 4.125 kB / 0.9006 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.2836, allocations: 15.92 kB / 0.9006 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2836, allocations: 0 / 0.9006 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.2838, allocations: 103.9 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.2842, allocations: 384.7 kB / 0.9011 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.2846, allocations: 234.6 kB / 0.9013 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.2848, allocations: 135.5 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2849, allocations: 11.94 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000467/0.2853, allocations: 281.4 kB / 0.9017 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 2.355e-06/0.2853, allocations: 0 / 0.9017 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0009796/0.2863, allocations: 0.5292 MB / 0.9022 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2864, allocations: 144.4 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2865, allocations: 155.6 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.2865, allocations: 41.7 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.2866, allocations: 104.6 kB / 0.9026 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.2867, allocations: 67.44 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.2868, allocations: 41.7 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.2868, allocations: 330.8 kB / 0.9031 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2871, allocations: 179.9 kB / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.2873, allocations: 219.1 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.2876, allocations: 317.1 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2876, allocations: 0 / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008451/0.2885, allocations: 0.727 MB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.2886, allocations: 89.56 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2886, allocations: 3.938 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2886, allocations: 4 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.2887, allocations: 19.86 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.2887, allocations: 8.062 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.2891, allocations: 83.67 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.2892, allocations: 27.97 kB / 0.9047 GB, free: 59.64 MB / 0.6042 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.0001324/0.2893, allocations: 164.4 kB / 0.9048 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.2893, allocations: 23.81 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.2894, allocations: 16.66 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2894, allocations: 7.984 kB / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2894, allocations: 0 / 0.9049 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.2894, allocations: 92.95 kB / 0.905 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.2895, allocations: 19.98 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2897, allocations: 15.98 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.2897, allocations: 27.91 kB / 0.905 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007268/0.2905, allocations: 0.733 MB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007248/0.2912, allocations: 0.8008 MB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002499/0.2915, allocations: 151.9 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.2915, allocations: 120.9 kB / 0.9068 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of Backend: time 3.11e-07/0.2915, allocations: 4.031 kB / 0.9068 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.2925, allocations: 0.6767 MB / 0.9075 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005796/0.2931, allocations: 0.7166 MB / 0.9082 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.006437/0.2996, allocations: 3.404 MB / 0.9115 GB, free: 52.59 MB / 0.6042 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)