Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001366/0.001366, allocations: 76.81 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001561/0.001561, allocations: 161.4 kB / 24.17 MB, free: 324 kB / 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 1.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.891/1.891, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7751 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.548e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002157/0.002183, allocations: 1.472 MB / 0.7765 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007317/0.002914, allocations: 487.1 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.002948, allocations: 0 / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.294e-05/0.003031, allocations: 13.62 kB / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.0031, allocations: 11.8 kB / 0.777 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.003682, allocations: 240.4 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.003867, allocations: 150.8 kB / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.003907, allocations: 7.984 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.00399, allocations: 71.89 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.004058, allocations: 43.88 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.00408, allocations: 11.91 kB / 0.7775 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.004297, allocations: 183.7 kB / 0.7777 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.004355, allocations: 43.89 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.004403, allocations: 31.92 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.004651, allocations: 251.4 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004654, allocations: 0 / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.004656, allocations: 0 / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.00466, allocations: 0 / 0.778 GB, free: 2.504 MB / 0.7292 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.0003718/0.005032, allocations: 344.2 kB / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.005068, allocations: 12.47 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.00511, allocations: 12.92 kB / 0.7784 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.005259, allocations: 150.5 kB / 0.7785 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005271, allocations: 12.36 kB / 0.7785 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.005292, allocations: 16.31 kB / 0.7785 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.005382, allocations: 62.78 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.005389, allocations: 192 / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005397, allocations: 384 / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005402, allocations: 384 / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.005433, allocations: 26.39 kB / 0.7786 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.005536, allocations: 103.5 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.283e-05/0.005598, allocations: 50.91 kB / 0.7788 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.005626, allocations: 25.8 kB / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-06/0.005632, allocations: 3.938 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.005745, allocations: 96.06 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.005746, allocations: 0.5625 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0002393/0.005985, allocations: 83.77 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.006036, allocations: 92.59 kB / 0.7791 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.00612, allocations: 140.7 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.006144, allocations: 33.7 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.006182, allocations: 104.4 kB / 0.7793 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.006221, allocations: 35.69 kB / 0.7794 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.00627, allocations: 49.67 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.006356, allocations: 330.7 kB / 0.7797 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.006375, allocations: 10.83 kB / 0.7797 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.006602, allocations: 0.5488 MB / 0.7803 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.006665, allocations: 59.27 kB / 0.7803 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.006668, allocations: 3.25 kB / 0.7803 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000101/0.006769, allocations: 99.25 kB / 0.7804 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.006782, allocations: 4 kB / 0.7804 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.0068, allocations: 4 kB / 0.7804 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.006812, allocations: 4 kB / 0.7804 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.006885, allocations: 19.92 kB / 0.7805 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.00689, allocations: 7.938 kB / 0.7805 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.006988, allocations: 37.36 kB / 0.7805 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.006996, allocations: 4 kB / 0.7805 GB, free: 15.61 MB / 0.7448 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 7.467e-05/0.007071, allocations: 125.7 kB / 0.7806 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.007085, allocations: 15.92 kB / 0.7806 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.007106, allocations: 13.38 kB / 0.7807 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.007111, allocations: 8.516 kB / 0.7807 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.007113, allocations: 0 / 0.7807 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.007118, allocations: 4.656 kB / 0.7807 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.72e-05/0.007185, allocations: 81.81 kB / 0.7807 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007186, allocations: 0.875 kB / 0.7807 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.007209, allocations: 11.98 kB / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007211, allocations: 1.75 kB / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.007215, allocations: 0 / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007217, allocations: 4 kB / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.007218, allocations: 0 / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.089e-05/0.007309, allocations: 114.3 kB / 0.7809 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.00732, allocations: 12.59 kB / 0.7809 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007333, allocations: 0 / 0.7809 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.007355, allocations: 9.578 kB / 0.7809 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.007385, allocations: 7.938 kB / 0.7809 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.00739, allocations: 7.984 kB / 0.7809 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.007413, allocations: 26.72 kB / 0.7809 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007413, allocations: 0.8125 kB / 0.7809 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001784/0.007591, allocations: 79.81 kB / 0.781 GB, free: 15.05 MB / 0.7448 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.0001927/0.007784, allocations: 159.3 kB / 0.7812 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.007928, allocations: 116.7 kB / 0.7813 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.007932, allocations: 4.781 kB / 0.7813 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.007961, allocations: 24.78 kB / 0.7813 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.558e-05/0.008036, allocations: 20.95 kB / 0.7813 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.008306, allocations: 200 kB / 0.7815 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.665e-05/0.008343, allocations: 75.33 kB / 0.7816 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.00837, allocations: 4.734 kB / 0.7816 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.008441, allocations: 80.11 kB / 0.7817 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.008441, allocations: 0 / 0.7817 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.004211/0.01265, allocations: 2.863 MB / 0.7845 GB, free: 11.64 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.125233686063439]