Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0008254/0.0008254, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008325/0.0008325, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9957/0.9957, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5903/0.5903, allocations: 110.2 MB / 370.2 MB, free: 12.64 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5485 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.824e-05, allocations: 2.281 kB / 0.5485 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.00202/0.002048, allocations: 1.427 MB / 0.5498 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.002725, allocations: 478 kB / 0.5503 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.002766, allocations: 0 / 0.5503 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.141e-05/0.002848, allocations: 3.938 kB / 0.5503 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.002916, allocations: 11.92 kB / 0.5503 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.003615, allocations: 246.7 kB / 0.5506 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.003807, allocations: 155.7 kB / 0.5507 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.00385, allocations: 0 / 0.5507 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.003933, allocations: 79.88 kB / 0.5508 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.004007, allocations: 35.95 kB / 0.5508 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.00403, allocations: 15.94 kB / 0.5508 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.004265, allocations: 191.6 kB / 0.551 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.004325, allocations: 35.89 kB / 0.551 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.004379, allocations: 35.98 kB / 0.5511 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.004671, allocations: 287.2 kB / 0.5514 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004673, allocations: 0 / 0.5514 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004674, allocations: 0 / 0.5514 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.004678, allocations: 0 / 0.5514 GB, free: 6.414 MB / 0.5105 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.0004915/0.00517, allocations: 377.6 kB / 0.5517 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.005209, allocations: 8.031 kB / 0.5517 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.005259, allocations: 12.89 kB / 0.5517 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.005437, allocations: 153.6 kB / 0.5519 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.005452, allocations: 8.375 kB / 0.5519 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.005471, allocations: 12.31 kB / 0.5519 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.005626, allocations: 79.95 kB / 0.552 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.005636, allocations: 4.125 kB / 0.552 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005647, allocations: 384 / 0.552 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.005654, allocations: 4.375 kB / 0.552 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.524e-05/0.005719, allocations: 39.91 kB / 0.552 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.005889, allocations: 166.2 kB / 0.5522 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.011e-05/0.005979, allocations: 69.2 kB / 0.5522 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.006031, allocations: 53.84 kB / 0.5523 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.006041, allocations: 0 / 0.5523 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.006207, allocations: 113 kB / 0.5524 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.006208, allocations: 0 / 0.5524 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003037/0.006512, allocations: 185.5 kB / 0.5526 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.006581, allocations: 81.11 kB / 0.5527 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.006691, allocations: 159.4 kB / 0.5528 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.006716, allocations: 41.69 kB / 0.5529 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.00677, allocations: 100.5 kB / 0.5529 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.006813, allocations: 39.72 kB / 0.553 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.006871, allocations: 53.64 kB / 0.553 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.006961, allocations: 322.8 kB / 0.5533 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.00701, allocations: 39.98 kB / 0.5534 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.007296, allocations: 0.6063 MB / 0.554 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.007395, allocations: 93.64 kB / 0.5541 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.007398, allocations: 0 / 0.5541 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001635/0.007561, allocations: 165.3 kB / 0.5542 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.007576, allocations: 8 kB / 0.5542 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.007597, allocations: 7.984 kB / 0.5542 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.007611, allocations: 7.938 kB / 0.5542 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.00768, allocations: 8 kB / 0.5543 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.007687, allocations: 4 kB / 0.5543 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.007835, allocations: 67.86 kB / 0.5543 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.007846, allocations: 8 kB / 0.5543 GB, free: 2.996 MB / 0.5105 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 9.631e-05/0.007942, allocations: 150.5 kB / 0.5545 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.007952, allocations: 7.953 kB / 0.5545 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.007979, allocations: 12.78 kB / 0.5545 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.007983, allocations: 7.922 kB / 0.5545 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.007988, allocations: 0 / 0.5545 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.007992, allocations: 0 / 0.5545 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.522e-05/0.008077, allocations: 137.2 kB / 0.5546 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.008079, allocations: 3.984 kB / 0.5546 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.008098, allocations: 8 kB / 0.5546 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.0081, allocations: 0 / 0.5546 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.008107, allocations: 0 / 0.5546 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008108, allocations: 4 kB / 0.5546 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008111, allocations: 7.875 kB / 0.5547 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.008262, allocations: 169.9 kB / 0.5548 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.008273, allocations: 15.84 kB / 0.5548 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.00829, allocations: 7.984 kB / 0.5548 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.008309, allocations: 0 / 0.5548 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.008352, allocations: 19.92 kB / 0.5549 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.00836, allocations: 8 kB / 0.5549 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.008416, allocations: 113.3 kB / 0.555 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.008416, allocations: 0 / 0.555 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002089/0.008625, allocations: 75.81 kB / 0.555 GB, free: 2.199 MB / 0.5105 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.0001997/0.008825, allocations: 175 kB / 0.5552 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.009034, allocations: 155.3 kB / 0.5554 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.009036, allocations: 0 / 0.5554 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.00908, allocations: 39.92 kB / 0.5554 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.009209, allocations: 12 kB / 0.5554 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.009581, allocations: 252.3 kB / 0.5557 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.947e-05/0.009651, allocations: 93.11 kB / 0.5557 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.009675, allocations: 16.48 kB / 0.5558 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of SimCode: time 3.4e-07/0.009675, allocations: 3.938 kB / 0.5558 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of Templates: time 0.003247/0.01292, allocations: 2.545 MB / 0.5582 GB, free: 14.86 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.236331714317203] Failed to read output from testmodel.py, exit status != 0: 0.017687523737549782 0.026255599 0.019924337 Calling exit ...