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: "" <> 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.006605/0.006605, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001534/0.001534, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.9055/0.9055, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 82.03 MB / 0.6751 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002125/0.348, allocations: 1.411 MB / 0.6765 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.3489, allocations: 0.4978 MB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.3489, allocations: 1.188 kB / 0.677 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.646e-05/0.349, allocations: 5.062 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.3491, allocations: 14.34 kB / 0.677 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.3497, allocations: 234 kB / 0.6772 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.3499, allocations: 141.1 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.35, allocations: 7.609 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.3501, allocations: 64.52 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.3501, allocations: 34.5 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3502, allocations: 10.09 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.3504, allocations: 170.5 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.3505, allocations: 38.48 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.592e-05/0.3506, allocations: 56.39 kB / 0.6777 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.3509, allocations: 240.9 kB / 0.678 GB, free: 15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3509, allocations: 1.062 kB / 0.678 GB, free: 15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3509, allocations: 0 / 0.678 GB, free: 15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3509, allocations: 0 / 0.678 GB, free: 15 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.000521/0.3514, allocations: 458.8 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3515, allocations: 8.906 kB / 0.6784 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.3515, allocations: 36.97 kB / 0.6784 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.3515, allocations: 12.02 kB / 0.6785 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3518, allocations: 220.6 kB / 0.6787 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3518, allocations: 14.05 kB / 0.6787 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.3518, allocations: 13.69 kB / 0.6787 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.352, allocations: 75.55 kB / 0.6788 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.352, allocations: 3.938 kB / 0.6788 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.352, allocations: 4 kB / 0.6788 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.352, allocations: 5.25 kB / 0.6788 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.3521, allocations: 42.62 kB / 0.6788 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.3523, allocations: 229.7 kB / 0.679 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3524, allocations: 78.42 kB / 0.6791 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.3525, allocations: 57.19 kB / 0.6792 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3525, allocations: 5.25 kB / 0.6792 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.3527, allocations: 115 kB / 0.6793 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3527, allocations: 0 / 0.6793 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003161/0.353, allocations: 187.2 kB / 0.6795 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3531, allocations: 90.75 kB / 0.6796 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3532, allocations: 143.1 kB / 0.6797 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.3532, allocations: 38.94 kB / 0.6797 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.3533, allocations: 97.83 kB / 0.6798 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.3534, allocations: 49.22 kB / 0.6799 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.3534, allocations: 48.45 kB / 0.6799 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.3535, allocations: 326.1 kB / 0.6802 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.3536, allocations: 41.06 kB / 0.6803 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.3538, allocations: 203.1 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.354, allocations: 93.61 kB / 0.6805 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.354, allocations: 1 kB / 0.6805 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002188/0.3542, allocations: 166.2 kB / 0.6807 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3542, allocations: 4.812 kB / 0.6807 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3542, allocations: 2.625 kB / 0.6807 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3543, allocations: 6.312 kB / 0.6807 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.3543, allocations: 18.7 kB / 0.6807 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3544, allocations: 1.156 kB / 0.6807 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.3546, allocations: 75.28 kB / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3546, allocations: 8.75 kB / 0.6808 GB, free: 12.45 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.0001008/0.3548, allocations: 131.5 kB / 0.6809 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.3548, allocations: 12.36 kB / 0.681 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.3548, allocations: 12.56 kB / 0.681 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3548, allocations: 1.094 kB / 0.681 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3548, allocations: 5.016 kB / 0.681 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3548, allocations: 0 / 0.681 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.355, allocations: 203.1 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.355, allocations: 0 / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.355, allocations: 10.19 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.355, allocations: 1.156 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3551, allocations: 9.109 kB / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3551, allocations: 1.031 kB / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3551, allocations: 1.031 kB / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3553, allocations: 180.1 kB / 0.6814 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.3553, allocations: 96.2 kB / 0.6814 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3554, allocations: 2.25 kB / 0.6815 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.3554, allocations: 2.156 kB / 0.6815 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3555, allocations: 11.3 kB / 0.6815 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3555, allocations: 7.312 kB / 0.6815 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.417e-05/0.3555, allocations: 115.8 kB / 0.6816 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3556, allocations: 0 / 0.6816 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000295/0.3559, allocations: 76.77 kB / 0.6817 GB, free: 11.71 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.0005583/0.3564, allocations: 0.7824 MB / 0.6824 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3567, allocations: 162.4 kB / 0.6826 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3567, allocations: 0 / 0.6826 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/0.3568, allocations: 47.45 kB / 0.6826 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.3569, allocations: 17.05 kB / 0.6826 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3585, allocations: 1.708 MB / 0.6843 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3587, allocations: 0.706 MB / 0.685 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.3588, allocations: 10.16 kB / 0.685 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.3588, allocations: 28.92 kB / 0.685 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.3588, allocations: 4 kB / 0.685 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.3773, allocations: 4.007 MB / 0.6889 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.432, allocations: 13.16 kB / 0.689 GB, free: 6.68 MB / 0.5137 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)