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.005282/0.005282, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001254/0.001254, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.23/1.23, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.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.8209/0.8209, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 64.12 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1336, allocations: 82.04 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002089/0.1357, allocations: 1.407 MB / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.1365, allocations: 0.4944 MB / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.1366, allocations: 0 / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.683e-05/0.1366, allocations: 11.86 kB / 0.6775 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.1367, allocations: 15.81 kB / 0.6775 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.1373, allocations: 234.4 kB / 0.6777 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1375, allocations: 139.8 kB / 0.6778 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.1375, allocations: 4 kB / 0.6778 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.735e-05/0.1376, allocations: 55.89 kB / 0.6779 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.1377, allocations: 43.83 kB / 0.6779 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1377, allocations: 8 kB / 0.6779 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.138, allocations: 175.8 kB / 0.6781 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.138, allocations: 39.89 kB / 0.6782 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.1381, allocations: 51.73 kB / 0.6782 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.1384, allocations: 243.4 kB / 0.6784 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1384, allocations: 0 / 0.6784 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1384, allocations: 0 / 0.6784 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1384, allocations: 0 / 0.6784 GB, free: 7.426 MB / 0.5137 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.0005291/0.1389, allocations: 443 kB / 0.6789 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.139, allocations: 8.031 kB / 0.6789 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.139, allocations: 16.84 kB / 0.6789 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1393, allocations: 213.8 kB / 0.6791 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1393, allocations: 12.38 kB / 0.6791 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.1394, allocations: 8.375 kB / 0.6791 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1395, allocations: 91.83 kB / 0.6792 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1395, allocations: 192 / 0.6792 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1395, allocations: 3.938 kB / 0.6792 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1395, allocations: 0 / 0.6792 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.1396, allocations: 43.97 kB / 0.6792 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.1399, allocations: 230.5 kB / 0.6795 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.14, allocations: 85.16 kB / 0.6795 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.1401, allocations: 53.81 kB / 0.6796 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.1401, allocations: 0 / 0.6796 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.1403, allocations: 117 kB / 0.6797 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1403, allocations: 0 / 0.6797 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003074/0.1406, allocations: 193.8 kB / 0.6799 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1406, allocations: 85.09 kB / 0.68 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1408, allocations: 151.7 kB / 0.6801 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1408, allocations: 33.7 kB / 0.6801 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.1409, allocations: 104.5 kB / 0.6802 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.1409, allocations: 31.55 kB / 0.6803 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.141, allocations: 53.7 kB / 0.6803 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1411, allocations: 326.8 kB / 0.6806 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1412, allocations: 39.98 kB / 0.6807 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1414, allocations: 200.5 kB / 0.6809 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1416, allocations: 109.4 kB / 0.681 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1416, allocations: 0 / 0.681 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002084/0.1418, allocations: 165.3 kB / 0.6811 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1418, allocations: 12 kB / 0.6811 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.1418, allocations: 0 / 0.6811 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.1419, allocations: 4 kB / 0.6811 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.1419, allocations: 7.984 kB / 0.6812 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.142, allocations: 4 kB / 0.6812 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.1422, allocations: 75.75 kB / 0.6812 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1422, allocations: 4 kB / 0.6812 GB, free: 4.242 MB / 0.5137 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.0001021/0.1423, allocations: 133.8 kB / 0.6814 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.1424, allocations: 15.84 kB / 0.6814 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.1424, allocations: 12.72 kB / 0.6814 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1424, allocations: 4 kB / 0.6814 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1424, allocations: 4 kB / 0.6814 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1424, allocations: 3.984 kB / 0.6814 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1426, allocations: 181.6 kB / 0.6816 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1426, allocations: 7.938 kB / 0.6816 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1426, allocations: 7.984 kB / 0.6816 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1426, allocations: 0 / 0.6816 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1426, allocations: 4 kB / 0.6816 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1426, allocations: 0 / 0.6816 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1426, allocations: 0 / 0.6816 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1429, allocations: 189.6 kB / 0.6818 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.1429, allocations: 96.89 kB / 0.6819 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1429, allocations: 4 kB / 0.6819 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.143, allocations: 7.984 kB / 0.6819 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.143, allocations: 96 / 0.6819 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.143, allocations: 4 kB / 0.6819 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.1431, allocations: 120.9 kB / 0.682 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1431, allocations: 0 / 0.682 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002731/0.1434, allocations: 75.98 kB / 0.6821 GB, free: 3.285 MB / 0.5137 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.0002678/0.1437, allocations: 175.1 kB / 0.6822 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1439, allocations: 163.3 kB / 0.6824 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.144, allocations: 0 / 0.6824 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.144, allocations: 47.92 kB / 0.6824 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.1442, allocations: 7.797 kB / 0.6824 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.1446, allocations: 227.3 kB / 0.6827 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1449, allocations: 0.708 MB / 0.6833 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.1449, allocations: 4.672 kB / 0.6834 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.1449, allocations: 15.44 kB / 0.6834 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1449, allocations: 3.938 kB / 0.6834 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of Templates: time 0.005257/0.1502, allocations: 2.601 MB / 0.6859 GB, free: 15.3 MB / 0.5294 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)