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.7291/0.7291, allocations: 127.4 MB / 134.9 MB, free: 3.734 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.001099/0.001099, allocations: 176.9 kB / 164.7 MB, free: 6.52 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.676/1.676, allocations: 205.2 MB / 399.5 MB, free: 5.852 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.000965/0.000965, allocations: 99.7 kB / 476.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.854e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 76.75 MB / 0.6216 GB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5529/0.7172, allocations: 102.8 MB / 0.722 GB, free: 12.53 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.7175, allocations: 78.44 kB / 0.7221 GB, free: 12.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01077/0.7283, allocations: 3.398 MB / 0.7254 GB, free: 9.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7284, allocations: 0 / 0.7254 GB, free: 9.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.7284, allocations: 4 kB / 0.7254 GB, free: 9.543 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.0009241/0.7293, allocations: 0.5248 MB / 0.7259 GB, free: 8.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.7294, allocations: 12.03 kB / 0.726 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.7295, allocations: 35.72 kB / 0.726 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.7301, allocations: 269.8 kB / 0.7262 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.7301, allocations: 4 kB / 0.7263 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.7302, allocations: 31.92 kB / 0.7263 GB, free: 8.621 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001742/0.7304, allocations: 75.53 kB / 0.7264 GB, free: 8.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.7307, allocations: 239.3 kB / 0.7266 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7308, allocations: 0 / 0.7266 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.7308, allocations: 11.42 kB / 0.7266 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7308, allocations: 4 kB / 0.7266 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.7312, allocations: 345.9 kB / 0.7269 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.7315, allocations: 225.2 kB / 0.7271 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.7317, allocations: 112.5 kB / 0.7272 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.7317, allocations: 7.953 kB / 0.7273 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003468/0.7321, allocations: 247.5 kB / 0.7275 GB, free: 7.477 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.7321, allocations: 0 / 0.7275 GB, free: 7.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006758/0.7327, allocations: 396.2 kB / 0.7279 GB, free: 7.152 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.7328, allocations: 139.4 kB / 0.728 GB, free: 6.988 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.733, allocations: 133 kB / 0.7281 GB, free: 6.867 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.733, allocations: 41 kB / 0.7282 GB, free: 6.824 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.7331, allocations: 106 kB / 0.7283 GB, free: 6.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.7332, allocations: 56.92 kB / 0.7283 GB, free: 6.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.7332, allocations: 8 kB / 0.7283 GB, free: 6.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.7334, allocations: 329 kB / 0.7286 GB, free: 6.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.7337, allocations: 163 kB / 0.7288 GB, free: 6.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.7339, allocations: 192.2 kB / 0.729 GB, free: 6.094 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.7343, allocations: 150.8 kB / 0.7291 GB, free: 5.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7343, allocations: 0 / 0.7291 GB, free: 5.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009827/0.7353, allocations: 0.6192 MB / 0.7297 GB, free: 5.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.7354, allocations: 77.39 kB / 0.7298 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7354, allocations: 8.859 kB / 0.7298 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7354, allocations: 0 / 0.7298 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.7356, allocations: 19.56 kB / 0.7298 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7356, allocations: 0.7812 kB / 0.7298 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.736, allocations: 87.75 kB / 0.7299 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.7361, allocations: 19.5 kB / 0.7299 GB, free: 5.277 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.0001615/0.7362, allocations: 131.6 kB / 0.7301 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005477/0.7368, allocations: 389.3 kB / 0.7304 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.7368, allocations: 23.8 kB / 0.7305 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.7369, allocations: 19.94 kB / 0.7305 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.7369, allocations: 4 kB / 0.7305 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.7369, allocations: 0 / 0.7305 GB, free: 4.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.7369, allocations: 7.984 kB / 0.7305 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.7372, allocations: 226.8 kB / 0.7307 GB, free: 4.543 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.7372, allocations: 7.938 kB / 0.7307 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.7372, allocations: 15.94 kB / 0.7307 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7372, allocations: 0 / 0.7307 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.7373, allocations: 15.42 kB / 0.7307 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.7373, allocations: 3.984 kB / 0.7307 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7373, allocations: 3.938 kB / 0.7307 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.7379, allocations: 456.6 kB / 0.7312 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.7379, allocations: 96.8 kB / 0.7313 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.738, allocations: 25.92 kB / 0.7313 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.7382, allocations: 19.41 kB / 0.7313 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.7382, allocations: 19.34 kB / 0.7313 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.7383, allocations: 23.44 kB / 0.7314 GB, free: 3.898 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.7384, allocations: 115.7 kB / 0.7315 GB, free: 3.797 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7384, allocations: 0 / 0.7315 GB, free: 3.797 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.7387, allocations: 75.98 kB / 0.7315 GB, free: 3.723 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.00106/0.7398, allocations: 1.256 MB / 0.7328 GB, free: 2.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007691/0.7406, allocations: 0.6312 MB / 0.7334 GB, free: 2.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7406, allocations: 0 / 0.7334 GB, free: 2.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.7408, allocations: 144.3 kB / 0.7335 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.7409, allocations: 12.61 kB / 0.7335 GB, free: 1.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.7417, allocations: 353.3 kB / 0.7339 GB, free: 1.629 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.7421, allocations: 0.7204 MB / 0.7346 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.7421, allocations: 13.2 kB / 0.7346 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.7422, allocations: 41.05 kB / 0.7346 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7422, allocations: 0 / 0.7346 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.7666, allocations: 4.283 MB / 0.7388 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.7668, allocations: 146.3 kB / 0.739 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.492, allocations: 4.031 kB / 0.739 GB, free: 12.42 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)