Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001309/0.001308, allocations: 103.3 kB / 16.36 MB, free: 6.312 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.001375/0.001375, allocations: 192.3 kB / 17.3 MB, free: 5.871 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.658/1.658, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.104/2.104, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.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.002223/0.002223, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3864, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003416/0.3899, allocations: 1.429 MB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.391, allocations: 490.3 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.3911, allocations: 4 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.3912, allocations: 7.922 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.3913, allocations: 11.88 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.3922, allocations: 237.5 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3924, allocations: 147.8 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.3925, allocations: 7.984 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.3926, allocations: 51.91 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.3927, allocations: 39.83 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.3927, allocations: 15.94 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.393, allocations: 167.8 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.3931, allocations: 39.89 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.3932, allocations: 55.72 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.3936, allocations: 235.4 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3936, allocations: 0 / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3936, allocations: 4 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.3936, allocations: 0 / 0.7876 GB, free: 240 kB / 0.6544 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.6809/1.075, allocations: 436.6 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 9.978e-05/1.075, allocations: 9.781 kB / 0.7881 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/1.075, allocations: 13.38 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/1.075, allocations: 212 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/1.075, allocations: 5.625 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/1.075, allocations: 12.53 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/1.076, allocations: 86.14 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.076, allocations: 3.906 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.076, allocations: 3.938 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.076, allocations: 4.219 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/1.076, allocations: 36.02 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/1.076, allocations: 236.2 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.076, allocations: 81.31 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.076, allocations: 52.22 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/1.076, allocations: 3.281 kB / 0.7888 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/1.077, allocations: 117.1 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/1.077, allocations: 0 / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0004735/1.077, allocations: 186 kB / 0.7891 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/1.077, allocations: 88.23 kB / 0.7891 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/1.078, allocations: 145.1 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/1.078, allocations: 38.09 kB / 0.7893 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/1.078, allocations: 102.4 kB / 0.7894 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/1.078, allocations: 44.95 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/1.078, allocations: 49 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.078, allocations: 325.8 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.775e-05/1.078, allocations: 38.95 kB / 0.7899 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/1.078, allocations: 205 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/1.079, allocations: 94.75 kB / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/1.079, allocations: 0 / 0.7901 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002937/1.079, allocations: 164.6 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.079, allocations: 5.781 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/1.079, allocations: 7.766 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.079, allocations: 4.906 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/1.079, allocations: 7.219 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.079, allocations: 3.375 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/1.08, allocations: 75.09 kB / 0.7904 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/1.08, allocations: 4.469 kB / 0.7904 GB, free: 47.29 MB / 0.6544 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.0001701/1.08, allocations: 145.4 kB / 0.7905 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/1.08, allocations: 13.66 kB / 0.7905 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/1.08, allocations: 12.72 kB / 0.7906 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.08, allocations: 3.578 kB / 0.7906 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.08, allocations: 0 / 0.7906 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/1.08, allocations: 94.28 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/1.08, allocations: 1.438 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/1.08, allocations: 4.188 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/1.08, allocations: 9.609 kB / 0.7907 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003604/1.081, allocations: 310 kB / 0.791 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003933/1.081, allocations: 403.7 kB / 0.7914 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.585e-05/1.081, allocations: 42.19 kB / 0.7914 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.414e-05/1.081, allocations: 113.9 kB / 0.7915 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of Backend: time 8.21e-07/1.081, allocations: 0.5 kB / 0.7915 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.082, allocations: 275.5 kB / 0.7918 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000766/1.083, allocations: 0.6372 MB / 0.7924 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.007886/1.091, allocations: 2.582 MB / 0.7949 GB, free: 45.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)