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.000875/0.000875, allocations: 92.22 kB / 19.65 MB, free: 276 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.001019/0.001019, allocations: 173 kB / 23.02 MB, free: 1.547 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.9839/0.9839, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7802/0.7802, allocations: 154.9 MB / 414.8 MB, free: 388 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 179] 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 3.437e-06/3.437e-06, allocations: 4 kB / 0.5206 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.403e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001852/0.001876, allocations: 1.558 MB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.002845, allocations: 0.5401 MB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.002893, allocations: 1.312 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.002994, allocations: 11.92 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.003121, allocations: 19.81 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.003708, allocations: 321.7 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.004055, allocations: 487.4 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.004091, allocations: 4 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.004417, allocations: 355.6 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.004892, allocations: 134.7 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.004949, allocations: 24 kB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.319e-05/0.005002, allocations: 28 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.005103, allocations: 111.7 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.005217, allocations: 137.4 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.005517, allocations: 370.9 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.005519, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00552, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.005525, allocations: 4 kB / 0.5246 GB, free: 13.79 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.0008247/0.006349, allocations: 0.9118 MB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.006393, allocations: 8.031 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.006501, allocations: 61.22 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.006747, allocations: 258.8 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.006783, allocations: 21.11 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.006829, allocations: 32.36 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.007178, allocations: 206.2 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.007186, allocations: 5.094 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.007206, allocations: 4.375 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.007212, allocations: 384 / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.811e-05/0.00731, allocations: 69.55 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.00759, allocations: 304.4 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.007779, allocations: 122.4 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.007874, allocations: 66.38 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.007893, allocations: 4 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.008083, allocations: 180.2 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.008084, allocations: 0 / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005303/0.008615, allocations: 388.6 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.008656, allocations: 60.03 kB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.008925, allocations: 418.7 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.008963, allocations: 42.53 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.009028, allocations: 144.1 kB / 0.5278 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.009064, allocations: 40.25 kB / 0.5278 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.009189, allocations: 132.6 kB / 0.5279 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.009312, allocations: 0.4923 MB / 0.5284 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.009508, allocations: 175.3 kB / 0.5286 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.009714, allocations: 245 kB / 0.5288 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.00994, allocations: 281.6 kB / 0.5291 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009942, allocations: 0 / 0.5291 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005314/0.01047, allocations: 0.5656 MB / 0.5296 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.01054, allocations: 83.38 kB / 0.5297 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01055, allocations: 0 / 0.5297 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.01057, allocations: 5.125 kB / 0.5297 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.0107, allocations: 35.91 kB / 0.5298 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01071, allocations: 7.938 kB / 0.5298 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.01088, allocations: 45.42 kB / 0.5298 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.01093, allocations: 63.98 kB / 0.5299 GB, free: 8.066 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.0001138/0.01105, allocations: 180.1 kB / 0.53 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.01109, allocations: 47.77 kB / 0.5301 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.01113, allocations: 35.67 kB / 0.5301 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01114, allocations: 5.469 kB / 0.5301 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01114, allocations: 0 / 0.5301 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01114, allocations: 3.938 kB / 0.5301 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.01189, allocations: 0.6723 MB / 0.5308 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0119, allocations: 0 / 0.5308 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.01192, allocations: 5.25 kB / 0.5308 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01192, allocations: 0 / 0.5308 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.01195, allocations: 27.91 kB / 0.5308 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01195, allocations: 6.375 kB / 0.5308 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01195, allocations: 0 / 0.5308 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.01231, allocations: 459.9 kB / 0.5313 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.01244, allocations: 129.5 kB / 0.5314 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.01249, allocations: 14.28 kB / 0.5314 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01263, allocations: 27.95 kB / 0.5314 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.01266, allocations: 11.92 kB / 0.5314 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.01271, allocations: 59.97 kB / 0.5315 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001485/0.01286, allocations: 271.1 kB / 0.5318 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01286, allocations: 1.344 kB / 0.5318 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002123/0.01307, allocations: 67.98 kB / 0.5318 GB, free: 6.02 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 9.947e-05/0.01317, allocations: 110.8 kB / 0.5319 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.0136, allocations: 436.7 kB / 0.5323 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.0136, allocations: 0 / 0.5323 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.0137, allocations: 85.34 kB / 0.5324 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01396, allocations: 57.55 kB / 0.5325 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.01467, allocations: 483.3 kB / 0.5329 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.168e-05/0.01472, allocations: 87.8 kB / 0.533 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.01476, allocations: 11.16 kB / 0.533 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.01479, allocations: 17.95 kB / 0.5331 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01479, allocations: 0 / 0.5331 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of Templates: time 0.006962/0.02175, allocations: 6.47 MB / 0.5394 GB, free: 14.27 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: 3.796932619996369]