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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 252 MB / 267 MB, free: 10.96 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.001111/0.001111, allocations: 176 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.0007713/0.0007715, allocations: 100.8 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003122, allocations: 7.781 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1868, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.00135/0.1882, allocations: 1.144 MB / 0.9014 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.1888, allocations: 391.1 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.1888, allocations: 4 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.817e-05/0.1889, allocations: 7.922 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.1891, allocations: 15.86 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.1895, allocations: 194.4 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1897, allocations: 255.7 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.1897, allocations: 12.16 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1899, allocations: 135.8 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.19, allocations: 131.7 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.1901, allocations: 16 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.994e-05/0.1902, allocations: 31.98 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.1902, allocations: 43.89 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.1903, allocations: 65.62 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1904, allocations: 183.6 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1905, allocations: 4 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1905, allocations: 0 / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1905, allocations: 0 / 0.9028 GB, free: 61.18 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.0007253/0.1912, allocations: 0.5062 MB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1912, allocations: 12.03 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.1913, allocations: 46.55 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.1914, allocations: 31.8 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1916, allocations: 257.2 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.1916, allocations: 19.98 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.1917, allocations: 27.98 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.1921, allocations: 260.8 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1921, allocations: 0 / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1922, allocations: 7.984 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1922, allocations: 4 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.1924, allocations: 103.8 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.1927, allocations: 375.9 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.1931, allocations: 246.6 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.1933, allocations: 131.4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1933, allocations: 4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.1938, allocations: 280.4 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.1938, allocations: 0 / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.0009653/0.1947, allocations: 0.5361 MB / 0.9056 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1948, allocations: 144.8 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.407e-05/0.1949, allocations: 147.7 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.1949, allocations: 45.69 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.195, allocations: 104.6 kB / 0.906 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.1951, allocations: 63.23 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.1951, allocations: 15.94 kB / 0.9061 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.1951, allocations: 326.8 kB / 0.9064 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.1954, allocations: 175.9 kB / 0.9066 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1956, allocations: 215.3 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1959, allocations: 230.2 kB / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1959, allocations: 0 / 0.907 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008262/0.1967, allocations: 0.7308 MB / 0.9077 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.1968, allocations: 95.39 kB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1968, allocations: 4 kB / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1968, allocations: 0 / 0.9078 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1969, allocations: 19.92 kB / 0.9078 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1969, allocations: 3.984 kB / 0.9078 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.1973, allocations: 94.12 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.1974, allocations: 16 kB / 0.9079 GB, free: 55.6 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 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.1975, allocations: 164.3 kB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1976, allocations: 23.81 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.1976, allocations: 20.66 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1976, allocations: 4 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1976, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1976, allocations: 0 / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.1978, allocations: 269.3 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1978, allocations: 4 kB / 0.9084 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.1979, allocations: 15.98 kB / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1979, allocations: 0 / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.1979, allocations: 15.97 kB / 0.9084 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1979, allocations: 7.953 kB / 0.9084 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1979, allocations: 3.938 kB / 0.9084 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.1986, allocations: 462.7 kB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.1987, allocations: 92.86 kB / 0.909 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.1987, allocations: 23.98 kB / 0.909 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1989, allocations: 15.97 kB / 0.909 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1989, allocations: 23.92 kB / 0.909 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.199, allocations: 23.92 kB / 0.909 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.199, allocations: 119.2 kB / 0.9092 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.102e-06/0.199, allocations: 0 / 0.9092 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002926/0.1993, allocations: 79.92 kB / 0.9092 GB, free: 54.16 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009225/0.2003, allocations: 1.044 MB / 0.9103 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.201, allocations: 0.6912 MB / 0.9109 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.201, allocations: 0 / 0.9109 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.2013, allocations: 163.8 kB / 0.9111 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.2015, allocations: 23.69 kB / 0.9111 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.2035, allocations: 1.574 MB / 0.9126 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2037, allocations: 0.7169 MB / 0.9133 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2037, allocations: 13.42 kB / 0.9134 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.2038, allocations: 39.42 kB / 0.9134 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2038, allocations: 0 / 0.9134 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.2192, allocations: 4.677 MB / 0.918 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.2194, allocations: 208.1 kB / 0.9182 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/1.985, allocations: 0 / 0.9182 GB, free: 45.01 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)