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.00158/0.00158, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001926/0.001926, allocations: 216.8 kB / 23.03 MB, free: 4.949 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.29 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.002154/0.002154, allocations: 69.02 kB / 0.6338 GB, free: 6.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1954, allocations: 87.89 MB / 0.7197 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.003101/0.1985, allocations: 1.409 MB / 0.721 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1995, allocations: 474.3 kB / 0.7215 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.1996, allocations: 0 / 0.7215 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.27e-05/0.1997, allocations: 7.938 kB / 0.7215 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.1997, allocations: 15.84 kB / 0.7215 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008666/0.2006, allocations: 242.6 kB / 0.7217 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2009, allocations: 155.7 kB / 0.7219 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.2009, allocations: 4 kB / 0.7219 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.201, allocations: 51.91 kB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2011, allocations: 43.83 kB / 0.722 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.2012, allocations: 8 kB / 0.722 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.2015, allocations: 195.8 kB / 0.7222 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.2016, allocations: 39.89 kB / 0.7222 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.2017, allocations: 47.8 kB / 0.7223 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.2022, allocations: 243.2 kB / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2022, allocations: 0 / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2022, allocations: 0 / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.2022, allocations: 0 / 0.7225 GB, free: 11.98 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.0008289/0.2031, allocations: 381.5 kB / 0.7229 GB, free: 11.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.2031, allocations: 8.031 kB / 0.7229 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.103e-05/0.2031, allocations: 8.172 kB / 0.7229 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.2032, allocations: 34.73 kB / 0.7229 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.2033, allocations: 12.89 kB / 0.7229 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.2036, allocations: 156.4 kB / 0.7231 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2036, allocations: 12.38 kB / 0.7231 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.2036, allocations: 8.375 kB / 0.7231 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.2039, allocations: 91.58 kB / 0.7232 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2039, allocations: 3.984 kB / 0.7232 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2039, allocations: 0 / 0.7232 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2039, allocations: 4 kB / 0.7232 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.204, allocations: 31.98 kB / 0.7232 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.2043, allocations: 189.6 kB / 0.7234 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.2045, allocations: 77.12 kB / 0.7235 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.2046, allocations: 57.84 kB / 0.7235 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.2046, allocations: 0 / 0.7235 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.2049, allocations: 113 kB / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.2049, allocations: 4 kB / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0004487/0.2054, allocations: 181.5 kB / 0.7238 GB, free: 10.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.2055, allocations: 85.09 kB / 0.7239 GB, free: 10.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2057, allocations: 149.8 kB / 0.724 GB, free: 10.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.2057, allocations: 37.7 kB / 0.7241 GB, free: 10.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.2058, allocations: 100.5 kB / 0.7242 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.188e-05/0.2059, allocations: 35.73 kB / 0.7242 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.206, allocations: 53.7 kB / 0.7242 GB, free: 9.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2062, allocations: 322.8 kB / 0.7246 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.2063, allocations: 43.98 kB / 0.7246 GB, free: 9.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/0.2068, allocations: 0.5989 MB / 0.7252 GB, free: 8.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.207, allocations: 97.58 kB / 0.7253 GB, free: 8.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.207, allocations: 4 kB / 0.7253 GB, free: 8.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000261/0.2072, allocations: 165.4 kB / 0.7254 GB, free: 8.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2072, allocations: 4 kB / 0.7254 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/0.2073, allocations: 4 kB / 0.7254 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2073, allocations: 0 / 0.7254 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.2074, allocations: 15.98 kB / 0.7255 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2074, allocations: 0 / 0.7255 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.2077, allocations: 75.8 kB / 0.7255 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2077, allocations: 8 kB / 0.7255 GB, free: 8.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.0001492/0.2078, allocations: 141.7 kB / 0.7257 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.2078, allocations: 11.91 kB / 0.7257 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.2079, allocations: 12.72 kB / 0.7257 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2079, allocations: 0 / 0.7257 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2079, allocations: 4 kB / 0.7257 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2079, allocations: 3.984 kB / 0.7257 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2081, allocations: 164.6 kB / 0.7259 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2081, allocations: 0 / 0.7259 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.2081, allocations: 11.94 kB / 0.7259 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2081, allocations: 4 kB / 0.7259 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2081, allocations: 4 kB / 0.7259 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2081, allocations: 0 / 0.7259 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2081, allocations: 0 / 0.7259 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2084, allocations: 189.7 kB / 0.7261 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.2084, allocations: 11.94 kB / 0.7261 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.2084, allocations: 4 kB / 0.7261 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.2085, allocations: 4 kB / 0.7261 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.2085, allocations: 3.984 kB / 0.7261 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2085, allocations: 4 kB / 0.7261 GB, free: 7.824 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.027e-05/0.2086, allocations: 121.5 kB / 0.7262 GB, free: 7.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 0.7262 GB, free: 7.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003536/0.209, allocations: 71.86 kB / 0.7263 GB, free: 7.637 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.0008587/0.2098, allocations: 0.7913 MB / 0.727 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.2101, allocations: 155.3 kB / 0.7272 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2101, allocations: 0 / 0.7272 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.2102, allocations: 43.97 kB / 0.7272 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.2104, allocations: 4 kB / 0.7272 GB, free: 6.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.2125, allocations: 1.718 MB / 0.7289 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.338e-05/0.2126, allocations: 92.94 kB / 0.729 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.2126, allocations: 8.656 kB / 0.729 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.2127, allocations: 27.44 kB / 0.729 GB, free: 4.645 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.2127, allocations: 0 / 0.729 GB, free: 4.645 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.2388, allocations: 4.396 MB / 0.7333 GB, free: 480 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.64, allocations: 10.84 kB / 0.7333 GB, free: 472 kB / 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.356065123924054] Failed to read output from testmodel.py, exit status != 0: 11.798575813998468 11.814523081 11.609253602 Calling exit ...