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.004732/0.004732, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001328/0.001328, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.9052/0.9052, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 68.14 kB / 0.5953 GB, free: 12.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1469, allocations: 82.04 MB / 0.6754 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002493/0.1494, allocations: 1.415 MB / 0.6768 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000998/0.1505, allocations: 0.506 MB / 0.6773 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.1505, allocations: 0 / 0.6773 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.187e-05/0.1506, allocations: 7.938 kB / 0.6773 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.1507, allocations: 7.938 kB / 0.6773 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.1515, allocations: 238.2 kB / 0.6775 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.1517, allocations: 147.8 kB / 0.6776 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.1518, allocations: 11.97 kB / 0.6776 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/0.1519, allocations: 51.91 kB / 0.6777 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.1519, allocations: 43.83 kB / 0.6777 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.152, allocations: 12 kB / 0.6777 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.1523, allocations: 175.8 kB / 0.6779 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.1524, allocations: 31.91 kB / 0.6779 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.1525, allocations: 55.72 kB / 0.678 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1528, allocations: 243.5 kB / 0.6782 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1528, allocations: 0 / 0.6782 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1529, allocations: 0 / 0.6782 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.1529, allocations: 0 / 0.6782 GB, free: 7.75 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.0006941/0.1536, allocations: 458.7 kB / 0.6787 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1536, allocations: 8.031 kB / 0.6787 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.1537, allocations: 38.75 kB / 0.6787 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.1537, allocations: 12.89 kB / 0.6787 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.154, allocations: 200.2 kB / 0.6789 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.154, allocations: 16.3 kB / 0.6789 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.154, allocations: 8.375 kB / 0.6789 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1542, allocations: 83.89 kB / 0.679 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1542, allocations: 7.938 kB / 0.679 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1542, allocations: 0 / 0.679 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1542, allocations: 4 kB / 0.679 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.1543, allocations: 31.98 kB / 0.6791 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.1546, allocations: 234.5 kB / 0.6793 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1547, allocations: 77.23 kB / 0.6794 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.1548, allocations: 57.81 kB / 0.6794 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1549, allocations: 0 / 0.6794 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.1551, allocations: 120.9 kB / 0.6795 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.1551, allocations: 0 / 0.6795 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003763/0.1555, allocations: 193.5 kB / 0.6797 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.1556, allocations: 89.09 kB / 0.6798 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1557, allocations: 144.2 kB / 0.6799 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.1558, allocations: 41.69 kB / 0.68 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.1559, allocations: 96.52 kB / 0.6801 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.1559, allocations: 43.67 kB / 0.6801 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.156, allocations: 49.7 kB / 0.6802 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1562, allocations: 322.8 kB / 0.6805 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.66e-05/0.1563, allocations: 43.97 kB / 0.6805 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.1565, allocations: 203.8 kB / 0.6807 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1567, allocations: 97.64 kB / 0.6808 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1567, allocations: 0 / 0.6808 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002635/0.157, allocations: 173.3 kB / 0.681 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.157, allocations: 4 kB / 0.681 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.157, allocations: 8 kB / 0.681 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.157, allocations: 0 / 0.681 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.1571, allocations: 11.98 kB / 0.681 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1571, allocations: 0 / 0.681 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.1574, allocations: 75.89 kB / 0.6811 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1575, allocations: 4 kB / 0.6811 GB, free: 4.52 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.0001398/0.1576, allocations: 141.8 kB / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1576, allocations: 11.89 kB / 0.6812 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.1577, allocations: 16.72 kB / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1577, allocations: 0 / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1577, allocations: 0 / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1577, allocations: 4 kB / 0.6812 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1579, allocations: 201.4 kB / 0.6814 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1579, allocations: 0 / 0.6814 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1579, allocations: 4 kB / 0.6814 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.158, allocations: 4 kB / 0.6814 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.158, allocations: 3.984 kB / 0.6814 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.158, allocations: 0 / 0.6814 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.158, allocations: 11.94 kB / 0.6814 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1583, allocations: 181.8 kB / 0.6816 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1583, allocations: 89.02 kB / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1583, allocations: 0 / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.122e-05/0.1584, allocations: 4 kB / 0.6817 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1584, allocations: 7.984 kB / 0.6817 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1584, allocations: 4 kB / 0.6817 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.165e-05/0.1585, allocations: 115.2 kB / 0.6818 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1585, allocations: 3.938 kB / 0.6818 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002975/0.1589, allocations: 79.8 kB / 0.6819 GB, free: 3.551 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.000732/0.1596, allocations: 0.7781 MB / 0.6827 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1599, allocations: 167.3 kB / 0.6828 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1599, allocations: 0 / 0.6828 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.16, allocations: 47.92 kB / 0.6829 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.1601, allocations: 11.86 kB / 0.6829 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.162, allocations: 1.718 MB / 0.6846 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1624, allocations: 0.7041 MB / 0.6852 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.1624, allocations: 12.66 kB / 0.6853 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.1625, allocations: 27.44 kB / 0.6853 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.1625, allocations: 0 / 0.6853 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.1893, allocations: 4.007 MB / 0.6892 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.239, allocations: 11.31 kB / 0.6892 GB, free: 12.05 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)