Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001374/0.001374, allocations: 93.06 kB / 19.65 MB, free: 280 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.001155/0.001155, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8176/0.8176, allocations: 154.9 MB / 414.8 MB, free: 400 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 3.938 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.498e-05, allocations: 7.922 kB / 0.5206 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002206/0.002241, allocations: 1.514 MB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.003108, allocations: 0.6567 MB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.003156, allocations: 0 / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.931e-05/0.003245, allocations: 11.92 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.003319, allocations: 15.69 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.004279, allocations: 364.7 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.004516, allocations: 171.6 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.004561, allocations: 9.641 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.004705, allocations: 91.86 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.004794, allocations: 43.88 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.004823, allocations: 12.75 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.005203, allocations: 275.5 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.005266, allocations: 41.3 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.005334, allocations: 47.89 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.005714, allocations: 331 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005717, allocations: 0 / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005718, allocations: 1.344 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.005724, allocations: 0 / 0.5241 GB, free: 14.33 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006297/0.006353, allocations: 0.4957 MB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.006393, allocations: 9.188 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.006464, allocations: 20.88 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.006655, allocations: 154.6 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.006673, allocations: 15.09 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.006695, allocations: 8.375 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.006863, allocations: 89.28 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.006874, allocations: 192 / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.006888, allocations: 384 / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.006898, allocations: 4.375 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.428e-05/0.006963, allocations: 35.84 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.00718, allocations: 188.6 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.007299, allocations: 109.8 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/0.007367, allocations: 56.16 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.007376, allocations: 4 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.007529, allocations: 130.2 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 8.52e-07/0.007529, allocations: 4 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.0003041/0.007833, allocations: 174.2 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.007886, allocations: 118.8 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.008124, allocations: 197.2 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.00815, allocations: 37.7 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.008206, allocations: 143.4 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.008255, allocations: 56.98 kB / 0.5261 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.008321, allocations: 67.34 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.008445, allocations: 0.5001 MB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.008498, allocations: 24.27 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.00871, allocations: 462.7 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.008831, allocations: 105.6 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008833, allocations: 0 / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000181/0.009014, allocations: 170.1 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.009029, allocations: 5.281 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.00905, allocations: 4 kB / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.009066, allocations: 7.938 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.00917, allocations: 31.92 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.009177, allocations: 5.312 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.009286, allocations: 35.86 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.009298, allocations: 11.16 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.465e-05/0.009392, allocations: 179.1 kB / 0.5276 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.009412, allocations: 15.91 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.009437, allocations: 16.78 kB / 0.5277 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.00944, allocations: 3.938 kB / 0.5277 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.009447, allocations: 4 kB / 0.5277 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.00945, allocations: 0 / 0.5277 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.009556, allocations: 155.3 kB / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.009558, allocations: 0 / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.009591, allocations: 15.92 kB / 0.5278 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.009594, allocations: 4 kB / 0.5278 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.009602, allocations: 0 / 0.5278 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.009606, allocations: 7.938 kB / 0.5278 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.009609, allocations: 3.938 kB / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.009788, allocations: 193.1 kB / 0.528 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.009801, allocations: 21.16 kB / 0.5281 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.009821, allocations: 0 / 0.5281 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/0.00985, allocations: 7.984 kB / 0.5281 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.009894, allocations: 12.48 kB / 0.5281 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.009901, allocations: 4 kB / 0.5281 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.815e-05/0.009949, allocations: 141.2 kB / 0.5282 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009949, allocations: 3.938 kB / 0.5282 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000264/0.01021, allocations: 103.8 kB / 0.5283 GB, free: 9.559 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002395/0.01045, allocations: 221.9 kB / 0.5285 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.01069, allocations: 193.2 kB / 0.5287 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0107, allocations: 0 / 0.5287 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.351e-05/0.01075, allocations: 47.78 kB / 0.5288 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.01088, allocations: 11.98 kB / 0.5288 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.01124, allocations: 241.6 kB / 0.529 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.01128, allocations: 74.08 kB / 0.5291 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.01131, allocations: 8.984 kB / 0.5291 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.01134, allocations: 20.48 kB / 0.5291 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01134, allocations: 0 / 0.5291 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of Templates: time 0.005587/0.01693, allocations: 3.524 MB / 0.5325 GB, free: 5.391 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.926143388263881]