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.001166/0.001166, allocations: 97.42 kB / 16.27 MB, free: 6.418 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.001106/0.001106, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.689/1.689, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 1.903/1.903, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.002271/0.002271, allocations: 71.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3056, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002885/0.3085, allocations: 1.414 MB / 0.7854 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.3095, allocations: 0.4905 MB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.3095, allocations: 0 / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3097, allocations: 3.938 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.3097, allocations: 11.92 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.3105, allocations: 238.3 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3107, allocations: 151.8 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.3108, allocations: 7.984 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.3109, allocations: 51.91 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.311, allocations: 43.83 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.311, allocations: 8 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.3113, allocations: 171.8 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.3114, allocations: 35.91 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.3114, allocations: 55.72 kB / 0.7866 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.3118, allocations: 231.7 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3118, allocations: 4 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3118, allocations: 0 / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3118, allocations: 0 / 0.7869 GB, free: 0.9609 MB / 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.0006294/0.3124, allocations: 447 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3125, allocations: 8.031 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.3126, allocations: 12.84 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.3128, allocations: 212 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.3128, allocations: 8.375 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.3129, allocations: 16.38 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3131, allocations: 75.95 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3131, allocations: 4.188 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3131, allocations: 3.938 kB / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3131, allocations: 0 / 0.7876 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.3132, allocations: 43.91 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5791/0.8923, allocations: 222.2 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.8925, allocations: 82.06 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.8926, allocations: 64.73 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.8927, allocations: 3.312 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.893, allocations: 103.4 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 2.344e-06/0.893, allocations: 0.6562 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003919/0.8934, allocations: 195 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.8935, allocations: 84.33 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.8936, allocations: 156.9 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.8936, allocations: 34.89 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.8937, allocations: 102.4 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.8938, allocations: 35.39 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.8939, allocations: 50.92 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.894, allocations: 328.5 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.894, allocations: 45.36 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.8942, allocations: 202.5 kB / 0.7893 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.8944, allocations: 95.03 kB / 0.7894 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8944, allocations: 0.5 kB / 0.7894 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002401/0.8947, allocations: 165.7 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.8947, allocations: 5.25 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.8947, allocations: 6.562 kB / 0.7895 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.8948, allocations: 3.719 kB / 0.7895 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.8949, allocations: 12.19 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8949, allocations: 0 / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.8952, allocations: 78.3 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.8952, allocations: 5.25 kB / 0.7896 GB, free: 47.63 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.0001351/0.8954, allocations: 141.1 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.8954, allocations: 10.75 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.8955, allocations: 15.53 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.8955, allocations: 4.25 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8955, allocations: 3.422 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8955, allocations: 2.438 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.8957, allocations: 194.9 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8957, allocations: 8.734 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.8957, allocations: 5.25 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8957, allocations: 2.625 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.8957, allocations: 3.938 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.8958, allocations: 2.625 kB / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8958, allocations: 0 / 0.79 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.896, allocations: 180.6 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.8961, allocations: 91.41 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.8961, allocations: 9.469 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.8962, allocations: 2.531 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.8962, allocations: 5.281 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.8963, allocations: 4.219 kB / 0.7903 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001139/0.8964, allocations: 119.5 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8964, allocations: 4.672 kB / 0.7904 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000389/0.8968, allocations: 71.25 kB / 0.7905 GB, free: 47.05 MB / 0.6544 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.0002941/0.8971, allocations: 167 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003137/0.8974, allocations: 162.5 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8974, allocations: 1 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.416e-05/0.8975, allocations: 49.61 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.8977, allocations: 6.562 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.8982, allocations: 252.6 kB / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.8985, allocations: 0.7042 MB / 0.7918 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.8985, allocations: 15.44 kB / 0.7918 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of SimCode: time 2.144e-06/0.8985, allocations: 0 / 0.7918 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.005183/0.9037, allocations: 2.449 MB / 0.7942 GB, free: 45.89 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)