Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0016/0.0016, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001997/0.001997, allocations: 218.6 kB / 23.03 MB, free: 4.91 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00251/0.00251, allocations: 299.4 kB / 313.5 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.171/1.171, allocations: 180.6 MB / 0.5377 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002827/0.002827, allocations: 98.75 kB / 0.7402 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1667, allocations: 95.4 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002576/0.1692, allocations: 1.41 MB / 0.8348 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009111/0.1702, allocations: 472.1 kB / 0.8352 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.1702, allocations: 4 kB / 0.8352 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.314e-05/0.1703, allocations: 7.922 kB / 0.8352 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.1703, allocations: 11.88 kB / 0.8352 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.1711, allocations: 244.5 kB / 0.8355 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1713, allocations: 139.8 kB / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.1713, allocations: 15.89 kB / 0.8356 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.1714, allocations: 59.89 kB / 0.8357 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.1715, allocations: 39.84 kB / 0.8357 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.1715, allocations: 8 kB / 0.8357 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.1718, allocations: 199.8 kB / 0.8359 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.1719, allocations: 39.91 kB / 0.8359 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.172, allocations: 43.78 kB / 0.836 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.1723, allocations: 239.5 kB / 0.8362 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1723, allocations: 0 / 0.8362 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1723, allocations: 0 / 0.8362 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1723, allocations: 4 kB / 0.8362 GB, free: 5.457 MB / 0.5762 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.0005621/0.1729, allocations: 369.6 kB / 0.8366 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1729, allocations: 13.94 kB / 0.8366 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.706e-05/0.173, allocations: 4.188 kB / 0.8366 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.173, allocations: 34.75 kB / 0.8366 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.173, allocations: 12.89 kB / 0.8366 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1733, allocations: 156.6 kB / 0.8368 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1733, allocations: 8.375 kB / 0.8368 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1733, allocations: 12.38 kB / 0.8368 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1735, allocations: 95.62 kB / 0.8369 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1735, allocations: 0 / 0.8369 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1735, allocations: 4 kB / 0.8369 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1735, allocations: 0 / 0.8369 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.1736, allocations: 39.92 kB / 0.8369 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.1738, allocations: 181.6 kB / 0.8371 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1739, allocations: 77.17 kB / 0.8372 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.174, allocations: 57.8 kB / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.174, allocations: 0 / 0.8372 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.1743, allocations: 115 kB / 0.8374 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1743, allocations: 4 kB / 0.8374 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003565/0.1746, allocations: 185.5 kB / 0.8375 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.1747, allocations: 89.09 kB / 0.8376 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1748, allocations: 153.6 kB / 0.8378 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1749, allocations: 37.69 kB / 0.8378 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.175, allocations: 100.5 kB / 0.8379 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.175, allocations: 35.72 kB / 0.8379 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.1751, allocations: 61.52 kB / 0.838 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1752, allocations: 326.8 kB / 0.8383 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.1753, allocations: 43.97 kB / 0.8383 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.1757, allocations: 0.6002 MB / 0.8389 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1759, allocations: 93.64 kB / 0.839 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1759, allocations: 0 / 0.839 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002431/0.1761, allocations: 161.5 kB / 0.8392 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1761, allocations: 7.984 kB / 0.8392 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.1762, allocations: 4 kB / 0.8392 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1762, allocations: 0 / 0.8392 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.1762, allocations: 11.94 kB / 0.8392 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1762, allocations: 0 / 0.8392 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1765, allocations: 75.86 kB / 0.8393 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1765, allocations: 4 kB / 0.8393 GB, free: 1.945 MB / 0.5762 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.0001342/0.1767, allocations: 142.3 kB / 0.8394 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.1767, allocations: 11.95 kB / 0.8394 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.1767, allocations: 20.7 kB / 0.8394 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1767, allocations: 4 kB / 0.8394 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1767, allocations: 0 / 0.8394 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1767, allocations: 0 / 0.8394 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1769, allocations: 164.6 kB / 0.8396 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1769, allocations: 3.938 kB / 0.8396 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.1769, allocations: 4 kB / 0.8396 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1769, allocations: 0 / 0.8396 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1769, allocations: 7.984 kB / 0.8396 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1769, allocations: 0 / 0.8396 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1769, allocations: 4 kB / 0.8396 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1772, allocations: 185.8 kB / 0.8398 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.1772, allocations: 11.91 kB / 0.8398 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1772, allocations: 0 / 0.8398 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.1772, allocations: 8 kB / 0.8398 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1773, allocations: 11.92 kB / 0.8398 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1773, allocations: 0 / 0.8398 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.376e-05/0.1774, allocations: 117.7 kB / 0.8399 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1774, allocations: 0 / 0.8399 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003101/0.1777, allocations: 79.8 kB / 0.84 GB, free: 1.105 MB / 0.5762 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.0006955/0.1784, allocations: 0.7771 MB / 0.8408 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.1786, allocations: 159.3 kB / 0.8409 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1786, allocations: 0 / 0.8409 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.1787, allocations: 44.09 kB / 0.841 GB, free: 88 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.1789, allocations: 9.812 kB / 0.841 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1808, allocations: 1.712 MB / 0.8426 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.1809, allocations: 92.97 kB / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.469e-05/0.1809, allocations: 16.66 kB / 0.8428 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.181, allocations: 27.42 kB / 0.8428 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.181, allocations: 0 / 0.8428 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.2071, allocations: 4.36 MB / 0.847 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.67, allocations: 7.188 kB / 0.847 GB, free: 9.961 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.874664347036742] Failed to read output from testmodel.py, exit status != 0: 11.833386330050416 11.84996776 11.674528255 Calling exit ...