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.007758/0.007758, allocations: 108.9 kB / 15.74 MB, free: 6.449 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.002102/0.002102, allocations: 197 kB / 16.67 MB, free: 6.355 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.27 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 1.042/1.042, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.89 kB / 0.595 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4677, allocations: 82.03 MB / 0.6751 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002978/0.4708, allocations: 1.414 MB / 0.6765 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.4718, allocations: 0.4989 MB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.4718, allocations: 0 / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.621e-05/0.4719, allocations: 9.891 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.472, allocations: 9.938 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.4728, allocations: 233.9 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.473, allocations: 145.2 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.4731, allocations: 7.188 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.4732, allocations: 61.2 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.4733, allocations: 34.28 kB / 0.6775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.4733, allocations: 9.406 kB / 0.6775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000271/0.4736, allocations: 175 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.4737, allocations: 34.81 kB / 0.6777 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.4738, allocations: 54.78 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.4741, allocations: 235 kB / 0.678 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4741, allocations: 3.938 kB / 0.678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4741, allocations: 5 kB / 0.678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4741, allocations: 0 / 0.678 GB, free: 15.02 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.0006059/0.4747, allocations: 446.2 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4748, allocations: 14.56 kB / 0.6784 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.4748, allocations: 39.8 kB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.4749, allocations: 12.34 kB / 0.6785 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4751, allocations: 209.1 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4752, allocations: 10.5 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.4752, allocations: 11.94 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4754, allocations: 91.88 kB / 0.6788 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4754, allocations: 7.875 kB / 0.6788 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4754, allocations: 1.094 kB / 0.6788 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4754, allocations: 0 / 0.6788 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.69e-05/0.4755, allocations: 34.89 kB / 0.6788 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.4758, allocations: 229.9 kB / 0.679 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.4759, allocations: 82.67 kB / 0.6791 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.562e-05/0.476, allocations: 57.44 kB / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.476, allocations: 0 / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.4763, allocations: 112.7 kB / 0.6793 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.4763, allocations: 3.938 kB / 0.6793 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003765/0.4766, allocations: 186.7 kB / 0.6794 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.4767, allocations: 86.83 kB / 0.6795 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4769, allocations: 148.8 kB / 0.6797 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.4769, allocations: 35.11 kB / 0.6797 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.477, allocations: 102.5 kB / 0.6798 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.4771, allocations: 35.92 kB / 0.6798 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.4771, allocations: 56.83 kB / 0.6799 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4773, allocations: 321.7 kB / 0.6802 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.4773, allocations: 41.17 kB / 0.6802 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.4776, allocations: 198.7 kB / 0.6804 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.4777, allocations: 97.06 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4777, allocations: 1.25 kB / 0.6805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002363/0.478, allocations: 165.2 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.478, allocations: 9.156 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.478, allocations: 3.188 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.478, allocations: 1.281 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.4781, allocations: 6.875 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4781, allocations: 5.375 kB / 0.6807 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.4784, allocations: 77.36 kB / 0.6808 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4784, allocations: 4.375 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.000119/0.4786, allocations: 139.1 kB / 0.6809 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.4786, allocations: 24 kB / 0.6809 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.4786, allocations: 12.03 kB / 0.6809 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4786, allocations: 2.188 kB / 0.681 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4786, allocations: 1.312 kB / 0.681 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4786, allocations: 0 / 0.681 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.4788, allocations: 198.2 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4788, allocations: 1.094 kB / 0.6811 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.4789, allocations: 9.719 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4789, allocations: 1.156 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.4789, allocations: 1.094 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4789, allocations: 1.875 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4789, allocations: 1.219 kB / 0.6812 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.4791, allocations: 199.8 kB / 0.6813 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.4792, allocations: 84.58 kB / 0.6814 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.4792, allocations: 9.156 kB / 0.6814 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.4793, allocations: 2.344 kB / 0.6814 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.4793, allocations: 7.328 kB / 0.6814 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-06/0.4793, allocations: 7.656 kB / 0.6815 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.4794, allocations: 117.7 kB / 0.6816 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4794, allocations: 0 / 0.6816 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003107/0.4797, allocations: 68.81 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.0006715/0.4804, allocations: 0.7827 MB / 0.6824 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.4807, allocations: 162.1 kB / 0.6826 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4807, allocations: 1.312 kB / 0.6826 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.4808, allocations: 42.33 kB / 0.6826 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.481, allocations: 23.53 kB / 0.6826 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4827, allocations: 1.719 MB / 0.6843 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.483, allocations: 0.7021 MB / 0.685 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.483, allocations: 10.16 kB / 0.685 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.4831, allocations: 28.94 kB / 0.685 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4831, allocations: 0 / 0.685 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5073, allocations: 3.99 MB / 0.6889 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.308, allocations: 3.562 kB / 0.6889 GB, free: 6.738 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)