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.0007854/0.0007854, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007869/0.0007869, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8662/0.8662, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001494/0.001494, allocations: 234 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6862/0.6862, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6462 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.261e-05, allocations: 5.516 kB / 0.6462 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.001544/0.001556, allocations: 1.421 MB / 0.6476 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.002103, allocations: 478.1 kB / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.002131, allocations: 0 / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.344e-05/0.002195, allocations: 11.92 kB / 0.6481 GB, free: 32 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.002242, allocations: 11.88 kB / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2193/0.2215, allocations: 228.2 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.2218, allocations: 151.6 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.2218, allocations: 5.703 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2219, allocations: 76.67 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.222, allocations: 41.31 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.222, allocations: 12 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.2223, allocations: 184.3 kB / 0.6488 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.2224, allocations: 37.33 kB / 0.6488 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.2224, allocations: 38.64 kB / 0.6489 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.2228, allocations: 279.8 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2228, allocations: 0 / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2228, allocations: 2.594 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2228, allocations: 0 / 0.6491 GB, free: 55.88 MB / 0.5573 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.0003841/0.2231, allocations: 374.2 kB / 0.6495 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2232, allocations: 10.97 kB / 0.6495 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.2232, allocations: 35.64 kB / 0.6495 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.2232, allocations: 14.05 kB / 0.6495 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.2234, allocations: 151.2 kB / 0.6497 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2234, allocations: 10.11 kB / 0.6497 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2234, allocations: 10.03 kB / 0.6497 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.2235, allocations: 84.28 kB / 0.6498 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2235, allocations: 1.938 kB / 0.6498 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.2236, allocations: 384 / 0.6498 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2236, allocations: 6.375 kB / 0.6498 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.16e-05/0.2236, allocations: 41.98 kB / 0.6498 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.2238, allocations: 184.2 kB / 0.65 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/0.2238, allocations: 75.05 kB / 0.6501 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.2239, allocations: 53.5 kB / 0.6501 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2239, allocations: 2.562 kB / 0.6501 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.2241, allocations: 107.4 kB / 0.6502 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 7.11e-07/0.2241, allocations: 0.8438 kB / 0.6502 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.0002516/0.2244, allocations: 189 kB / 0.6504 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2244, allocations: 90.86 kB / 0.6505 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.2245, allocations: 152.3 kB / 0.6506 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.2245, allocations: 34.77 kB / 0.6507 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.2245, allocations: 101.2 kB / 0.6508 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.2245, allocations: 40.72 kB / 0.6508 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.2246, allocations: 51.47 kB / 0.6509 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/0.2246, allocations: 325.9 kB / 0.6512 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.2247, allocations: 40.28 kB / 0.6512 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2248, allocations: 0.6023 MB / 0.6518 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.2249, allocations: 94.75 kB / 0.6519 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2249, allocations: 1.969 kB / 0.6519 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000139/0.2251, allocations: 166 kB / 0.6521 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2251, allocations: 10.44 kB / 0.6521 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.2251, allocations: 1.594 kB / 0.6521 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2251, allocations: 2.969 kB / 0.6521 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.2252, allocations: 7.859 kB / 0.6521 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2252, allocations: 3.734 kB / 0.6521 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.2253, allocations: 73.69 kB / 0.6521 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.2253, allocations: 3.406 kB / 0.6522 GB, free: 53.64 MB / 0.5573 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 6.237e-05/0.2254, allocations: 143.5 kB / 0.6523 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.2254, allocations: 13.97 kB / 0.6523 GB, free: 53.51 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.2254, allocations: 24.09 kB / 0.6523 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2254, allocations: 2.828 kB / 0.6523 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2254, allocations: 2.906 kB / 0.6523 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2254, allocations: 0 / 0.6523 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.719e-05/0.2255, allocations: 154.2 kB / 0.6525 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2255, allocations: 0 / 0.6525 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.2255, allocations: 8.109 kB / 0.6525 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2255, allocations: 3.406 kB / 0.6525 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2255, allocations: 7.656 kB / 0.6525 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2255, allocations: 1.781 kB / 0.6525 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2255, allocations: 3.219 kB / 0.6525 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2257, allocations: 181.8 kB / 0.6527 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.2257, allocations: 8.297 kB / 0.6527 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2257, allocations: 10.95 kB / 0.6527 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.2257, allocations: 2.906 kB / 0.6527 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.2257, allocations: 16 kB / 0.6527 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2257, allocations: 2.594 kB / 0.6527 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.2258, allocations: 117.9 kB / 0.6528 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2258, allocations: 3.312 kB / 0.6528 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002053/0.226, allocations: 74.45 kB / 0.6529 GB, free: 53.17 MB / 0.5573 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.0003276/0.2263, allocations: 0.7922 MB / 0.6537 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.2265, allocations: 158.4 kB / 0.6538 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2265, allocations: 0 / 0.6538 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.2265, allocations: 36.64 kB / 0.6539 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2266, allocations: 9.391 kB / 0.6539 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.2276, allocations: 1.713 MB / 0.6555 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.2276, allocations: 96.72 kB / 0.6556 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.2277, allocations: 9 kB / 0.6556 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.2277, allocations: 34.16 kB / 0.6557 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of SimCode: time 4.01e-07/0.2277, allocations: 0 / 0.6557 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.247, allocations: 4.839 MB / 0.6604 GB, free: 50 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/6.977, allocations: 8.266 kB / 0.6604 GB, free: 49.99 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.54202364757657] Failed to read output from testmodel.py, exit status != 0: 7.057572716847062 7.065447802 6.841278911 Calling exit ...