Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001343/0.001343, allocations: 199.2 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9818/0.9818, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1905, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002866/0.1934, allocations: 1.466 MB / 0.595 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1945, allocations: 0.5257 MB / 0.5955 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.1946, allocations: 0 / 0.5955 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.211e-05/0.1947, allocations: 3.984 kB / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.688e-05/0.1948, allocations: 11.92 kB / 0.5956 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007684/0.1956, allocations: 193.5 kB / 0.5957 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1958, allocations: 143.7 kB / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.1959, allocations: 4 kB / 0.5959 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.1959, allocations: 47.91 kB / 0.5959 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.196, allocations: 43.81 kB / 0.596 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1961, allocations: 4 kB / 0.596 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1964, allocations: 167.8 kB / 0.5961 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.1965, allocations: 39.89 kB / 0.5962 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.1966, allocations: 47.78 kB / 0.5962 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.197, allocations: 231.7 kB / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.197, allocations: 0 / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.197, allocations: 0 / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.197, allocations: 0 / 0.5964 GB, free: 7.141 MB / 0.4981 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.0006207/0.1976, allocations: 447 kB / 0.5969 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1977, allocations: 8.031 kB / 0.5969 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.1978, allocations: 16.84 kB / 0.5969 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.198, allocations: 206.9 kB / 0.5971 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.198, allocations: 12.36 kB / 0.5971 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.198, allocations: 16.36 kB / 0.5971 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1982, allocations: 83.89 kB / 0.5972 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1982, allocations: 192 / 0.5972 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1982, allocations: 3.938 kB / 0.5972 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1982, allocations: 0 / 0.5972 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.1983, allocations: 35.98 kB / 0.5972 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.1986, allocations: 234.5 kB / 0.5975 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1987, allocations: 81.14 kB / 0.5975 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.1988, allocations: 57.84 kB / 0.5976 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1988, allocations: 0 / 0.5976 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.199, allocations: 115.9 kB / 0.5977 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.199, allocations: 3.938 kB / 0.5977 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003607/0.1994, allocations: 193.3 kB / 0.5979 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.1995, allocations: 85.11 kB / 0.598 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1997, allocations: 145.8 kB / 0.5981 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.1997, allocations: 33.7 kB / 0.5981 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.1998, allocations: 108.5 kB / 0.5982 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.1999, allocations: 39.53 kB / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.2, allocations: 49.7 kB / 0.5983 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2002, allocations: 326.8 kB / 0.5986 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.2002, allocations: 35.98 kB / 0.5987 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.2005, allocations: 205.4 kB / 0.5989 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2006, allocations: 93.64 kB / 0.599 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2006, allocations: 0 / 0.599 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002372/0.2009, allocations: 165.3 kB / 0.5991 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2009, allocations: 4 kB / 0.5991 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.2009, allocations: 8 kB / 0.5991 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2009, allocations: 0 / 0.5991 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.201, allocations: 15.98 kB / 0.5991 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2011, allocations: 0 / 0.5991 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.2013, allocations: 79.75 kB / 0.5992 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2014, allocations: 4 kB / 0.5992 GB, free: 3.969 MB / 0.4981 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.0001179/0.2015, allocations: 133.8 kB / 0.5994 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.2015, allocations: 11.84 kB / 0.5994 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.2015, allocations: 12.72 kB / 0.5994 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2016, allocations: 4.094 kB / 0.5994 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2016, allocations: 7.938 kB / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2016, allocations: 7.984 kB / 0.5994 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.2018, allocations: 197.5 kB / 0.5996 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.2018, allocations: 3.938 kB / 0.5996 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.2018, allocations: 8 kB / 0.5996 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2018, allocations: 0 / 0.5996 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2018, allocations: 4 kB / 0.5996 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2019, allocations: 3.984 kB / 0.5996 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2019, allocations: 0 / 0.5996 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.2021, allocations: 185.8 kB / 0.5998 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.2021, allocations: 92.89 kB / 0.5999 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.2022, allocations: 0 / 0.5999 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.2022, allocations: 8 kB / 0.5999 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.2023, allocations: 3.984 kB / 0.5999 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2023, allocations: 4 kB / 0.5999 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.2024, allocations: 117.6 kB / 0.6 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2024, allocations: 0 / 0.6 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002959/0.2027, allocations: 75.92 kB / 0.6001 GB, free: 3.004 MB / 0.4981 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.0002628/0.203, allocations: 163.2 kB / 0.6002 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.2032, allocations: 163.3 kB / 0.6004 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2032, allocations: 7.938 kB / 0.6004 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.807e-05/0.2033, allocations: 39.92 kB / 0.6004 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.2035, allocations: 19.86 kB / 0.6004 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.2039, allocations: 249.1 kB / 0.6007 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2042, allocations: 0.7004 MB / 0.6014 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.2043, allocations: 12.67 kB / 0.6014 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.2043, allocations: 15.44 kB / 0.6014 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2043, allocations: 0 / 0.6014 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of Templates: time 0.264/0.4683, allocations: 2.431 MB / 0.6038 GB, free: 43.34 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)