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.001442/0.001442, allocations: 88.72 kB / 19.44 MB, free: 356 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.001601/0.001601, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.295/1.295, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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.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 2.354e-06/2.354e-06, allocations: 0.6562 kB / 0.5196 GB, free: 2.598 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.613e-05, allocations: 6.25 kB / 0.5196 GB, free: 2.594 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003202/0.003238, allocations: 1.517 MB / 0.5211 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.004833, allocations: 0.5267 MB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.004893, allocations: 4.969 kB / 0.5216 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.00501, allocations: 11.86 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.005145, allocations: 33.06 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.006044, allocations: 311.9 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006297/0.006674, allocations: 489.2 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.951e-05/0.006733, allocations: 7.969 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005872/0.007321, allocations: 359.5 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.007655, allocations: 134 kB / 0.5229 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/0.007752, allocations: 24 kB / 0.5229 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.007831, allocations: 28 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.008009, allocations: 116.4 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.008218, allocations: 127.7 kB / 0.5232 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.008873, allocations: 463.9 kB / 0.5236 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.008878, allocations: 7.938 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.008879, allocations: 0 / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.008885, allocations: 0.7188 kB / 0.5236 GB, free: 14.49 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001919/0.0108, allocations: 0.7955 MB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.01085, allocations: 16.58 kB / 0.5244 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.01102, allocations: 52.7 kB / 0.5244 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.01146, allocations: 253.2 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.01151, allocations: 16.38 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.01161, allocations: 32.36 kB / 0.5247 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.01272, allocations: 234.8 kB / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.01273, allocations: 192 / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.01276, allocations: 4.312 kB / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.01277, allocations: 4.375 kB / 0.525 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008485/0.01362, allocations: 115.9 kB / 0.5251 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.01407, allocations: 289 kB / 0.5254 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.01522, allocations: 176.7 kB / 0.5255 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/0.01605, allocations: 114.4 kB / 0.5256 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.01607, allocations: 4.938 kB / 0.5256 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.01716, allocations: 241.1 kB / 0.5259 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.01717, allocations: 0 / 0.5259 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.003241/0.02041, allocations: 0.53 MB / 0.5264 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.02047, allocations: 59.41 kB / 0.5264 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.02098, allocations: 417.8 kB / 0.5268 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.02105, allocations: 39.36 kB / 0.5269 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.02116, allocations: 101.4 kB / 0.527 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.02122, allocations: 43.69 kB / 0.527 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.02144, allocations: 121.5 kB / 0.5271 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.02164, allocations: 325.6 kB / 0.5274 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.02199, allocations: 191.3 kB / 0.5276 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.02239, allocations: 245.3 kB / 0.5279 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.02284, allocations: 277.8 kB / 0.5281 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02285, allocations: 0 / 0.5281 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001155/0.024, allocations: 0.583 MB / 0.5287 GB, free: 9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.02411, allocations: 79.38 kB / 0.5288 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.02412, allocations: 0.7188 kB / 0.5288 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.02414, allocations: 4 kB / 0.5288 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.02433, allocations: 32.52 kB / 0.5288 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.02434, allocations: 7.922 kB / 0.5288 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.02503, allocations: 63.12 kB / 0.5289 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.02517, allocations: 59.98 kB / 0.5289 GB, free: 8.75 MB / 0.4948 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.0004058/0.02557, allocations: 199.6 kB / 0.5291 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.02572, allocations: 50.88 kB / 0.5292 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.02582, allocations: 39.69 kB / 0.5292 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.02583, allocations: 4 kB / 0.5292 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.02584, allocations: 0 / 0.5292 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.02584, allocations: 3.938 kB / 0.5292 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.02933, allocations: 0.709 MB / 0.5299 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.02933, allocations: 4 kB / 0.5299 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.02939, allocations: 8 kB / 0.5299 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.02939, allocations: 2.469 kB / 0.5299 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.02946, allocations: 27.91 kB / 0.5299 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.02946, allocations: 0 / 0.5299 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.02946, allocations: 0 / 0.5299 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.03232, allocations: 0.5065 MB / 0.5304 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.03274, allocations: 137.5 kB / 0.5306 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.03285, allocations: 11.94 kB / 0.5306 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.03357, allocations: 40.78 kB / 0.5306 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.03362, allocations: 7.984 kB / 0.5306 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.03374, allocations: 64.5 kB / 0.5307 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005194/0.03426, allocations: 295.1 kB / 0.531 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03426, allocations: 1.5 kB / 0.531 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006423/0.0349, allocations: 67.98 kB / 0.531 GB, free: 6.539 MB / 0.4948 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 0.0002366/0.03514, allocations: 114.4 kB / 0.5311 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.03747, allocations: 487.6 kB / 0.5316 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03747, allocations: 0.625 kB / 0.5316 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.0387, allocations: 135.9 kB / 0.5317 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.03935, allocations: 56.17 kB / 0.5318 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.04169, allocations: 0.5843 MB / 0.5324 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.04197, allocations: 163 kB / 0.5325 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.839e-05/0.04206, allocations: 15.42 kB / 0.5325 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.04214, allocations: 12.5 kB / 0.5325 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.04214, allocations: 0 / 0.5325 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of Templates: time 0.01767/0.0598, allocations: 5.857 MB / 0.5383 GB, free: 15.18 MB / 0.5105 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: 6.071238138014451]