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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 218.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8997/0.8997, allocations: 145 MB / 458.2 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 58.41 kB / 0.6339 GB, free: 7.379 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1931, allocations: 87.89 MB / 0.7197 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002696/0.1958, allocations: 1.432 MB / 0.7211 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.1968, allocations: 0.5138 MB / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.1968, allocations: 0 / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.763e-05/0.1969, allocations: 3.938 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.197, allocations: 19.84 kB / 0.7217 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.1977, allocations: 230.1 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.198, allocations: 155.7 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.198, allocations: 11.98 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.1981, allocations: 51.92 kB / 0.7221 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1982, allocations: 43.81 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1983, allocations: 12 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.1986, allocations: 191.8 kB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.1987, allocations: 43.89 kB / 0.7224 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.1988, allocations: 47.8 kB / 0.7224 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.1991, allocations: 239.2 kB / 0.7226 GB, free: 12.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1991, allocations: 0 / 0.7226 GB, free: 12.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1991, allocations: 3.938 kB / 0.7226 GB, free: 12.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.1992, allocations: 4 kB / 0.7226 GB, free: 12.5 MB / 0.545 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.0006781/0.1998, allocations: 379.4 kB / 0.723 GB, free: 12.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.1999, allocations: 12.03 kB / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.1999, allocations: 192 / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.1999, allocations: 34.75 kB / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.2, allocations: 12.89 kB / 0.7231 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2002, allocations: 154.3 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2003, allocations: 8.375 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.2003, allocations: 16.36 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2005, allocations: 87.64 kB / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2005, allocations: 0 / 0.7233 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2005, allocations: 4 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2005, allocations: 0 / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.2006, allocations: 35.98 kB / 0.7234 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.2009, allocations: 201.6 kB / 0.7235 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.201, allocations: 81.14 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-05/0.2011, allocations: 53.84 kB / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2011, allocations: 0 / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.2014, allocations: 124.9 kB / 0.7238 GB, free: 11.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.2014, allocations: 0 / 0.7238 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003948/0.2018, allocations: 185.6 kB / 0.724 GB, free: 10.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.2019, allocations: 81.11 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.2021, allocations: 155.7 kB / 0.7242 GB, free: 10.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.2021, allocations: 37.64 kB / 0.7242 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.2022, allocations: 104.5 kB / 0.7243 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.2022, allocations: 35.73 kB / 0.7244 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.2023, allocations: 53.7 kB / 0.7244 GB, free: 10.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2025, allocations: 322.8 kB / 0.7247 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.2026, allocations: 39.98 kB / 0.7248 GB, free: 10.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.2028, allocations: 205 kB / 0.725 GB, free: 9.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.203, allocations: 97.58 kB / 0.725 GB, free: 9.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.203, allocations: 0 / 0.725 GB, free: 9.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002454/0.2032, allocations: 169.4 kB / 0.7252 GB, free: 9.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2032, allocations: 8 kB / 0.7252 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.2032, allocations: 3.938 kB / 0.7252 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2033, allocations: 4 kB / 0.7252 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.2033, allocations: 11.98 kB / 0.7252 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2033, allocations: 4 kB / 0.7252 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.2036, allocations: 71.8 kB / 0.7253 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2036, allocations: 8 kB / 0.7253 GB, free: 9.469 MB / 0.545 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.0001369/0.2038, allocations: 143 kB / 0.7255 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.2038, allocations: 15.91 kB / 0.7255 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.2038, allocations: 8.719 kB / 0.7255 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2038, allocations: 4 kB / 0.7255 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2038, allocations: 0 / 0.7255 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2038, allocations: 0 / 0.7255 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.204, allocations: 168.6 kB / 0.7256 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.204, allocations: 0 / 0.7256 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.204, allocations: 8 kB / 0.7256 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.204, allocations: 0 / 0.7256 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.204, allocations: 8 kB / 0.7257 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.204, allocations: 0 / 0.7257 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.204, allocations: 3.984 kB / 0.7257 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.2043, allocations: 185.7 kB / 0.7258 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.428e-05/0.2043, allocations: 7.953 kB / 0.7258 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2043, allocations: 4 kB / 0.7258 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/0.2044, allocations: 4 kB / 0.7259 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.2044, allocations: 11.98 kB / 0.7259 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2044, allocations: 4 kB / 0.7259 GB, free: 8.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.2045, allocations: 112.8 kB / 0.726 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2045, allocations: 0 / 0.726 GB, free: 8.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003044/0.2048, allocations: 75.86 kB / 0.726 GB, free: 8.645 MB / 0.545 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.0007758/0.2056, allocations: 0.8 MB / 0.7268 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.2059, allocations: 155.2 kB / 0.727 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2059, allocations: 4 kB / 0.727 GB, free: 7.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.206, allocations: 35.98 kB / 0.727 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.2061, allocations: 4 kB / 0.727 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.2081, allocations: 1.718 MB / 0.7287 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.2085, allocations: 0.7079 MB / 0.7294 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.2086, allocations: 12.83 kB / 0.7294 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.2086, allocations: 27.44 kB / 0.7294 GB, free: 5.023 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2086, allocations: 0 / 0.7294 GB, free: 5.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.2339, allocations: 4.216 MB / 0.7335 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.36, allocations: 6.406 kB / 0.7336 GB, free: 0.9883 MB / 0.545 GB " [Timeout remaining time 648] (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 --stepSize=518.4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.005540492013097] Failed to read output from testmodel.py, exit status != 0: 11.523062029038556 11.548424155 11.344534905 Calling exit ...