Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0009145/0.0009145, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009319/0.0009319, allocations: 169 kB / 23.02 MB, free: 1.547 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.9696/0.9696, 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 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.7766/0.7766, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5203 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.386e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00219/0.002214, allocations: 1.552 MB / 0.5218 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003312, allocations: 0.5357 MB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.00337, allocations: 0 / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.003474, allocations: 17.08 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003586, allocations: 27.8 kB / 0.5224 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.007605, allocations: 321.2 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.008137, allocations: 483.4 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.008179, allocations: 7.984 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.008608, allocations: 356.6 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.008906, allocations: 128.7 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.008975, allocations: 24 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.009037, allocations: 28.94 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.009151, allocations: 127.6 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.009291, allocations: 123.7 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.009653, allocations: 380.1 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.009655, allocations: 0 / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.009656, allocations: 0 / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.009661, allocations: 4.625 kB / 0.5243 GB, free: 14.21 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.0009653/0.01063, allocations: 0.9084 MB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.01066, allocations: 8.031 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.01078, allocations: 56.7 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.01121, allocations: 266.7 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.01125, allocations: 21.83 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.525e-05/0.01132, allocations: 28.36 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.01173, allocations: 212.5 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01174, allocations: 192 / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.01176, allocations: 384 / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01177, allocations: 2.188 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.01189, allocations: 60.5 kB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.01223, allocations: 312.4 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.01246, allocations: 124.1 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.01258, allocations: 66.78 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.0126, allocations: 4 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.01283, allocations: 185.4 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.01284, allocations: 0 / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.003691/0.01653, allocations: 378.6 kB / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.01657, allocations: 63.34 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.01714, allocations: 423.7 kB / 0.5273 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.01718, allocations: 41.69 kB / 0.5273 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.01726, allocations: 148.1 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.0173, allocations: 36.61 kB / 0.5275 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.01746, allocations: 131.1 kB / 0.5276 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.01758, allocations: 0.4923 MB / 0.5281 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.01783, allocations: 176.5 kB / 0.5283 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.01808, allocations: 245.1 kB / 0.5285 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.02142, allocations: 276.7 kB / 0.5288 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02142, allocations: 2.312 kB / 0.5288 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005967/0.02202, allocations: 0.5578 MB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.02208, allocations: 87.31 kB / 0.5294 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.02208, allocations: 1.062 kB / 0.5294 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.02211, allocations: 4 kB / 0.5294 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.02228, allocations: 31.97 kB / 0.5294 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.02229, allocations: 13.59 kB / 0.5294 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.02255, allocations: 39.92 kB / 0.5295 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.02264, allocations: 63.98 kB / 0.5295 GB, free: 8.512 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.0001658/0.02281, allocations: 184.1 kB / 0.5297 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.02288, allocations: 47.75 kB / 0.5297 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.291e-05/0.02294, allocations: 35.67 kB / 0.5298 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.02295, allocations: 5.125 kB / 0.5298 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.02295, allocations: 3.938 kB / 0.5298 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.02296, allocations: 7.875 kB / 0.5298 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.02395, allocations: 0.6707 MB / 0.5305 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02395, allocations: 1.406 kB / 0.5305 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.02401, allocations: 4 kB / 0.5305 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.02401, allocations: 3.938 kB / 0.5305 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.02405, allocations: 23.91 kB / 0.5305 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.02405, allocations: 6.438 kB / 0.5305 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02405, allocations: 0 / 0.5305 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.02463, allocations: 456.5 kB / 0.5309 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.02485, allocations: 129.5 kB / 0.5311 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.02492, allocations: 19.94 kB / 0.5311 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.02517, allocations: 19.97 kB / 0.5311 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.02521, allocations: 7.984 kB / 0.5311 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.02528, allocations: 63.97 kB / 0.5312 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002231/0.02551, allocations: 267.1 kB / 0.5314 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02551, allocations: 1.938 kB / 0.5314 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003846/0.02589, allocations: 67.98 kB / 0.5315 GB, free: 6.469 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.0001443/0.02604, allocations: 116.5 kB / 0.5316 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006426/0.02668, allocations: 427.5 kB / 0.532 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02668, allocations: 1.438 kB / 0.532 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.02685, allocations: 88.14 kB / 0.5321 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.02726, allocations: 55.52 kB / 0.5321 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.02829, allocations: 478.9 kB / 0.5326 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.685e-05/0.02835, allocations: 88.64 kB / 0.5327 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.373e-05/0.02841, allocations: 11.47 kB / 0.5327 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.02846, allocations: 16.48 kB / 0.5327 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/0.02846, allocations: 3.938 kB / 0.5327 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of Templates: time 0.01039/0.03885, allocations: 5.871 MB / 0.5384 GB, free: 15.32 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.069061500020325]