Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001367/0.001367, allocations: 74.98 kB / 19.93 MB, free: 1.773 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.001505/0.001505, allocations: 170.1 kB / 23.22 MB, free: 4.879 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.397/1.397, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9029/0.9029, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5546 GB, free: 2.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.752e-05, allocations: 6 kB / 0.5546 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002443/0.00247, allocations: 1.412 MB / 0.556 GB, free: 1.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008622/0.003332, allocations: 454.2 kB / 0.5564 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.003363, allocations: 0 / 0.5564 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 7.06e-05/0.003433, allocations: 7.938 kB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.003487, allocations: 7.922 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.004247, allocations: 258.5 kB / 0.5567 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.004467, allocations: 151.7 kB / 0.5569 GB, free: 388 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.004501, allocations: 0 / 0.5569 GB, free: 388 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.004617, allocations: 79.94 kB / 0.5569 GB, free: 308 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.004699, allocations: 35.88 kB / 0.557 GB, free: 272 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.004733, allocations: 12 kB / 0.557 GB, free: 260 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.005038, allocations: 183.7 kB / 0.5572 GB, free: 76 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.005109, allocations: 39.89 kB / 0.5572 GB, free: 36 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.005184, allocations: 35.92 kB / 0.5572 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.005589, allocations: 283.4 kB / 0.5575 GB, free: 15.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005592, allocations: 7.938 kB / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005592, allocations: 0 / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.005597, allocations: 0 / 0.5575 GB, free: 15.71 MB / 478.1 MB 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.0005834/0.00618, allocations: 373.5 kB / 0.5579 GB, free: 15.31 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.006213, allocations: 8.625 kB / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.006273, allocations: 12.89 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.006491, allocations: 149.6 kB / 0.558 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.006511, allocations: 8.359 kB / 0.558 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.006541, allocations: 12.38 kB / 0.558 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.006703, allocations: 83.89 kB / 0.5581 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006711, allocations: 4.188 kB / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.006721, allocations: 384 / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.006727, allocations: 4.375 kB / 0.5581 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.006805, allocations: 35.92 kB / 0.5582 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.007024, allocations: 166.1 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.007147, allocations: 73.14 kB / 0.5584 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.007229, allocations: 53.84 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.007241, allocations: 0 / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.007412, allocations: 105 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.007413, allocations: 4 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003716/0.007785, allocations: 189.5 kB / 0.5587 GB, free: 14.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.007867, allocations: 85.11 kB / 0.5588 GB, free: 14.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.008008, allocations: 159.4 kB / 0.559 GB, free: 14.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.008052, allocations: 33.7 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.008133, allocations: 104.5 kB / 0.5591 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.008183, allocations: 35.72 kB / 0.5591 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.008266, allocations: 53.7 kB / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.008416, allocations: 326.8 kB / 0.5595 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.008486, allocations: 39.98 kB / 0.5595 GB, free: 13.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.008942, allocations: 0.5963 MB / 0.5601 GB, free: 12.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.009089, allocations: 104.9 kB / 0.5602 GB, free: 12.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009091, allocations: 0 / 0.5602 GB, free: 12.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002417/0.009333, allocations: 157.5 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.009347, allocations: 8 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.009364, allocations: 0 / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.009383, allocations: 7.938 kB / 0.5604 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.009452, allocations: 7.984 kB / 0.5604 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.009458, allocations: 4 kB / 0.5604 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.009757, allocations: 75.8 kB / 0.5605 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.00977, allocations: 4 kB / 0.5605 GB, free: 12.31 MB / 478.1 MB 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.0001257/0.009896, allocations: 150.8 kB / 0.5606 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.009919, allocations: 15.91 kB / 0.5606 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.00995, allocations: 20.72 kB / 0.5606 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.009954, allocations: 3.938 kB / 0.5606 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.009958, allocations: 0 / 0.5606 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.009963, allocations: 3.984 kB / 0.5606 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.01008, allocations: 125.3 kB / 0.5608 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01008, allocations: 0 / 0.5608 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.01012, allocations: 15.98 kB / 0.5608 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01012, allocations: 0 / 0.5608 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.01014, allocations: 8 kB / 0.5608 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01014, allocations: 0.625 kB / 0.5608 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.01014, allocations: 3.938 kB / 0.5608 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.01037, allocations: 177.8 kB / 0.561 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.01039, allocations: 11.89 kB / 0.561 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.01042, allocations: 8 kB / 0.561 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.01048, allocations: 3.984 kB / 0.561 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.01053, allocations: 7.938 kB / 0.561 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01054, allocations: 7.984 kB / 0.561 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.684e-05/0.01062, allocations: 112.8 kB / 0.5611 GB, free: 11.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01062, allocations: 0 / 0.5611 GB, free: 11.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.01092, allocations: 71.86 kB / 0.5612 GB, free: 11.52 MB / 478.1 MB 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.0002667/0.01118, allocations: 183.2 kB / 0.5614 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.01146, allocations: 167.3 kB / 0.5615 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.01146, allocations: 0 / 0.5615 GB, free: 11.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 7.464e-05/0.01154, allocations: 39.92 kB / 0.5616 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.01169, allocations: 8 kB / 0.5616 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.0121, allocations: 222.6 kB / 0.5618 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.01219, allocations: 93.11 kB / 0.5619 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 3.679e-05/0.01223, allocations: 12.72 kB / 0.5619 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.01225, allocations: 16.5 kB / 0.5619 GB, free: 10.71 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01225, allocations: 0 / 0.5619 GB, free: 10.71 MB / 478.1 MB Notification: Performance of Templates: time 0.006172/0.01842, allocations: 2.695 MB / 0.5645 GB, free: 8.078 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.178460348397493] Failed to read output from testmodel.py, exit status != 0: 0.026688527315855026 0.040903851000000005 0.032321643000000004 Calling exit ...