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.001342/0.001342, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001485/0.001485, allocations: 219.7 kB / 22.26 MB, free: 5.211 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.012 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.9206/0.9206, allocations: 145 MB / 457.4 MB, free: 15.56 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="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"}) [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.001951/0.001951, allocations: 68.8 kB / 0.6331 GB, free: 7.355 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 87.87 MB / 0.719 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002762/0.1798, allocations: 1.442 MB / 0.7204 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1808, allocations: 0.5022 MB / 0.7209 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.1809, allocations: 3.938 kB / 0.7209 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.601e-05/0.1809, allocations: 11.92 kB / 0.7209 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.181, allocations: 11.92 kB / 0.7209 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/0.1817, allocations: 234.4 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.182, allocations: 151.7 kB / 0.7213 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.1821, allocations: 11.98 kB / 0.7213 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.1821, allocations: 51.91 kB / 0.7213 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.1822, allocations: 47.83 kB / 0.7214 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.1823, allocations: 8 kB / 0.7214 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.1826, allocations: 199.7 kB / 0.7216 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.1826, allocations: 43.89 kB / 0.7216 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.1827, allocations: 43.8 kB / 0.7216 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.183, allocations: 239.2 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.183, allocations: 4 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.183, allocations: 0 / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.183, allocations: 0 / 0.7219 GB, free: 12.49 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.0006294/0.1836, allocations: 381.5 kB / 0.7222 GB, free: 12.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.1837, allocations: 8.031 kB / 0.7222 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1837, allocations: 34.75 kB / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.1837, allocations: 16.89 kB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1839, allocations: 160.5 kB / 0.7225 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.184, allocations: 8.375 kB / 0.7225 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.184, allocations: 8.375 kB / 0.7225 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1841, allocations: 87.89 kB / 0.7226 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1841, allocations: 3.938 kB / 0.7226 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1841, allocations: 0 / 0.7226 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1842, allocations: 4 kB / 0.7226 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.1842, allocations: 39.91 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.1845, allocations: 201.6 kB / 0.7228 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1846, allocations: 85.16 kB / 0.7229 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.1846, allocations: 49.81 kB / 0.7229 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.1846, allocations: 0 / 0.7229 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.1849, allocations: 117 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 9.31e-07/0.1849, allocations: 0 / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.000317/0.1853, allocations: 177.5 kB / 0.7232 GB, free: 10.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.1853, allocations: 97.08 kB / 0.7233 GB, free: 10.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1855, allocations: 145.8 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.1855, allocations: 37.69 kB / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.1856, allocations: 100.5 kB / 0.7236 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.1856, allocations: 35.73 kB / 0.7236 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.1857, allocations: 49.7 kB / 0.7236 GB, free: 10.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1858, allocations: 322.8 kB / 0.724 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.1859, allocations: 43.97 kB / 0.724 GB, free: 10.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1861, allocations: 203.3 kB / 0.7242 GB, free: 9.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1863, allocations: 97.64 kB / 0.7243 GB, free: 9.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.1863, allocations: 3.938 kB / 0.7243 GB, free: 9.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003032/0.1866, allocations: 169.4 kB / 0.7244 GB, free: 9.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1866, allocations: 8 kB / 0.7245 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.1866, allocations: 0 / 0.7245 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1866, allocations: 4 kB / 0.7245 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.1867, allocations: 11.98 kB / 0.7245 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1867, allocations: 3.938 kB / 0.7245 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1869, allocations: 75.8 kB / 0.7245 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.187, allocations: 4 kB / 0.7245 GB, free: 9.457 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.0001206/0.1871, allocations: 133.8 kB / 0.7247 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.1871, allocations: 23.84 kB / 0.7247 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.1871, allocations: 12.72 kB / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.1871, allocations: 0 / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1871, allocations: 0 / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1871, allocations: 0 / 0.7247 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1873, allocations: 168.6 kB / 0.7249 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1873, allocations: 0 / 0.7249 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1873, allocations: 4 kB / 0.7249 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1873, allocations: 4 kB / 0.7249 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1873, allocations: 3.984 kB / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1873, allocations: 7.938 kB / 0.7249 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.1873, allocations: 4 kB / 0.7249 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1876, allocations: 181 kB / 0.7251 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.1876, allocations: 11.95 kB / 0.7251 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1876, allocations: 4 kB / 0.7251 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.1877, allocations: 0 / 0.7251 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1878, allocations: 7.984 kB / 0.7251 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1878, allocations: 12 kB / 0.7251 GB, free: 8.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.304e-05/0.1879, allocations: 112.9 kB / 0.7252 GB, free: 8.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1879, allocations: 0 / 0.7252 GB, free: 8.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000287/0.1882, allocations: 75.86 kB / 0.7253 GB, free: 8.633 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.0006497/0.1888, allocations: 0.7935 MB / 0.7261 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1891, allocations: 163.4 kB / 0.7262 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1891, allocations: 0 / 0.7262 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.1892, allocations: 39.92 kB / 0.7262 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1894, allocations: 10.03 kB / 0.7263 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1913, allocations: 1.708 MB / 0.7279 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1916, allocations: 0.7079 MB / 0.7286 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.882e-05/0.1916, allocations: 12.66 kB / 0.7286 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.1916, allocations: 31.42 kB / 0.7287 GB, free: 5.012 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1916, allocations: 3.938 kB / 0.7287 GB, free: 5.008 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.2263, allocations: 4.182 MB / 0.7327 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.08, allocations: 7.719 kB / 0.7328 GB, free: 0.9844 MB / 0.545 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 14.71289317496121] Failed to read output from testmodel.py, exit status != 0: 11.186087881214917 11.202766209 11.016619865 Calling exit ...