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.0007749/0.0007749, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008181/0.0008181, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8347/0.8347, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-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 0.6985/0.6985, allocations: 154.6 MB / 414.5 MB, free: 0.793 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 2.104e-06/2.104e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.217e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001641/0.001663, allocations: 1.528 MB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.002523, allocations: 0.5226 MB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.002574, allocations: 4 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.443e-05/0.002658, allocations: 11.86 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.002762, allocations: 35.56 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.003304, allocations: 317.9 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.003633, allocations: 491.4 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.003668, allocations: 3.938 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.003971, allocations: 355.6 kB / 0.6225 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.004154, allocations: 131.7 kB / 0.6226 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.004197, allocations: 28 kB / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.004239, allocations: 28 kB / 0.6226 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.902e-05/0.004328, allocations: 119.6 kB / 0.6228 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.004422, allocations: 127.7 kB / 0.6229 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.004741, allocations: 458.8 kB / 0.6233 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004745, allocations: 7.984 kB / 0.6233 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004746, allocations: 0 / 0.6233 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.00475, allocations: 0 / 0.6233 GB, free: 9.07 MB / 0.5886 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.0007812/0.005532, allocations: 0.8027 MB / 0.6241 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.005564, allocations: 12.03 kB / 0.6241 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.005642, allocations: 52.7 kB / 0.6242 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.005893, allocations: 260 kB / 0.6244 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.005926, allocations: 20.36 kB / 0.6244 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.005971, allocations: 28.36 kB / 0.6245 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.006465, allocations: 222 kB / 0.6247 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.006474, allocations: 192 / 0.6247 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.006493, allocations: 4.375 kB / 0.6247 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.0065, allocations: 4.375 kB / 0.6247 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.006849, allocations: 123.8 kB / 0.6248 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.007086, allocations: 277.1 kB / 0.6251 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.007573, allocations: 178.5 kB / 0.6252 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.007907, allocations: 120.8 kB / 0.6253 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.007928, allocations: 0 / 0.6253 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.008382, allocations: 239.1 kB / 0.6256 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.008384, allocations: 4 kB / 0.6256 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001223/0.009607, allocations: 0.5273 MB / 0.6261 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.009641, allocations: 59.39 kB / 0.6261 GB, free: 6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.009897, allocations: 417.8 kB / 0.6265 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.00993, allocations: 37.7 kB / 0.6266 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.009981, allocations: 97.44 kB / 0.6267 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.01001, allocations: 43.69 kB / 0.6267 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01012, allocations: 121.5 kB / 0.6268 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.0102, allocations: 318.8 kB / 0.6271 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.01039, allocations: 203.2 kB / 0.6273 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.01059, allocations: 245.2 kB / 0.6276 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.01082, allocations: 279.5 kB / 0.6278 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01082, allocations: 0 / 0.6278 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005041/0.01133, allocations: 0.5585 MB / 0.6284 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.01138, allocations: 87.31 kB / 0.6285 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01138, allocations: 8.188 kB / 0.6285 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.01139, allocations: 0 / 0.6285 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.01149, allocations: 23.97 kB / 0.6285 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.0115, allocations: 11.88 kB / 0.6285 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.01172, allocations: 59.91 kB / 0.6286 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.01177, allocations: 59.97 kB / 0.6286 GB, free: 3.32 MB / 0.5886 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.0001365/0.01191, allocations: 196.8 kB / 0.6288 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.01194, allocations: 35.77 kB / 0.6288 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.01198, allocations: 39.67 kB / 0.6289 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01199, allocations: 4 kB / 0.6289 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01199, allocations: 11.88 kB / 0.6289 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.012, allocations: 3.938 kB / 0.6289 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.01309, allocations: 0.709 MB / 0.6296 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01309, allocations: 4 kB / 0.6296 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.01311, allocations: 7.922 kB / 0.6296 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.01312, allocations: 4 kB / 0.6296 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.01314, allocations: 23.92 kB / 0.6296 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01314, allocations: 0 / 0.6296 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01314, allocations: 0 / 0.6296 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.01396, allocations: 0.4957 MB / 0.6301 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.01412, allocations: 141.4 kB / 0.6302 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.01416, allocations: 15.94 kB / 0.6303 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.01437, allocations: 39.95 kB / 0.6303 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.0144, allocations: 7.984 kB / 0.6303 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.01444, allocations: 59.98 kB / 0.6304 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00018/0.01462, allocations: 299.1 kB / 0.6306 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01462, allocations: 0 / 0.6306 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002103/0.01483, allocations: 63.98 kB / 0.6307 GB, free: 1.113 MB / 0.5886 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.695e-05/0.01492, allocations: 118 kB / 0.6308 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.01561, allocations: 492.7 kB / 0.6313 GB, free: 488 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01561, allocations: 0 / 0.6313 GB, free: 488 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.01595, allocations: 127.8 kB / 0.6314 GB, free: 360 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01619, allocations: 32.11 kB / 0.6314 GB, free: 332 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.01729, allocations: 0.5991 MB / 0.632 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.0174, allocations: 171 kB / 0.6322 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.01743, allocations: 16.48 kB / 0.6322 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.01743, allocations: 0 / 0.6322 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.003529/0.02096, allocations: 3.677 MB / 0.6358 GB, free: 11.78 MB / 0.6042 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.039129800163209] Failed to read output from testmodel.py, exit status != 0: 0.02602989226579666 0.033956347000000005 0.02762797 Calling exit ...