Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.001409/0.001409, allocations: 93.16 kB / 19.65 MB, free: 292 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.001174/0.001174, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7679/0.7679, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5203 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.273e-05, allocations: 3.828 kB / 0.5203 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001932/0.001955, allocations: 1.545 MB / 0.5218 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.002989, allocations: 0.5412 MB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.003057, allocations: 1.219 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.003165, allocations: 7.875 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.003285, allocations: 27.8 kB / 0.5224 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.00404, allocations: 318.9 kB / 0.5227 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.004466, allocations: 495.4 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.004508, allocations: 7.984 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.004871, allocations: 347.6 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.00509, allocations: 128.7 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.005149, allocations: 28.56 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.005203, allocations: 24.56 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.005309, allocations: 119.6 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.005426, allocations: 128.7 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.005748, allocations: 382.8 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00575, allocations: 1.469 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005751, allocations: 0 / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.005756, allocations: 0 / 0.5242 GB, free: 14.22 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.000993/0.006749, allocations: 0.9032 MB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.006791, allocations: 16.52 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.006908, allocations: 60.66 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.007182, allocations: 263.5 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.007221, allocations: 12.38 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.00727, allocations: 34.17 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.007644, allocations: 211.2 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.007652, allocations: 192 / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.007672, allocations: 4.375 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.007681, allocations: 4.375 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/0.007778, allocations: 57.22 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.008064, allocations: 308.9 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.008262, allocations: 124.4 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.008369, allocations: 64.31 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.008388, allocations: 4 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.00859, allocations: 183.3 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.008592, allocations: 0 / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005567/0.009148, allocations: 378.9 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.009186, allocations: 56.47 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.009486, allocations: 430.6 kB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.009522, allocations: 37.7 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.009586, allocations: 150 kB / 0.5274 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.009625, allocations: 47.66 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.009753, allocations: 135.1 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003265/0.01008, allocations: 0.4923 MB / 0.5281 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.01029, allocations: 181 kB / 0.5282 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.01048, allocations: 241.1 kB / 0.5285 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.01071, allocations: 276 kB / 0.5287 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01071, allocations: 0.9688 kB / 0.5287 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005463/0.01126, allocations: 0.548 MB / 0.5293 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.01131, allocations: 84.28 kB / 0.5294 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01132, allocations: 4 kB / 0.5294 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01133, allocations: 0.5625 kB / 0.5294 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01146, allocations: 35.91 kB / 0.5294 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.01146, allocations: 9.156 kB / 0.5294 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.01164, allocations: 47.86 kB / 0.5294 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-05/0.01169, allocations: 60.66 kB / 0.5295 GB, free: 8.523 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.0001229/0.01182, allocations: 187.1 kB / 0.5297 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.012, allocations: 48.44 kB / 0.5297 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.01204, allocations: 32.62 kB / 0.5298 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01204, allocations: 0 / 0.5298 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01205, allocations: 0 / 0.5298 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.01205, allocations: 17.11 kB / 0.5298 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006558/0.01271, allocations: 0.6688 MB / 0.5304 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01271, allocations: 0 / 0.5304 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.01274, allocations: 7.984 kB / 0.5304 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01275, allocations: 4 kB / 0.5304 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.01277, allocations: 24.42 kB / 0.5305 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01278, allocations: 2.812 kB / 0.5305 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01278, allocations: 0 / 0.5305 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.01317, allocations: 472 kB / 0.5309 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.0133, allocations: 117.6 kB / 0.531 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.01335, allocations: 15.94 kB / 0.531 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.01349, allocations: 16.48 kB / 0.5311 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.01352, allocations: 12.8 kB / 0.5311 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.01356, allocations: 55.97 kB / 0.5311 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001648/0.01373, allocations: 275.1 kB / 0.5314 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01373, allocations: 3.5 kB / 0.5314 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002373/0.01397, allocations: 64 kB / 0.5315 GB, free: 6.484 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 9.888e-05/0.01406, allocations: 113.1 kB / 0.5316 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.01451, allocations: 439.8 kB / 0.532 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01452, allocations: 0.5 kB / 0.532 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.01462, allocations: 85.14 kB / 0.5321 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.01489, allocations: 58.08 kB / 0.5321 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.01568, allocations: 480.7 kB / 0.5326 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.682e-05/0.01574, allocations: 83.81 kB / 0.5327 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.993e-05/0.01578, allocations: 15.86 kB / 0.5327 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.01582, allocations: 20.5 kB / 0.5327 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.01582, allocations: 0 / 0.5327 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of Templates: time 0.008062/0.02388, allocations: 6.477 MB / 0.539 GB, free: 14.72 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8787980643101037]