Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.4 MB / 304.3 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 190.8 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.885/1.885, allocations: 205.4 MB / 0.6316 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 90.34 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004312, allocations: 11.12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2711, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001595/0.2727, allocations: 1.128 MB / 0.9818 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007439/0.2735, allocations: 475.7 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.2735, allocations: 0 / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.631e-05/0.2736, allocations: 4 kB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.2737, allocations: 11.92 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.2744, allocations: 199 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.2746, allocations: 119.8 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.2747, allocations: 11.98 kB / 0.9826 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.2747, allocations: 55.84 kB / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.2748, allocations: 35.91 kB / 0.9827 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.2748, allocations: 4 kB / 0.9827 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.2751, allocations: 155.8 kB / 0.9829 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.2751, allocations: 35.83 kB / 0.9829 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.2752, allocations: 69.5 kB / 0.983 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.2754, allocations: 163.9 kB / 0.9831 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2755, allocations: 0 / 0.9831 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2755, allocations: 0 / 0.9831 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.2755, allocations: 0 / 0.9831 GB, free: 24.88 MB / 0.6198 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.0004979/0.276, allocations: 423.1 kB / 0.9835 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.276, allocations: 8.031 kB / 0.9835 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.2761, allocations: 16.75 kB / 0.9835 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.2763, allocations: 213.1 kB / 0.9837 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2763, allocations: 8.375 kB / 0.9837 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.2763, allocations: 12.38 kB / 0.9838 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2765, allocations: 79.95 kB / 0.9838 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2765, allocations: 4.188 kB / 0.9838 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2765, allocations: 3.938 kB / 0.9838 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2765, allocations: 0 / 0.9838 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/0.2766, allocations: 43.91 kB / 0.9839 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.2768, allocations: 226.4 kB / 0.9841 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.2769, allocations: 89.22 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.277, allocations: 57.75 kB / 0.9842 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.277, allocations: 4 kB / 0.9842 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.2772, allocations: 105.1 kB / 0.9843 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2773, allocations: 0 / 0.9843 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003148/0.2776, allocations: 185.4 kB / 0.9845 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.2776, allocations: 97.09 kB / 0.9846 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2777, allocations: 148 kB / 0.9848 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2778, allocations: 33.7 kB / 0.9848 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.2778, allocations: 104.5 kB / 0.9849 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2779, allocations: 39.44 kB / 0.9849 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-06/0.2779, allocations: 4 kB / 0.9849 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.278, allocations: 322.8 kB / 0.9852 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.278, allocations: 43.92 kB / 0.9853 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.2782, allocations: 197.1 kB / 0.9855 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.2783, allocations: 97.64 kB / 0.9856 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2783, allocations: 3.938 kB / 0.9856 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001861/0.2785, allocations: 161.4 kB / 0.9857 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.727e-05/0.2786, allocations: 4 kB / 0.9857 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.2787, allocations: 4 kB / 0.9857 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.2787, allocations: 0 / 0.9857 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.2788, allocations: 11.94 kB / 0.9857 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.2788, allocations: 3.984 kB / 0.9857 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.2791, allocations: 91.75 kB / 0.9858 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2791, allocations: 11.94 kB / 0.9858 GB, free: 21.77 MB / 0.6198 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 0.0001237/0.2792, allocations: 129.8 kB / 0.986 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.2793, allocations: 19.75 kB / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.2793, allocations: 12.72 kB / 0.986 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2793, allocations: 0 / 0.986 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2793, allocations: 4 kB / 0.986 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.2794, allocations: 81.02 kB / 0.9861 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2794, allocations: 7.984 kB / 0.9861 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.2794, allocations: 8 kB / 0.9861 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.2795, allocations: 7.938 kB / 0.9861 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002707/0.2797, allocations: 312.1 kB / 0.9864 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002562/0.28, allocations: 401.9 kB / 0.9868 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.206e-05/0.2801, allocations: 40.16 kB / 0.9868 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.2801, allocations: 112.5 kB / 0.9869 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of Backend: time 1.052e-06/0.2802, allocations: 0 / 0.9869 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000768/0.2809, allocations: 275.3 kB / 0.9872 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000568/0.2815, allocations: 0.6585 MB / 0.9878 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.005376/0.2869, allocations: 2.424 MB / 0.9902 GB, free: 17.21 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)