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.001675/0.001675, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001952/0.001952, allocations: 216 kB / 22.25 MB, free: 4.852 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.801 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.002554/0.002554, allocations: 287.4 kB / 312.7 MB, free: 2.613 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.217/1.217, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",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.002986/0.002986, allocations: 100.4 kB / 0.7395 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1663, allocations: 95.38 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002521/0.1689, allocations: 1.421 MB / 0.834 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.1698, allocations: 472.1 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.1698, allocations: 4 kB / 0.8345 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.377e-05/0.1698, allocations: 3.938 kB / 0.8345 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.1699, allocations: 11.92 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.1706, allocations: 241.4 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1708, allocations: 147.7 kB / 0.8348 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.1709, allocations: 7.953 kB / 0.8349 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.1709, allocations: 55.89 kB / 0.8349 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.171, allocations: 47.83 kB / 0.8349 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.1711, allocations: 12 kB / 0.835 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.1714, allocations: 183.8 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1714, allocations: 39.86 kB / 0.8352 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/0.1715, allocations: 47.83 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1718, allocations: 231.5 kB / 0.8354 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1718, allocations: 0 / 0.8354 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1718, allocations: 0 / 0.8354 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1718, allocations: 3.938 kB / 0.8354 GB, free: 5.434 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.0005432/0.1724, allocations: 377.6 kB / 0.8358 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1724, allocations: 13.94 kB / 0.8358 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.1725, allocations: 34.73 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.1725, allocations: 12.89 kB / 0.8359 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1727, allocations: 155.7 kB / 0.836 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1727, allocations: 4.375 kB / 0.836 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1728, allocations: 12.38 kB / 0.836 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1729, allocations: 87.89 kB / 0.8361 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1729, allocations: 3.938 kB / 0.8361 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1729, allocations: 0 / 0.8361 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1729, allocations: 4 kB / 0.8361 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.173, allocations: 43.91 kB / 0.8362 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.1733, allocations: 181.6 kB / 0.8363 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1734, allocations: 77.19 kB / 0.8364 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.1735, allocations: 49.81 kB / 0.8365 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.1735, allocations: 7.984 kB / 0.8365 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.1737, allocations: 105 kB / 0.8366 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1737, allocations: 4 kB / 0.8366 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003679/0.1741, allocations: 189.5 kB / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.1741, allocations: 85.11 kB / 0.8368 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1743, allocations: 160 kB / 0.837 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.1743, allocations: 37.7 kB / 0.837 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.1744, allocations: 100.5 kB / 0.8371 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.1744, allocations: 39.72 kB / 0.8372 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.511e-05/0.1745, allocations: 49.64 kB / 0.8372 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1747, allocations: 330.8 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.1747, allocations: 43.98 kB / 0.8376 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.1752, allocations: 0.5948 MB / 0.8381 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1753, allocations: 97.58 kB / 0.8382 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1753, allocations: 4 kB / 0.8382 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002446/0.1756, allocations: 157.6 kB / 0.8384 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1756, allocations: 8 kB / 0.8384 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.1756, allocations: 7.984 kB / 0.8384 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1756, allocations: 0 / 0.8384 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.1757, allocations: 19.86 kB / 0.8384 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1757, allocations: 0.625 kB / 0.8384 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.176, allocations: 79.8 kB / 0.8385 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.176, allocations: 4 kB / 0.8385 GB, free: 1.918 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.0001253/0.1761, allocations: 138.4 kB / 0.8386 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1761, allocations: 11.89 kB / 0.8386 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.1762, allocations: 16.72 kB / 0.8387 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1762, allocations: 0 / 0.8387 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1762, allocations: 4 kB / 0.8387 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1762, allocations: 0 / 0.8387 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1763, allocations: 168.6 kB / 0.8388 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1763, allocations: 0 / 0.8388 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.1764, allocations: 11.94 kB / 0.8388 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1764, allocations: 0 / 0.8388 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1764, allocations: 4 kB / 0.8388 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1764, allocations: 0 / 0.8388 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1764, allocations: 0 / 0.8388 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1766, allocations: 184.1 kB / 0.839 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.1767, allocations: 11.91 kB / 0.839 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.1767, allocations: 11.98 kB / 0.839 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.327e-05/0.1767, allocations: 8 kB / 0.839 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1768, allocations: 7.922 kB / 0.8391 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1768, allocations: 4 kB / 0.8391 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.539e-05/0.1769, allocations: 117.8 kB / 0.8392 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 0.8392 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002979/0.1772, allocations: 71.81 kB / 0.8392 GB, free: 1.086 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.0006958/0.1779, allocations: 0.777 MB / 0.84 GB, free: 284 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.1781, allocations: 163.3 kB / 0.8401 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1781, allocations: 0 / 0.8401 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.1782, allocations: 47.92 kB / 0.8402 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.1784, allocations: 5.547 kB / 0.8402 GB, free: 56 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.1802, allocations: 1.704 MB / 0.8419 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.916e-05/0.1803, allocations: 92.98 kB / 0.842 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.1803, allocations: 12.83 kB / 0.842 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1804, allocations: 23.44 kB / 0.842 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.1804, allocations: 0 / 0.842 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.2112, allocations: 4.712 MB / 0.8466 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.24, allocations: 6.344 kB / 0.8466 GB, free: 9.578 MB / 0.5919 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.236036063637584] Failed to read output from testmodel.py, exit status != 0: 11.347118948120624 11.363030619 11.188126763 Calling exit ...