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.5.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.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7401/0.7401, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 175.8 kB / 169.7 MB, free: 1.754 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.717/1.717, allocations: 205.1 MB / 404.5 MB, free: 1.578 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.000892/0.0008918, allocations: 78.48 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.583e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1633, allocations: 76.76 MB / 0.6282 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5941/0.7575, allocations: 103.2 MB / 0.729 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.7578, allocations: 76.59 kB / 0.7291 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.769, allocations: 3.422 MB / 0.7324 GB, free: 7.168 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.307e-06/0.7691, allocations: 0 / 0.7324 GB, free: 7.168 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.7691, allocations: 8 kB / 0.7324 GB, free: 7.16 MB / 490.7 MB 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.001034/0.7702, allocations: 0.5303 MB / 0.7329 GB, free: 6.594 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.7702, allocations: 8.031 kB / 0.7329 GB, free: 6.586 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.943e-05/0.7703, allocations: 41.98 kB / 0.733 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.7705, allocations: 27.86 kB / 0.733 GB, free: 6.512 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.7711, allocations: 277.7 kB / 0.7333 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.7712, allocations: 18.86 kB / 0.7333 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/0.7713, allocations: 31.05 kB / 0.7333 GB, free: 6.184 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.7717, allocations: 240 kB / 0.7336 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7718, allocations: 0 / 0.7336 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.7718, allocations: 11.73 kB / 0.7336 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7718, allocations: 0 / 0.7336 GB, free: 5.969 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.772, allocations: 101.1 kB / 0.7337 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.7726, allocations: 379.8 kB / 0.734 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.7729, allocations: 234.7 kB / 0.7342 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.7731, allocations: 122.2 kB / 0.7344 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.7732, allocations: 0 / 0.7344 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/0.7736, allocations: 255.5 kB / 0.7346 GB, free: 4.957 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.7736, allocations: 0 / 0.7346 GB, free: 4.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.000758/0.7744, allocations: 418.8 kB / 0.735 GB, free: 4.613 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.7746, allocations: 144.3 kB / 0.7351 GB, free: 4.445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.7748, allocations: 134.9 kB / 0.7353 GB, free: 4.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.588e-05/0.7748, allocations: 45.14 kB / 0.7353 GB, free: 4.277 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.7749, allocations: 106.7 kB / 0.7354 GB, free: 4.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.775, allocations: 50.7 kB / 0.7355 GB, free: 4.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.7751, allocations: 11.12 kB / 0.7355 GB, free: 4.133 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.7753, allocations: 338.1 kB / 0.7358 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.7756, allocations: 168.2 kB / 0.736 GB, free: 3.684 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.7759, allocations: 213.8 kB / 0.7362 GB, free: 3.516 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.7763, allocations: 229.7 kB / 0.7364 GB, free: 3.328 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7763, allocations: 4 kB / 0.7364 GB, free: 3.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00126/0.7776, allocations: 0.7119 MB / 0.7371 GB, free: 2.734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.7777, allocations: 81.81 kB / 0.7372 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.7778, allocations: 0 / 0.7372 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.7778, allocations: 12.05 kB / 0.7372 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.778, allocations: 22.98 kB / 0.7372 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.778, allocations: 0 / 0.7372 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.7785, allocations: 83.08 kB / 0.7373 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.7785, allocations: 23.36 kB / 0.7373 GB, free: 2.52 MB / 490.7 MB 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 () * 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.0002217/0.7788, allocations: 139.4 kB / 0.7374 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.7788, allocations: 23.8 kB / 0.7375 GB, free: 2.359 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.7789, allocations: 18.75 kB / 0.7375 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7789, allocations: 4 kB / 0.7375 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.7789, allocations: 0 / 0.7375 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7789, allocations: 7.984 kB / 0.7375 GB, free: 2.336 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.7793, allocations: 253 kB / 0.7377 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7793, allocations: 3.953 kB / 0.7377 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.7794, allocations: 23.48 kB / 0.7377 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7794, allocations: 0 / 0.7377 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.7794, allocations: 7.984 kB / 0.7378 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.7794, allocations: 15.92 kB / 0.7378 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7794, allocations: 0 / 0.7378 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.7802, allocations: 488.9 kB / 0.7382 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.7803, allocations: 92.89 kB / 0.7383 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.7804, allocations: 18.73 kB / 0.7383 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.7805, allocations: 19.48 kB / 0.7384 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.7806, allocations: 23.17 kB / 0.7384 GB, free: 1.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.7807, allocations: 23.34 kB / 0.7384 GB, free: 1.402 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.7808, allocations: 113.8 kB / 0.7385 GB, free: 1.301 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7808, allocations: 0 / 0.7385 GB, free: 1.301 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003615/0.7812, allocations: 86.92 kB / 0.7386 GB, free: 1.223 MB / 490.7 MB 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) * 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.001212/0.7824, allocations: 1.277 MB / 0.7398 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008884/0.7833, allocations: 0.6626 MB / 0.7405 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7833, allocations: 0 / 0.7405 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.7835, allocations: 158.4 kB / 0.7406 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.7837, allocations: 11.05 kB / 0.7407 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.7845, allocations: 364.8 kB / 0.741 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.7851, allocations: 0.7203 MB / 0.7417 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.842e-05/0.7851, allocations: 17.2 kB / 0.7417 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.946e-05/0.7852, allocations: 40.67 kB / 0.7418 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of SimCode: time 2.7e-07/0.7852, allocations: 0 / 0.7418 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.8066, allocations: 4.68 MB / 0.7463 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/0.8069, allocations: 163.3 kB / 0.7465 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.706, allocations: 4 kB / 0.7465 GB, free: 9.531 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)