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.001322/0.001322, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00186/0.00186, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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-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 1.228/1.228, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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.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 2.375e-06/2.375e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.354e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.0027/0.002734, allocations: 1.514 MB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.004398, allocations: 0.5239 MB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.004463, allocations: 8 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.004583, allocations: 7.875 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.004731, allocations: 35.56 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.005879, allocations: 325.5 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.006669, allocations: 487.4 kB / 0.6214 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.006723, allocations: 0 / 0.6214 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007108/0.007434, allocations: 359.6 kB / 0.6217 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.007831, allocations: 131.7 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.007968, allocations: 28 kB / 0.6218 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.008097, allocations: 24 kB / 0.6219 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.008283, allocations: 115.7 kB / 0.622 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.008534, allocations: 135.7 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007177/0.009251, allocations: 466.7 kB / 0.6226 GB, free: 492 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.009255, allocations: 0 / 0.6226 GB, free: 492 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.009257, allocations: 0 / 0.6226 GB, free: 492 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.009263, allocations: 0 / 0.6226 GB, free: 492 kB / 0.5294 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.001666/0.01093, allocations: 0.7988 MB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.01097, allocations: 12.03 kB / 0.6233 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.01114, allocations: 48.7 kB / 0.6234 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.01162, allocations: 260 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.01168, allocations: 16.38 kB / 0.6237 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.01178, allocations: 28.36 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.01312, allocations: 230 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01314, allocations: 8.125 kB / 0.6239 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.01318, allocations: 4.375 kB / 0.6239 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.01319, allocations: 4.375 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.01433, allocations: 111.9 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.01486, allocations: 285 kB / 0.6243 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.01644, allocations: 182.5 kB / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.0176, allocations: 117.2 kB / 0.6246 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.01762, allocations: 0 / 0.6246 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.0191, allocations: 241.8 kB / 0.6248 GB, free: 14.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.275e-06/0.0191, allocations: 4 kB / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.003955/0.02305, allocations: 0.5244 MB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.02313, allocations: 59.39 kB / 0.6254 GB, free: 13.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007051/0.02384, allocations: 413.9 kB / 0.6258 GB, free: 13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.02396, allocations: 41.69 kB / 0.6258 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.0241, allocations: 97.44 kB / 0.6259 GB, free: 12.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.02417, allocations: 35.75 kB / 0.6259 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.02447, allocations: 129.5 kB / 0.6261 GB, free: 12.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.02466, allocations: 326.8 kB / 0.6264 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.02514, allocations: 195.2 kB / 0.6266 GB, free: 12.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.02567, allocations: 247.4 kB / 0.6268 GB, free: 11.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.02622, allocations: 274.9 kB / 0.6271 GB, free: 11.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.02623, allocations: 0 / 0.6271 GB, free: 11.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001316/0.02755, allocations: 0.5605 MB / 0.6276 GB, free: 11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.02767, allocations: 83.38 kB / 0.6277 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.02768, allocations: 4 kB / 0.6277 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.02771, allocations: 0 / 0.6277 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.02793, allocations: 27.91 kB / 0.6277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.02795, allocations: 7.938 kB / 0.6277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/0.02866, allocations: 68.05 kB / 0.6278 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.02893, allocations: 55.98 kB / 0.6279 GB, free: 10.74 MB / 0.545 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.0003941/0.02932, allocations: 200.7 kB / 0.628 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.02942, allocations: 43.69 kB / 0.6281 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.02952, allocations: 35.69 kB / 0.6281 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.02953, allocations: 4 kB / 0.6281 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.02954, allocations: 0 / 0.6281 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.02954, allocations: 3.938 kB / 0.6281 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.03258, allocations: 0.7206 MB / 0.6288 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.03259, allocations: 0 / 0.6288 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.03262, allocations: 4 kB / 0.6288 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.03263, allocations: 4 kB / 0.6288 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.03268, allocations: 27.91 kB / 0.6289 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.03268, allocations: 0 / 0.6289 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03268, allocations: 4 kB / 0.6289 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.03457, allocations: 0.5019 MB / 0.6294 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.03487, allocations: 133.5 kB / 0.6295 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.03499, allocations: 23.92 kB / 0.6295 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.03562, allocations: 39.97 kB / 0.6295 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.03566, allocations: 7.984 kB / 0.6296 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/0.03575, allocations: 63.97 kB / 0.6296 GB, free: 8.867 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003397/0.03609, allocations: 295.1 kB / 0.6299 GB, free: 8.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.03609, allocations: 0 / 0.6299 GB, free: 8.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003915/0.03648, allocations: 63.98 kB / 0.63 GB, free: 8.52 MB / 0.545 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.0002079/0.03669, allocations: 115.9 kB / 0.6301 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.03817, allocations: 489.9 kB / 0.6305 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.03817, allocations: 0 / 0.6305 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.03898, allocations: 123.9 kB / 0.6307 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.03938, allocations: 35.61 kB / 0.6307 GB, free: 7.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.04093, allocations: 0.576 MB / 0.6313 GB, free: 7.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.04112, allocations: 159 kB / 0.6314 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.064e-05/0.04118, allocations: 17.14 kB / 0.6314 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.04123, allocations: 24.48 kB / 0.6314 GB, free: 6.918 MB / 0.545 GB Notification: Performance of SimCode: time 4.6e-07/0.04123, allocations: 0 / 0.6314 GB, free: 6.918 MB / 0.545 GB Notification: Performance of Templates: time 0.01022/0.05145, allocations: 5.834 MB / 0.6371 GB, free: 1.066 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.896656930446625] Failed to read output from testmodel.py, exit status != 0: 0.062098562717437744 0.07535275500000001 0.06291224100000001 Calling exit ...