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.0008524/0.0008524, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0008761/0.0008761, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9205/0.9205, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7496/0.7496, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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 179] 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.573e-06/1.573e-06, allocations: 0 / 0.5207 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.089e-05, allocations: 4 kB / 0.5207 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001651/0.001672, allocations: 1.452 MB / 0.5221 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005469/0.002219, allocations: 479.1 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.00225, allocations: 0 / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.335e-05/0.002314, allocations: 12.72 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.002366, allocations: 17.66 kB / 0.5226 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.002859, allocations: 239.3 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003003, allocations: 151.9 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.003036, allocations: 5.25 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.483e-05/0.00311, allocations: 75.92 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.003168, allocations: 36.44 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.003189, allocations: 8.906 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.003387, allocations: 191.6 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.003431, allocations: 39.91 kB / 0.5233 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.003471, allocations: 36.56 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.003685, allocations: 247.4 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003686, allocations: 0.5625 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003687, allocations: 0.625 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.00369, allocations: 0 / 0.5236 GB, free: 15 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.0003675/0.004058, allocations: 480.7 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.00409, allocations: 8.969 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.004125, allocations: 16.89 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.00425, allocations: 150.3 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004262, allocations: 10.11 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.004277, allocations: 16.38 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.963e-05/0.004356, allocations: 61.61 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.004364, allocations: 4.172 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004371, allocations: 6.125 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004376, allocations: 384 / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.004403, allocations: 23.86 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.004523, allocations: 152.8 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.004577, allocations: 66.28 kB / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.004607, allocations: 44.08 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.004613, allocations: 1.406 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.184e-05/0.004705, allocations: 96.52 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.004707, allocations: 3.984 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0001724/0.004879, allocations: 118.7 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.004915, allocations: 89.09 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.004998, allocations: 201.8 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.005017, allocations: 33.7 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.005066, allocations: 153.3 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.005098, allocations: 35.72 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.005147, allocations: 59.33 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.005253, allocations: 0.4961 MB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.005273, allocations: 15.98 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.005476, allocations: 0.5945 MB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.005536, allocations: 66.67 kB / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005537, allocations: 0 / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001015/0.005639, allocations: 113.5 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.005649, allocations: 4 kB / 0.5266 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.005663, allocations: 4.562 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005673, allocations: 3.938 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.005734, allocations: 20.98 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.005738, allocations: 3.938 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.005828, allocations: 39.7 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.005833, allocations: 4 kB / 0.5267 GB, free: 11.44 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 6.873e-05/0.005902, allocations: 165.6 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.005916, allocations: 23.84 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.005944, allocations: 22.23 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005946, allocations: 4 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.005949, allocations: 3.938 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005952, allocations: 0 / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.443e-05/0.006027, allocations: 124.3 kB / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006027, allocations: 0 / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.597e-05/0.006043, allocations: 4 kB / 0.527 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006045, allocations: 4 kB / 0.527 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.006053, allocations: 7.984 kB / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006054, allocations: 0 / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006054, allocations: 0 / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.00617, allocations: 151.8 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.006181, allocations: 11.89 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.006193, allocations: 3.031 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.006212, allocations: 4 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.00624, allocations: 7.984 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.006245, allocations: 4 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003373/0.006582, allocations: 149.3 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006582, allocations: 0 / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001802/0.006762, allocations: 75.88 kB / 0.5274 GB, free: 10.63 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.000161/0.006923, allocations: 172.6 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.00705, allocations: 127.9 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.007051, allocations: 0 / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.00708, allocations: 36.09 kB / 0.5277 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.007183, allocations: 10.97 kB / 0.5278 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.007419, allocations: 210.5 kB / 0.528 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.007453, allocations: 67.33 kB / 0.528 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.007481, allocations: 13 kB / 0.528 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.007556, allocations: 98.17 kB / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.007556, allocations: 0 / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.003984/0.01154, allocations: 2.9 MB / 0.531 GB, free: 7.145 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: 3.4077150281518698]