Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001796/0.001796, allocations: 93.47 kB / 19.45 MB, free: 332 kB / 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.001956/0.001956, allocations: 169.2 kB / 22.76 MB, free: 1.656 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 1.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.388/1.388, allocations: 154.6 MB / 414.2 MB, free: 0.6406 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.5196 GB, free: 2.598 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.709e-05/3.906e-05, allocations: 3.219 kB / 0.5196 GB, free: 2.594 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003653/0.003692, allocations: 1.426 MB / 0.521 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004743, allocations: 482.3 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.004789, allocations: 0 / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.428e-05/0.004883, allocations: 11.92 kB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.646e-05/0.004949, allocations: 7.875 kB / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.005871, allocations: 244.2 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.006152, allocations: 156.3 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.006198, allocations: 4.828 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.006356, allocations: 71.95 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.006464, allocations: 41.34 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.006506, allocations: 12 kB / 0.522 GB, free: 180 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.006878, allocations: 179.7 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.00696, allocations: 44.83 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.007046, allocations: 35.92 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.007679, allocations: 275.3 kB / 0.5225 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.007683, allocations: 1.219 kB / 0.5225 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007684, allocations: 0 / 0.5225 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.007691, allocations: 0 / 0.5225 GB, free: 15.65 MB / 0.4948 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.0007788/0.008469, allocations: 484.8 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.008512, allocations: 12.03 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.008595, allocations: 20.81 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.008869, allocations: 149.2 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.008889, allocations: 8.375 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.008916, allocations: 9.656 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.0091, allocations: 77.61 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.00911, allocations: 192 / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.00912, allocations: 1.719 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.009128, allocations: 4.375 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.00922, allocations: 27.86 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.009509, allocations: 188.3 kB / 0.5234 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.009671, allocations: 78.91 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.009752, allocations: 45.3 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.00977, allocations: 4 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.009989, allocations: 108.4 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.00999, allocations: 0 / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0004172/0.01041, allocations: 147.6 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.0105, allocations: 89.05 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.01077, allocations: 219.2 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.01081, allocations: 33.7 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.01094, allocations: 155.2 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.01101, allocations: 39.73 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.01114, allocations: 64.81 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000296/0.01144, allocations: 0.5001 MB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.01151, allocations: 27.98 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.01207, allocations: 0.6031 MB / 0.5255 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.01225, allocations: 100.2 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01225, allocations: 0 / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000584/0.01284, allocations: 144.4 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01286, allocations: 8 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.01288, allocations: 0 / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.0129, allocations: 8.438 kB / 0.5257 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.01303, allocations: 20.73 kB / 0.5257 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.01304, allocations: 4 kB / 0.5257 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.01328, allocations: 51.42 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.01329, allocations: 4.562 kB / 0.5258 GB, free: 11.84 MB / 0.4948 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 0.0001758/0.01347, allocations: 186 kB / 0.526 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.0135, allocations: 11.91 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.01354, allocations: 12.78 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.01354, allocations: 10.31 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01355, allocations: 0 / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.01355, allocations: 4 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.01374, allocations: 148.6 kB / 0.5261 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01374, allocations: 0 / 0.5261 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.01378, allocations: 8 kB / 0.5261 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01378, allocations: 2.812 kB / 0.5261 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.0138, allocations: 3.984 kB / 0.5262 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0138, allocations: 4 kB / 0.5262 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.0138, allocations: 3.938 kB / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.01408, allocations: 164 kB / 0.5263 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.01411, allocations: 11.89 kB / 0.5263 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.01413, allocations: 4 kB / 0.5263 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.01417, allocations: 4 kB / 0.5263 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.01423, allocations: 12.67 kB / 0.5263 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01424, allocations: 4 kB / 0.5264 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001203/0.01436, allocations: 154.4 kB / 0.5265 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01436, allocations: 0 / 0.5265 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000327/0.01468, allocations: 71.88 kB / 0.5266 GB, free: 10.97 MB / 0.4948 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.0003486/0.01503, allocations: 175 kB / 0.5267 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.01534, allocations: 150.9 kB / 0.5269 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01535, allocations: 0 / 0.5269 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.859e-05/0.01542, allocations: 43.61 kB / 0.5269 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01559, allocations: 8 kB / 0.5269 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.01612, allocations: 236.4 kB / 0.5272 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.01623, allocations: 89.11 kB / 0.5272 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.01628, allocations: 8.719 kB / 0.5272 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.01631, allocations: 12.5 kB / 0.5273 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.01631, allocations: 0.9062 kB / 0.5273 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of Templates: time 0.00731/0.02362, allocations: 2.704 MB / 0.5299 GB, free: 7.676 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.328329790965654]