Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0007636/0.0007636, allocations: 76.55 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.0008279/0.0008279, allocations: 181.9 kB / 23.22 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.8657/0.8657, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:686: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-531:694: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.7013/0.7013, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.736e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001826/0.001854, allocations: 1.525 MB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009095/0.002763, allocations: 0.5226 MB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.002811, allocations: 0 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.0029, allocations: 3.938 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.003009, allocations: 35.56 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.003584, allocations: 328.8 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.003917, allocations: 487.4 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.003958, allocations: 11.97 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.004267, allocations: 343.7 kB / 0.6225 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.004455, allocations: 131.7 kB / 0.6226 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.004501, allocations: 28 kB / 0.6226 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-05/0.004545, allocations: 28 kB / 0.6226 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.00464, allocations: 127.6 kB / 0.6228 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.004736, allocations: 123.8 kB / 0.6229 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.005064, allocations: 462.8 kB / 0.6233 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005066, allocations: 0 / 0.6233 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005067, allocations: 0 / 0.6233 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005071, allocations: 0 / 0.6233 GB, free: 9.031 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001047/0.006118, allocations: 0.8067 MB / 0.6241 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.00615, allocations: 8.031 kB / 0.6241 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.006232, allocations: 52.7 kB / 0.6242 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.006481, allocations: 263.9 kB / 0.6244 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.006517, allocations: 20.36 kB / 0.6244 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.006561, allocations: 28.3 kB / 0.6245 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.007088, allocations: 226 kB / 0.6247 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.007095, allocations: 192 / 0.6247 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.007115, allocations: 8.359 kB / 0.6247 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.00712, allocations: 384 / 0.6247 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.007476, allocations: 119.9 kB / 0.6248 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.007715, allocations: 273.1 kB / 0.6251 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.008215, allocations: 182.4 kB / 0.6252 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.00856, allocations: 120.8 kB / 0.6254 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.008581, allocations: 4 kB / 0.6254 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.009039, allocations: 235.1 kB / 0.6256 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.00904, allocations: 0 / 0.6256 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001248/0.01029, allocations: 0.5283 MB / 0.6261 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.01033, allocations: 71.38 kB / 0.6262 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.01059, allocations: 413.9 kB / 0.6266 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.01062, allocations: 41.69 kB / 0.6266 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.01067, allocations: 93.44 kB / 0.6267 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.01071, allocations: 35.77 kB / 0.6267 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.01082, allocations: 125.4 kB / 0.6268 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.0109, allocations: 326.8 kB / 0.6272 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.0111, allocations: 195.2 kB / 0.6273 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.01131, allocations: 245.3 kB / 0.6276 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01155, allocations: 279.4 kB / 0.6278 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01155, allocations: 0 / 0.6278 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005273/0.01208, allocations: 0.5625 MB / 0.6284 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.01213, allocations: 83.38 kB / 0.6285 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01214, allocations: 0 / 0.6285 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01215, allocations: 8.188 kB / 0.6285 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.01225, allocations: 23.91 kB / 0.6285 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.01226, allocations: 7.938 kB / 0.6285 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.01249, allocations: 59.91 kB / 0.6286 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.01254, allocations: 63.98 kB / 0.6286 GB, free: 3.273 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001381/0.01268, allocations: 188.7 kB / 0.6288 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.01272, allocations: 47.75 kB / 0.6289 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.01276, allocations: 39.69 kB / 0.6289 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01276, allocations: 0 / 0.6289 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01276, allocations: 0 / 0.6289 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01277, allocations: 11.94 kB / 0.6289 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.0139, allocations: 0.7194 MB / 0.6296 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.0139, allocations: 0 / 0.6296 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.01392, allocations: 8 kB / 0.6296 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01392, allocations: 0 / 0.6296 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.01394, allocations: 27.84 kB / 0.6296 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01395, allocations: 4 kB / 0.6296 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01395, allocations: 0 / 0.6296 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.01479, allocations: 0.5034 MB / 0.6301 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.01495, allocations: 129.5 kB / 0.6303 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.015, allocations: 19.92 kB / 0.6303 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.01521, allocations: 35.97 kB / 0.6303 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.01524, allocations: 7.984 kB / 0.6303 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.01528, allocations: 59.97 kB / 0.6304 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001811/0.01546, allocations: 299.1 kB / 0.6307 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01546, allocations: 0 / 0.6307 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002088/0.01567, allocations: 64 kB / 0.6307 GB, free: 1.066 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 9.639e-05/0.01577, allocations: 118 kB / 0.6308 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009445/0.01671, allocations: 490.2 kB / 0.6313 GB, free: 440 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01671, allocations: 4.125 kB / 0.6313 GB, free: 436 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.01706, allocations: 119.9 kB / 0.6314 GB, free: 316 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01732, allocations: 28.7 kB / 0.6314 GB, free: 288 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000921/0.01824, allocations: 0.6136 MB / 0.632 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.01835, allocations: 163 kB / 0.6322 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.01839, allocations: 16.5 kB / 0.6322 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.01839, allocations: 0 / 0.6322 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.003644/0.02204, allocations: 3.678 MB / 0.6358 GB, free: 11.73 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.259300750680268] Failed to read output from testmodel.py, exit status != 0: 0.027338487096130848 0.035737996 0.028942741 Calling exit ...