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.005733/0.005733, allocations: 100.7 kB / 15.73 MB, free: 6.047 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.001197/0.001197, allocations: 196.3 kB / 16.67 MB, free: 5.98 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.9738/0.9738, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.89 kB / 0.595 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4381, allocations: 82.02 MB / 0.6751 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002308/0.4404, allocations: 1.413 MB / 0.6765 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009577/0.4414, allocations: 0.5097 MB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.4415, allocations: 1.062 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.915e-05/0.4416, allocations: 5 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.4416, allocations: 7.375 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.4425, allocations: 228.4 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.4427, allocations: 145.4 kB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.4427, allocations: 16.25 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.4428, allocations: 60.06 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.4429, allocations: 38.11 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.443, allocations: 10.12 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002992/0.4433, allocations: 170.4 kB / 0.6777 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.4433, allocations: 34.41 kB / 0.6777 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.4434, allocations: 55.38 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.4438, allocations: 231.1 kB / 0.678 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4438, allocations: 0 / 0.678 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4438, allocations: 1.344 kB / 0.678 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4439, allocations: 4 kB / 0.678 GB, free: 15.03 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.0006435/0.4445, allocations: 458.5 kB / 0.6784 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4446, allocations: 9.938 kB / 0.6784 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.4446, allocations: 36.06 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.4447, allocations: 12.09 kB / 0.6785 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.4449, allocations: 209 kB / 0.6787 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4449, allocations: 13.77 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4449, allocations: 13.03 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.4451, allocations: 82.67 kB / 0.6788 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4451, allocations: 4.969 kB / 0.6788 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.4452, allocations: 0 / 0.6788 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.4452, allocations: 1.188 kB / 0.6788 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.4452, allocations: 35.42 kB / 0.6788 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.4455, allocations: 233.5 kB / 0.679 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.4456, allocations: 81.73 kB / 0.6791 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.4457, allocations: 57.19 kB / 0.6792 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.4458, allocations: 1.406 kB / 0.6792 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.446, allocations: 115.1 kB / 0.6793 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.446, allocations: 4 kB / 0.6793 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003621/0.4464, allocations: 187.6 kB / 0.6794 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4464, allocations: 85.5 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4466, allocations: 146.9 kB / 0.6797 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.4466, allocations: 38.09 kB / 0.6797 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.4467, allocations: 99.2 kB / 0.6798 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.4467, allocations: 37.22 kB / 0.6798 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.4468, allocations: 55.55 kB / 0.6799 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4469, allocations: 327.2 kB / 0.6802 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.447, allocations: 45.31 kB / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.4473, allocations: 200.4 kB / 0.6804 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4474, allocations: 93.39 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4474, allocations: 1.156 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002247/0.4476, allocations: 165.5 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4477, allocations: 5.594 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.4477, allocations: 2.312 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4477, allocations: 1.125 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.4478, allocations: 12.08 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4478, allocations: 0 / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.4481, allocations: 77.94 kB / 0.6808 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4481, allocations: 7.906 kB / 0.6808 GB, free: 12.5 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.0001139/0.4482, allocations: 139.4 kB / 0.6809 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.4482, allocations: 12.56 kB / 0.6809 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.4483, allocations: 16.16 kB / 0.6809 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4483, allocations: 1.125 kB / 0.6809 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4483, allocations: 1.156 kB / 0.6809 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4483, allocations: 1.125 kB / 0.6809 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.4485, allocations: 201.7 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4485, allocations: 1.125 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.4485, allocations: 5.844 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4485, allocations: 5.25 kB / 0.6812 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4485, allocations: 9.141 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4485, allocations: 1.031 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4485, allocations: 5.062 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.4488, allocations: 184.3 kB / 0.6813 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.4488, allocations: 84.48 kB / 0.6814 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4488, allocations: 6.219 kB / 0.6814 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.4489, allocations: 6.219 kB / 0.6814 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.4489, allocations: 7.422 kB / 0.6814 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4489, allocations: 6.156 kB / 0.6814 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.361e-05/0.449, allocations: 120.6 kB / 0.6816 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.449, allocations: 0 / 0.6816 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003299/0.4494, allocations: 73.7 kB / 0.6816 GB, free: 11.75 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.0006583/0.45, allocations: 0.7818 MB / 0.6824 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.4503, allocations: 161.9 kB / 0.6826 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4503, allocations: 1.156 kB / 0.6826 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.4504, allocations: 51.06 kB / 0.6826 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.4506, allocations: 18.33 kB / 0.6826 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.4523, allocations: 1.707 MB / 0.6843 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.4525, allocations: 0.7019 MB / 0.685 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.4526, allocations: 10.28 kB / 0.685 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.4526, allocations: 28.03 kB / 0.685 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.4526, allocations: 1.562 kB / 0.685 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.4739, allocations: 4.067 MB / 0.689 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.282, allocations: 8.859 kB / 0.689 GB, free: 6.684 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 & /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)