Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001786/0.001786, allocations: 89.48 kB / 19.44 MB, free: 340 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.002013/0.002013, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.574/1.574, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.437/1.437, allocations: 154.8 MB / 414.4 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.799e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.00299/0.003018, allocations: 1.533 MB / 0.5213 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.004393, allocations: 0.5395 MB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.004454, allocations: 0 / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.004564, allocations: 7.875 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.004674, allocations: 25.2 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.00551, allocations: 321 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005832/0.006094, allocations: 487.4 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.006132, allocations: 4 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005464/0.006679, allocations: 351.6 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.006984, allocations: 130.5 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.007113, allocations: 28 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.007244, allocations: 28 kB / 0.5232 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.007415, allocations: 115.7 kB / 0.5233 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.007613, allocations: 127.7 kB / 0.5234 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.008226, allocations: 467.2 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.008231, allocations: 0.5625 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008233, allocations: 1 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.00824, allocations: 0 / 0.5238 GB, free: 14.23 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.001508/0.009748, allocations: 0.9264 MB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.009787, allocations: 13.31 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.00994, allocations: 52.7 kB / 0.5248 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.01047, allocations: 258.9 kB / 0.5251 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.01052, allocations: 12.38 kB / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.0106, allocations: 33.3 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/0.01124, allocations: 207.5 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01125, allocations: 192 / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.01127, allocations: 384 / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01128, allocations: 8.312 kB / 0.5253 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.0117, allocations: 80.92 kB / 0.5254 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.01221, allocations: 337 kB / 0.5257 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.01284, allocations: 148.3 kB / 0.5258 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.01323, allocations: 89.23 kB / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.01328, allocations: 4 kB / 0.5259 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/0.01386, allocations: 214.4 kB / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.01386, allocations: 0 / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001582/0.01544, allocations: 433.1 kB / 0.5265 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.0155, allocations: 66.42 kB / 0.5266 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/0.01603, allocations: 470.6 kB / 0.5271 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.01609, allocations: 41.69 kB / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.01622, allocations: 140.2 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.01628, allocations: 47.67 kB / 0.5273 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.01652, allocations: 139.1 kB / 0.5274 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000397/0.01691, allocations: 0.5001 MB / 0.5279 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.0173, allocations: 211.3 kB / 0.5281 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.01773, allocations: 282.6 kB / 0.5284 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.01821, allocations: 319.7 kB / 0.5287 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01821, allocations: 3.938 kB / 0.5287 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00109/0.0193, allocations: 0.6163 MB / 0.5293 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.01941, allocations: 87.36 kB / 0.5294 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.01942, allocations: 7.984 kB / 0.5294 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.01944, allocations: 4 kB / 0.5294 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.01966, allocations: 31.92 kB / 0.5294 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.01967, allocations: 10.36 kB / 0.5294 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.02003, allocations: 39.94 kB / 0.5295 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.02014, allocations: 59.97 kB / 0.5295 GB, free: 8.074 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.0002434/0.02039, allocations: 198.4 kB / 0.5297 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.02048, allocations: 41.3 kB / 0.5297 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.02055, allocations: 39.67 kB / 0.5298 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02055, allocations: 0 / 0.5298 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.02056, allocations: 0 / 0.5298 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.02056, allocations: 4.969 kB / 0.5298 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.02228, allocations: 0.7444 MB / 0.5305 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.02229, allocations: 5.406 kB / 0.5305 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.02233, allocations: 4 kB / 0.5305 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.02233, allocations: 3.984 kB / 0.5305 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.02238, allocations: 23.92 kB / 0.5305 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.02238, allocations: 5.281 kB / 0.5306 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02238, allocations: 0 / 0.5306 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.02355, allocations: 499.6 kB / 0.531 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.02386, allocations: 134.9 kB / 0.5312 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/0.02393, allocations: 11.94 kB / 0.5312 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.02423, allocations: 23.97 kB / 0.5312 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.02427, allocations: 8.953 kB / 0.5312 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.089e-05/0.02436, allocations: 59.98 kB / 0.5313 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003215/0.02468, allocations: 287.1 kB / 0.5315 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02468, allocations: 0.5938 kB / 0.5315 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004067/0.02509, allocations: 68.58 kB / 0.5316 GB, free: 5.879 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.0001875/0.02528, allocations: 114.1 kB / 0.5317 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.02656, allocations: 0.5931 MB / 0.5323 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02656, allocations: 1.344 kB / 0.5323 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.02701, allocations: 110 kB / 0.5324 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.02745, allocations: 52.42 kB / 0.5324 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.02874, allocations: 0.4895 MB / 0.5329 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.02896, allocations: 162.8 kB / 0.5331 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.418e-05/0.02902, allocations: 15.53 kB / 0.5331 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.02907, allocations: 16.5 kB / 0.5331 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of SimCode: time 9.81e-07/0.02907, allocations: 0 / 0.5331 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of Templates: time 0.01169/0.04076, allocations: 5.858 MB / 0.5388 GB, free: 14.49 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2359683100366965]