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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003704/0.003704, allocations: 100 kB / 15.73 MB, free: 6.004 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.001108/0.001108, allocations: 192.8 kB / 16.67 MB, free: 5.922 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8304/0.8304, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 63.86 kB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.127, allocations: 82.04 MB / 0.6754 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002237/0.1293, allocations: 1.411 MB / 0.6768 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.1301, allocations: 0.4904 MB / 0.6772 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.1302, allocations: 4 kB / 0.6772 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.608e-05/0.1302, allocations: 15.86 kB / 0.6773 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.1303, allocations: 11.88 kB / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.1309, allocations: 230.1 kB / 0.6775 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.1312, allocations: 151.8 kB / 0.6776 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.1312, allocations: 11.97 kB / 0.6776 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.1313, allocations: 51.91 kB / 0.6777 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.1313, allocations: 43.83 kB / 0.6777 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.1314, allocations: 12 kB / 0.6777 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.1316, allocations: 167.8 kB / 0.6779 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1317, allocations: 39.84 kB / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.1318, allocations: 55.72 kB / 0.678 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.1321, allocations: 239.5 kB / 0.6782 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1321, allocations: 0 / 0.6782 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.126e-06/0.1321, allocations: 4 kB / 0.6782 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.1321, allocations: 0 / 0.6782 GB, free: 7.719 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.0005283/0.1326, allocations: 454.7 kB / 0.6787 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1327, allocations: 12.02 kB / 0.6787 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.1327, allocations: 34.75 kB / 0.6787 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.1328, allocations: 12.89 kB / 0.6787 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.133, allocations: 206.8 kB / 0.6789 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.133, allocations: 12.36 kB / 0.6789 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.133, allocations: 8.375 kB / 0.6789 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1332, allocations: 91.77 kB / 0.679 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1332, allocations: 7.938 kB / 0.679 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.1332, allocations: 4 kB / 0.679 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1332, allocations: 0 / 0.679 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.957e-05/0.1333, allocations: 35.98 kB / 0.6791 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.1335, allocations: 226.5 kB / 0.6793 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.1336, allocations: 77.14 kB / 0.6794 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.1337, allocations: 61.84 kB / 0.6794 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.1337, allocations: 0 / 0.6794 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1339, allocations: 124.9 kB / 0.6795 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.1339, allocations: 0 / 0.6795 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003123/0.1342, allocations: 181.5 kB / 0.6797 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.1343, allocations: 89.11 kB / 0.6798 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1344, allocations: 145.8 kB / 0.6799 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.1345, allocations: 37.69 kB / 0.68 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.1345, allocations: 100.5 kB / 0.6801 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.1346, allocations: 43.67 kB / 0.6801 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.1347, allocations: 49.7 kB / 0.6802 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1348, allocations: 322.8 kB / 0.6805 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.1349, allocations: 43.97 kB / 0.6805 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1351, allocations: 208.6 kB / 0.6807 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1352, allocations: 101.6 kB / 0.6808 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1353, allocations: 0 / 0.6808 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002236/0.1355, allocations: 161.4 kB / 0.681 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1355, allocations: 8 kB / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.1355, allocations: 0 / 0.681 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1355, allocations: 4 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.988e-05/0.1356, allocations: 7.984 kB / 0.681 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1356, allocations: 4 kB / 0.681 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1359, allocations: 75.23 kB / 0.681 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1359, allocations: 8 kB / 0.6811 GB, free: 4.492 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.0001117/0.136, allocations: 137.8 kB / 0.6812 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.136, allocations: 19.89 kB / 0.6812 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.1361, allocations: 8.719 kB / 0.6812 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1361, allocations: 4 kB / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1361, allocations: 0 / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1361, allocations: 0 / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1362, allocations: 201.4 kB / 0.6814 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.1363, allocations: 8 kB / 0.6814 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.1363, allocations: 4 kB / 0.6814 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1363, allocations: 0 / 0.6814 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1363, allocations: 8 kB / 0.6814 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1363, allocations: 11.92 kB / 0.6814 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1363, allocations: 0 / 0.6814 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1366, allocations: 185.7 kB / 0.6816 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.1366, allocations: 89.02 kB / 0.6817 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1366, allocations: 0 / 0.6817 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.1367, allocations: 4 kB / 0.6817 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1367, allocations: 7.984 kB / 0.6817 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1367, allocations: 8 kB / 0.6817 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.613e-05/0.1368, allocations: 113.5 kB / 0.6818 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1368, allocations: 0 / 0.6818 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002586/0.1371, allocations: 79.8 kB / 0.6819 GB, free: 3.52 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.0006085/0.1377, allocations: 0.7837 MB / 0.6827 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1379, allocations: 167.3 kB / 0.6828 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.138, allocations: 0 / 0.6828 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.138, allocations: 43.92 kB / 0.6829 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.1382, allocations: 7.859 kB / 0.6829 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.1398, allocations: 1.727 MB / 0.6846 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1401, allocations: 0.7041 MB / 0.6853 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.649e-05/0.1401, allocations: 8.656 kB / 0.6853 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.1402, allocations: 27.44 kB / 0.6853 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.1402, allocations: 0 / 0.6853 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.574/2.714, allocations: 4.011 MB / 0.6892 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.605/12.32, allocations: 9.203 kB / 0.6892 GB, free: 12.02 MB / 0.5294 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/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)