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.001691/0.001691, allocations: 88.72 kB / 19.44 MB, free: 352 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.001671/0.001671, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.605 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.365/1.365, allocations: 154.6 MB / 414.1 MB, free: 0.625 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.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 2.455e-06/2.455e-06, allocations: 0 / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.532e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003788/0.003824, allocations: 1.514 MB / 0.5211 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.00537, allocations: 0.5329 MB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.005452, allocations: 0.5625 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.005568, allocations: 8.594 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.005704, allocations: 28.52 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.0068, allocations: 329.6 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000793/0.007593, allocations: 487.4 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.007642, allocations: 7.984 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007357/0.008377, allocations: 352.3 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.00876, allocations: 132.6 kB / 0.5229 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.008874, allocations: 25.72 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.008966, allocations: 28 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.009145, allocations: 119.6 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.009361, allocations: 131.7 kB / 0.5232 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.01005, allocations: 454.7 kB / 0.5236 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01005, allocations: 0.5938 kB / 0.5236 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01005, allocations: 4 kB / 0.5236 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.01007, allocations: 1.031 kB / 0.5236 GB, free: 14.48 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.001792/0.01186, allocations: 0.8002 MB / 0.5244 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.0119, allocations: 11.97 kB / 0.5244 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.01213, allocations: 56.7 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.01264, allocations: 260 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.0127, allocations: 21.14 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.01279, allocations: 28.36 kB / 0.5247 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.01396, allocations: 229.9 kB / 0.525 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.01397, allocations: 192 / 0.525 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.01402, allocations: 4.375 kB / 0.525 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01403, allocations: 4.375 kB / 0.525 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008675/0.01489, allocations: 120.3 kB / 0.5251 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.0154, allocations: 278.1 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.01657, allocations: 180 kB / 0.5255 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.01743, allocations: 118.7 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.01746, allocations: 0 / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.01858, allocations: 241.3 kB / 0.5259 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01858, allocations: 0 / 0.5259 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.002971/0.02155, allocations: 0.532 MB / 0.5264 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.02162, allocations: 67.39 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.02221, allocations: 405.9 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.02231, allocations: 45.69 kB / 0.5269 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.02243, allocations: 89.45 kB / 0.527 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.0225, allocations: 43.73 kB / 0.527 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.02277, allocations: 127.2 kB / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002424/0.02301, allocations: 326.8 kB / 0.5274 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.02343, allocations: 195.2 kB / 0.5276 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.02386, allocations: 249.3 kB / 0.5279 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.02433, allocations: 277.5 kB / 0.5281 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.02433, allocations: 0 / 0.5281 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001139/0.02547, allocations: 0.5906 MB / 0.5287 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.02558, allocations: 84.31 kB / 0.5288 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.02559, allocations: 0 / 0.5288 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.02562, allocations: 7.984 kB / 0.5288 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.02581, allocations: 21.36 kB / 0.5288 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.02582, allocations: 7.938 kB / 0.5288 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.02639, allocations: 62.75 kB / 0.5289 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.02651, allocations: 63.98 kB / 0.5289 GB, free: 8.723 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.0003158/0.02683, allocations: 199.7 kB / 0.5291 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.02693, allocations: 39.77 kB / 0.5292 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.02703, allocations: 44.3 kB / 0.5292 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.02704, allocations: 4 kB / 0.5292 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.02705, allocations: 0.6875 kB / 0.5292 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.02706, allocations: 3.938 kB / 0.5292 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.02966, allocations: 0.7147 MB / 0.5299 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.02966, allocations: 3.938 kB / 0.5299 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.0297, allocations: 4 kB / 0.5299 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.02972, allocations: 1.219 kB / 0.5299 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.02977, allocations: 27.91 kB / 0.53 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.02977, allocations: 0 / 0.53 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02977, allocations: 0 / 0.53 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.03182, allocations: 0.5083 MB / 0.5304 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.03211, allocations: 133.5 kB / 0.5306 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.03219, allocations: 19.94 kB / 0.5306 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.03272, allocations: 35.95 kB / 0.5306 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.03277, allocations: 7.984 kB / 0.5306 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.718e-05/0.03285, allocations: 59.98 kB / 0.5307 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003888/0.03324, allocations: 298.6 kB / 0.531 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.03324, allocations: 0 / 0.531 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000428/0.03367, allocations: 63.98 kB / 0.531 GB, free: 6.523 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.0002186/0.03389, allocations: 115.2 kB / 0.5311 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.03552, allocations: 488.8 kB / 0.5316 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.03553, allocations: 0 / 0.5316 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/0.03644, allocations: 130.2 kB / 0.5317 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.0369, allocations: 49.59 kB / 0.5318 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.03867, allocations: 0.5767 MB / 0.5323 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.03905, allocations: 168.4 kB / 0.5325 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.337e-05/0.03912, allocations: 15.05 kB / 0.5325 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.03917, allocations: 17.11 kB / 0.5325 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.03917, allocations: 0.6875 kB / 0.5325 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of Templates: time 0.01301/0.05219, allocations: 5.865 MB / 0.5383 GB, free: 15.16 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.170445029973052]