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.00158/0.00158, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001455/0.001455, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.466/1.466, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.9149/0.9149, allocations: 110.3 MB / 369.4 MB, free: 1.164 MB / 334.1 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 2.084e-06/2.084e-06, allocations: 0 / 0.5477 GB, free: 9.887 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.05e-05, allocations: 2.281 kB / 0.5477 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.002699/0.002729, allocations: 1.417 MB / 0.5491 GB, free: 8.461 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.003726, allocations: 487.1 kB / 0.5496 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.003761, allocations: 0.625 kB / 0.5496 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 8.611e-05/0.003847, allocations: 7.922 kB / 0.5496 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.00391, allocations: 15.38 kB / 0.5496 GB, free: 7.965 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.004695, allocations: 236.7 kB / 0.5498 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.004944, allocations: 151.7 kB / 0.55 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.004991, allocations: 7.969 kB / 0.55 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.005111, allocations: 75.89 kB / 0.55 GB, free: 7.508 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.005201, allocations: 36.94 kB / 0.5501 GB, free: 7.473 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.005238, allocations: 12 kB / 0.5501 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.005553, allocations: 179.7 kB / 0.5503 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.005626, allocations: 39.91 kB / 0.5503 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.005709, allocations: 39.91 kB / 0.5503 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.006172, allocations: 283.2 kB / 0.5506 GB, free: 6.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.006176, allocations: 3.984 kB / 0.5506 GB, free: 6.926 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006177, allocations: 0 / 0.5506 GB, free: 6.926 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.006182, allocations: 0 / 0.5506 GB, free: 6.926 MB / 462.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.0006468/0.006829, allocations: 373.6 kB / 0.551 GB, free: 6.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.00687, allocations: 8.031 kB / 0.551 GB, free: 6.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.006935, allocations: 12.89 kB / 0.551 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.007182, allocations: 156.1 kB / 0.5511 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.007202, allocations: 16.38 kB / 0.5512 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.007231, allocations: 8.375 kB / 0.5512 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.007412, allocations: 79.95 kB / 0.5512 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.007423, allocations: 192 / 0.5512 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.007433, allocations: 384 / 0.5512 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.007438, allocations: 384 / 0.5512 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.007532, allocations: 47.84 kB / 0.5513 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.007775, allocations: 158.2 kB / 0.5514 GB, free: 5.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.007916, allocations: 81.17 kB / 0.5515 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.008, allocations: 53.73 kB / 0.5516 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.008015, allocations: 8 kB / 0.5516 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.008268, allocations: 113 kB / 0.5517 GB, free: 5.691 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.00827, allocations: 0 / 0.5517 GB, free: 5.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004181/0.008688, allocations: 181.5 kB / 0.5519 GB, free: 5.508 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.008782, allocations: 89.09 kB / 0.5519 GB, free: 5.402 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.008949, allocations: 149.8 kB / 0.5521 GB, free: 5.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.008988, allocations: 37.64 kB / 0.5521 GB, free: 5.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.009103, allocations: 100.5 kB / 0.5522 GB, free: 5.098 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.00917, allocations: 40.66 kB / 0.5522 GB, free: 5.059 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.009262, allocations: 49.7 kB / 0.5523 GB, free: 5.004 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.009469, allocations: 334.8 kB / 0.5526 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.009545, allocations: 35.98 kB / 0.5527 GB, free: 4.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.01015, allocations: 0.6033 MB / 0.5532 GB, free: 3.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.01033, allocations: 101.6 kB / 0.5533 GB, free: 3.773 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01033, allocations: 0 / 0.5533 GB, free: 3.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002914/0.01062, allocations: 165.4 kB / 0.5535 GB, free: 3.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.01064, allocations: 4 kB / 0.5535 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.01067, allocations: 4 kB / 0.5535 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.0107, allocations: 3.938 kB / 0.5535 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.0108, allocations: 11.94 kB / 0.5535 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.01081, allocations: 4 kB / 0.5535 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.01111, allocations: 79.8 kB / 0.5536 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.01113, allocations: 7.984 kB / 0.5536 GB, free: 3.492 MB / 462.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.0001726/0.01131, allocations: 134.5 kB / 0.5537 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01133, allocations: 11.95 kB / 0.5537 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.01137, allocations: 12.77 kB / 0.5538 GB, free: 3.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.01138, allocations: 7.938 kB / 0.5538 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.01139, allocations: 0 / 0.5538 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01139, allocations: 0 / 0.5538 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.01158, allocations: 133.2 kB / 0.5539 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.01158, allocations: 0 / 0.5539 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.01162, allocations: 11.94 kB / 0.5539 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01162, allocations: 0 / 0.5539 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01163, allocations: 4 kB / 0.5539 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.01163, allocations: 4 kB / 0.5539 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01164, allocations: 4.562 kB / 0.5539 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.01194, allocations: 169.9 kB / 0.5541 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.01196, allocations: 19.83 kB / 0.5541 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.01199, allocations: 4 kB / 0.5541 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.01203, allocations: 4 kB / 0.5541 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.0121, allocations: 11.92 kB / 0.5541 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.01211, allocations: 4 kB / 0.5541 GB, free: 2.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.01221, allocations: 121.5 kB / 0.5542 GB, free: 2.789 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01221, allocations: 0 / 0.5542 GB, free: 2.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.01257, allocations: 79.86 kB / 0.5543 GB, free: 2.711 MB / 462.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.0003508/0.01292, allocations: 171.1 kB / 0.5545 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.01325, allocations: 159.4 kB / 0.5546 GB, free: 2.363 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01325, allocations: 0 / 0.5546 GB, free: 2.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.01333, allocations: 44 kB / 0.5547 GB, free: 2.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.01355, allocations: 11.98 kB / 0.5547 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.01412, allocations: 226.7 kB / 0.5549 GB, free: 2.059 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.01424, allocations: 96.7 kB / 0.555 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.156e-05/0.01428, allocations: 8.734 kB / 0.555 GB, free: 1.934 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.01431, allocations: 16.5 kB / 0.555 GB, free: 1.918 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01431, allocations: 0 / 0.555 GB, free: 1.918 MB / 462.1 MB Notification: Performance of Templates: time 0.006831/0.02114, allocations: 2.725 MB / 0.5577 GB, free: 15.25 MB / 478.1 MB " [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.676917187869549] Failed to read output from testmodel.py, exit status != 0: 0.029691822826862335 0.044052106 0.034859413 Calling exit ...