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.001362/0.001362, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001653/0.001653, allocations: 166.5 kB / 22.46 MB, free: 5.375 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.494/1.494, 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.192/1.192, allocations: 154.6 MB / 413.8 MB, free: 5.207 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.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.913e-06/1.913e-06, allocations: 0 / 0.6185 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.44e-05, allocations: 3.281 kB / 0.6185 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003205/0.003239, allocations: 1.524 MB / 0.62 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004635, allocations: 0.529 MB / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.004698, allocations: 0 / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.004804, allocations: 11.86 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.004941, allocations: 35.58 kB / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.006023, allocations: 319 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007196/0.006742, allocations: 495.4 kB / 0.6214 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.006799, allocations: 4 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007492/0.007549, allocations: 351.6 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.007928, allocations: 127.7 kB / 0.6218 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.008071, allocations: 35.94 kB / 0.6219 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.008195, allocations: 28 kB / 0.6219 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.008365, allocations: 119.6 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.008595, allocations: 131.7 kB / 0.6221 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.009212, allocations: 458.8 kB / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.009217, allocations: 0 / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.009219, allocations: 0 / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.009238, allocations: 0 / 0.6226 GB, free: 468 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.001525/0.01076, allocations: 0.7988 MB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.01081, allocations: 8.031 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.01098, allocations: 60.7 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.01143, allocations: 260 kB / 0.6237 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.01148, allocations: 16.36 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.01156, allocations: 24.38 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.01265, allocations: 233.9 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01266, allocations: 192 / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.01269, allocations: 4.375 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.0127, allocations: 4.375 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.01353, allocations: 111.9 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.01397, allocations: 285.1 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.0151, allocations: 178.5 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.0159, allocations: 120.8 kB / 0.6246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.01593, allocations: 7.938 kB / 0.6246 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.01697, allocations: 238.3 kB / 0.6248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.684e-06/0.01698, allocations: 0 / 0.6248 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002791/0.01977, allocations: 0.5244 MB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.01982, allocations: 63.34 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.02029, allocations: 417.8 kB / 0.6258 GB, free: 12.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.02035, allocations: 37.7 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.02044, allocations: 93.44 kB / 0.6259 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.02051, allocations: 51.67 kB / 0.626 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.02074, allocations: 125.4 kB / 0.6261 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.02091, allocations: 326.8 kB / 0.6264 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.02126, allocations: 191.2 kB / 0.6266 GB, free: 12.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.02164, allocations: 251.4 kB / 0.6268 GB, free: 11.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.02207, allocations: 271 kB / 0.6271 GB, free: 11.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02207, allocations: 0 / 0.6271 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009667/0.02304, allocations: 0.5605 MB / 0.6276 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.02314, allocations: 89.58 kB / 0.6277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.02314, allocations: 4 kB / 0.6277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.02316, allocations: 4 kB / 0.6277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.02332, allocations: 19.92 kB / 0.6277 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.02334, allocations: 7.938 kB / 0.6278 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.02385, allocations: 63.86 kB / 0.6278 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.024, allocations: 63.98 kB / 0.6279 GB, free: 10.71 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.000272/0.02427, allocations: 200.7 kB / 0.6281 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.02434, allocations: 39.77 kB / 0.6281 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.64e-05/0.02442, allocations: 39.69 kB / 0.6281 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.02442, allocations: 0 / 0.6281 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.02443, allocations: 0 / 0.6281 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.02444, allocations: 7.922 kB / 0.6281 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/0.0269, allocations: 0.7166 MB / 0.6288 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.0269, allocations: 0 / 0.6288 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.02694, allocations: 8 kB / 0.6289 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.02694, allocations: 0 / 0.6289 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.02699, allocations: 23.91 kB / 0.6289 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.02699, allocations: 4 kB / 0.6289 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.027, allocations: 4 kB / 0.6289 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.0289, allocations: 0.4981 MB / 0.6294 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.02917, allocations: 141.5 kB / 0.6295 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.02925, allocations: 15.94 kB / 0.6295 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.02973, allocations: 39.91 kB / 0.6296 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.02977, allocations: 7.984 kB / 0.6296 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/0.02985, allocations: 63.97 kB / 0.6296 GB, free: 8.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003208/0.03017, allocations: 295.1 kB / 0.6299 GB, free: 8.555 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.03017, allocations: 0 / 0.6299 GB, free: 8.555 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003901/0.03056, allocations: 67.98 kB / 0.63 GB, free: 8.488 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.0002023/0.03076, allocations: 112 kB / 0.6301 GB, free: 8.367 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.03223, allocations: 493.8 kB / 0.6306 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.03224, allocations: 4 kB / 0.6306 GB, free: 7.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008214/0.03306, allocations: 115.9 kB / 0.6307 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.03347, allocations: 29.62 kB / 0.6307 GB, free: 7.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.03518, allocations: 0.5738 MB / 0.6313 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.03543, allocations: 171 kB / 0.6314 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.584e-05/0.03551, allocations: 13.14 kB / 0.6314 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.03557, allocations: 12.5 kB / 0.6314 GB, free: 6.895 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/0.03557, allocations: 0 / 0.6314 GB, free: 6.895 MB / 0.545 GB Notification: Performance of Templates: time 0.01191/0.04749, allocations: 5.85 MB / 0.6372 GB, free: 1.035 MB / 0.545 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: 5.953230477869511] Failed to read output from testmodel.py, exit status != 0: 0.05682218074798584 0.07196722500000001 0.059707249000000004 Calling exit ...