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/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6567/0.6567, allocations: 117.9 MB / 133.9 MB, free: 9.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009789/0.000979, allocations: 184.5 kB / 161.7 MB, free: 13.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 394.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.27 kB / 470.1 MB, free: 28.98 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004456, allocations: 16 kB / 0.5423 GB, free: 9.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1458, allocations: 74.54 MB / 0.6151 GB, free: 15.17 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4996/0.6454, allocations: 102.1 MB / 0.7149 GB, free: 31.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6458, allocations: 74.56 kB / 0.7149 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01332/0.6591, allocations: 3.442 MB / 0.7183 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6591, allocations: 0 / 0.7183 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.6592, allocations: 4 kB / 0.7183 GB, free: 29.19 MB / 0.4948 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.0009847/0.6602, allocations: 0.5452 MB / 0.7188 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6602, allocations: 12.03 kB / 0.7189 GB, free: 28.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.6604, allocations: 26.06 kB / 0.7189 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.661, allocations: 275.6 kB / 0.7191 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/0.6611, allocations: 23.02 kB / 0.7192 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.6611, allocations: 26.67 kB / 0.7192 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.6618, allocations: 256.2 kB / 0.7194 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6618, allocations: 3.938 kB / 0.7194 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.6619, allocations: 10.33 kB / 0.7194 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6619, allocations: 0 / 0.7194 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.6622, allocations: 103.2 kB / 0.7195 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.6627, allocations: 382.1 kB / 0.7199 GB, free: 27.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.6632, allocations: 239.7 kB / 0.7201 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.6636, allocations: 132.2 kB / 0.7203 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.6636, allocations: 4.547 kB / 0.7203 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.6642, allocations: 279.4 kB / 0.7205 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/0.6642, allocations: 0 / 0.7205 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.001415/0.6657, allocations: 0.5287 MB / 0.721 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.6657, allocations: 142.3 kB / 0.7212 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.6659, allocations: 154.3 kB / 0.7213 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.6659, allocations: 38.27 kB / 0.7214 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.666, allocations: 109.5 kB / 0.7215 GB, free: 26.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.6661, allocations: 63.88 kB / 0.7215 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.6662, allocations: 15.75 kB / 0.7215 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.6663, allocations: 327.8 kB / 0.7219 GB, free: 26.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.6667, allocations: 176.8 kB / 0.722 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.6671, allocations: 213.7 kB / 0.7222 GB, free: 25.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.6676, allocations: 317.7 kB / 0.7225 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6676, allocations: 0 / 0.7225 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001329/0.6689, allocations: 0.7264 MB / 0.7232 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/0.669, allocations: 79.45 kB / 0.7233 GB, free: 25.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.669, allocations: 4 kB / 0.7233 GB, free: 25.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6691, allocations: 4.812 kB / 0.7233 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.6692, allocations: 22.09 kB / 0.7234 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6692, allocations: 0.7031 kB / 0.7234 GB, free: 25.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.6697, allocations: 84.67 kB / 0.7234 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.6698, allocations: 27.31 kB / 0.7235 GB, free: 25 MB / 0.4948 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.0001874/0.67, allocations: 156.5 kB / 0.7236 GB, free: 24.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.67, allocations: 25.34 kB / 0.7236 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.6701, allocations: 18.02 kB / 0.7236 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6701, allocations: 4.75 kB / 0.7237 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6701, allocations: 0 / 0.7237 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6702, allocations: 0.8438 kB / 0.7237 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.6704, allocations: 263.3 kB / 0.7239 GB, free: 24.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6705, allocations: 0 / 0.7239 GB, free: 24.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.6705, allocations: 21.62 kB / 0.7239 GB, free: 24.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.6706, allocations: 3.938 kB / 0.7239 GB, free: 24.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.6706, allocations: 11.12 kB / 0.7239 GB, free: 24.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6706, allocations: 4 kB / 0.7239 GB, free: 24.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6706, allocations: 5.297 kB / 0.7239 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.6717, allocations: 466.7 kB / 0.7244 GB, free: 24.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.6717, allocations: 98.33 kB / 0.7245 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/0.6718, allocations: 18.36 kB / 0.7245 GB, free: 24.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.672, allocations: 21.8 kB / 0.7245 GB, free: 24.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.6721, allocations: 19.55 kB / 0.7245 GB, free: 24.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.6722, allocations: 22.61 kB / 0.7246 GB, free: 24.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.907e-05/0.6723, allocations: 112.8 kB / 0.7247 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.343e-06/0.6723, allocations: 0 / 0.7247 GB, free: 23.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005114/0.6728, allocations: 95.23 kB / 0.7248 GB, free: 23.89 MB / 0.4948 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.0002457/0.6731, allocations: 148.6 kB / 0.7249 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.6742, allocations: 0.6871 MB / 0.7256 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6742, allocations: 0 / 0.7256 GB, free: 23.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.6746, allocations: 166.3 kB / 0.7257 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.675, allocations: 31.12 kB / 0.7258 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.676, allocations: 409.6 kB / 0.7262 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.6762, allocations: 0.7155 MB / 0.7269 GB, free: 22.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.984e-05/0.6762, allocations: 13.05 kB / 0.7269 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.6763, allocations: 20.08 kB / 0.7269 GB, free: 22.13 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/0.6763, allocations: 0 / 0.7269 GB, free: 22.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.009186/0.6855, allocations: 3.201 MB / 0.73 GB, free: 20.3 MB / 0.4948 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)