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.001607/0.001607, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001861/0.001861, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.642/1.642, allocations: 222.9 MB / 241 MB, free: 15.07 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.9772/0.9772, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.61 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1456, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002957/0.1486, allocations: 1.407 MB / 0.6776 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1498, allocations: 0.5021 MB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.1499, allocations: 0 / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.164e-05/0.15, allocations: 3.938 kB / 0.6781 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.1501, allocations: 11.92 kB / 0.6782 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.1509, allocations: 238.4 kB / 0.6784 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1511, allocations: 151.7 kB / 0.6785 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.1512, allocations: 4 kB / 0.6785 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.1513, allocations: 51.91 kB / 0.6786 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.1514, allocations: 47.77 kB / 0.6786 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.1514, allocations: 8 kB / 0.6786 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.1517, allocations: 171.8 kB / 0.6788 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.1518, allocations: 35.91 kB / 0.6788 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/0.1519, allocations: 63.7 kB / 0.6789 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.1522, allocations: 235.4 kB / 0.6791 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1522, allocations: 3.984 kB / 0.6791 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1522, allocations: 0 / 0.6791 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1522, allocations: 0 / 0.6791 GB, free: 7.465 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.0005885/0.1528, allocations: 443 kB / 0.6795 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1529, allocations: 8.031 kB / 0.6795 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.1529, allocations: 12.84 kB / 0.6796 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1532, allocations: 216 kB / 0.6798 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1532, allocations: 8.375 kB / 0.6798 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1533, allocations: 12.38 kB / 0.6798 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1534, allocations: 83.94 kB / 0.6799 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1534, allocations: 192 / 0.6799 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1534, allocations: 7.875 kB / 0.6799 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1535, allocations: 0 / 0.6799 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.1535, allocations: 39.92 kB / 0.6799 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.1538, allocations: 238.5 kB / 0.6801 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1539, allocations: 73.25 kB / 0.6802 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.154, allocations: 57.8 kB / 0.6803 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.154, allocations: 0 / 0.6803 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.1543, allocations: 121 kB / 0.6804 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.123e-06/0.1543, allocations: 0 / 0.6804 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003492/0.1546, allocations: 185.3 kB / 0.6806 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.1547, allocations: 89.05 kB / 0.6806 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1548, allocations: 151.5 kB / 0.6808 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1549, allocations: 33.7 kB / 0.6808 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.155, allocations: 108.5 kB / 0.6809 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.155, allocations: 35.53 kB / 0.681 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-05/0.1551, allocations: 49.7 kB / 0.681 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1552, allocations: 326.8 kB / 0.6813 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.991e-05/0.1553, allocations: 39.98 kB / 0.6814 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1555, allocations: 199.3 kB / 0.6815 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1557, allocations: 97.58 kB / 0.6816 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1557, allocations: 0 / 0.6816 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002328/0.1559, allocations: 169.8 kB / 0.6818 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1559, allocations: 8 kB / 0.6818 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.156, allocations: 4 kB / 0.6818 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.156, allocations: 4 kB / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.1561, allocations: 4 kB / 0.6818 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1561, allocations: 7.938 kB / 0.6818 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1564, allocations: 79.73 kB / 0.6819 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1564, allocations: 4 kB / 0.6819 GB, free: 4.285 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.0001176/0.1565, allocations: 125.8 kB / 0.682 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1566, allocations: 19.83 kB / 0.682 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1566, allocations: 8.719 kB / 0.6821 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1566, allocations: 4 kB / 0.6821 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1566, allocations: 0 / 0.6821 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1566, allocations: 4 kB / 0.6821 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1568, allocations: 193.6 kB / 0.6822 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1568, allocations: 7.938 kB / 0.6823 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1568, allocations: 4 kB / 0.6823 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1568, allocations: 0 / 0.6823 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1569, allocations: 4 kB / 0.6823 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.1569, allocations: 7.938 kB / 0.6823 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1569, allocations: 80 / 0.6823 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1571, allocations: 185.8 kB / 0.6824 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1572, allocations: 96.88 kB / 0.6825 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1572, allocations: 3.938 kB / 0.6825 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.1573, allocations: 8 kB / 0.6825 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1573, allocations: 3.984 kB / 0.6826 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1573, allocations: 4 kB / 0.6826 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.1574, allocations: 121.1 kB / 0.6827 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1574, allocations: 0 / 0.6827 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003056/0.1577, allocations: 68 kB / 0.6827 GB, free: 3.332 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.000262/0.158, allocations: 175.1 kB / 0.6829 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.1583, allocations: 171.2 kB / 0.6831 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1583, allocations: 0 / 0.6831 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.1584, allocations: 43.98 kB / 0.6831 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.1585, allocations: 7.797 kB / 0.6831 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.159, allocations: 268.9 kB / 0.6834 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1593, allocations: 0.7002 MB / 0.6841 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.1594, allocations: 11.44 kB / 0.6841 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.1594, allocations: 0 / 0.6841 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of Templates: time 0.004617/0.164, allocations: 2.518 MB / 0.6865 GB, free: 15.39 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)