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.001337/0.001337, allocations: 93.06 kB / 19.65 MB, free: 280 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.001198/0.001198, allocations: 169 kB / 23.02 MB, free: 1.555 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.9668/0.9668, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.776/0.776, allocations: 154.8 MB / 414.7 MB, free: 500 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 1.664e-06/1.664e-06, allocations: 0 / 0.5205 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.784e-05, allocations: 2.312 kB / 0.5205 GB, free: 2.035 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002138/0.002166, allocations: 1.554 MB / 0.522 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003224, allocations: 0.5415 MB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.003305, allocations: 4 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.003416, allocations: 7.828 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.003532, allocations: 27.84 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.004312, allocations: 312.8 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004711/0.004783, allocations: 487.3 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.004831, allocations: 9.016 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.005228, allocations: 355.6 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.005461, allocations: 125.3 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.005521, allocations: 28.56 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.458e-05/0.005575, allocations: 28 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.005682, allocations: 117 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.005803, allocations: 131.7 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.006158, allocations: 378.8 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.006163, allocations: 0.6875 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.835e-06/0.006165, allocations: 4 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.006173, allocations: 1.594 kB / 0.5245 GB, free: 13.98 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.001014/0.007187, allocations: 0.8988 MB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.007227, allocations: 8.031 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.007347, allocations: 65.17 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.007669, allocations: 262.7 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.007715, allocations: 21.83 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.00777, allocations: 28.36 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.008189, allocations: 209.7 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.008203, allocations: 0.7188 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.008224, allocations: 384 / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.008233, allocations: 1.406 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.008343, allocations: 64.19 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.008696, allocations: 309.6 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.008931, allocations: 122.1 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.00904, allocations: 72.41 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.009069, allocations: 6.375 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.009291, allocations: 180 kB / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.009293, allocations: 6 kB / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005813/0.009874, allocations: 379.6 kB / 0.527 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.00992, allocations: 60 kB / 0.5271 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.01019, allocations: 418.7 kB / 0.5275 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.01023, allocations: 46.28 kB / 0.5275 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.0103, allocations: 144.8 kB / 0.5277 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.01033, allocations: 31.75 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.01046, allocations: 139.6 kB / 0.5278 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01058, allocations: 0.4938 MB / 0.5283 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.01079, allocations: 175.3 kB / 0.5285 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.01101, allocations: 253 kB / 0.5287 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.01126, allocations: 265.2 kB / 0.529 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01127, allocations: 0 / 0.529 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006006/0.01187, allocations: 0.5669 MB / 0.5295 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.01194, allocations: 83.38 kB / 0.5296 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01195, allocations: 0 / 0.5296 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.01197, allocations: 4 kB / 0.5296 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.01214, allocations: 35.91 kB / 0.5296 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01215, allocations: 8.781 kB / 0.5297 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.01234, allocations: 49.02 kB / 0.5297 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.0124, allocations: 63.98 kB / 0.5298 GB, free: 8.273 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.000132/0.01253, allocations: 183.7 kB / 0.5299 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.01258, allocations: 43.77 kB / 0.53 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.01263, allocations: 36.7 kB / 0.53 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01264, allocations: 4 kB / 0.53 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01264, allocations: 0 / 0.53 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01265, allocations: 5.219 kB / 0.53 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.01339, allocations: 0.6741 MB / 0.5307 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.0134, allocations: 0 / 0.5307 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.01344, allocations: 4 kB / 0.5307 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01344, allocations: 1.156 kB / 0.5307 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.01347, allocations: 23.91 kB / 0.5307 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01347, allocations: 4 kB / 0.5307 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01347, allocations: 1.156 kB / 0.5307 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.01388, allocations: 466.8 kB / 0.5312 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.01403, allocations: 121.6 kB / 0.5313 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.01408, allocations: 15.92 kB / 0.5313 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.01423, allocations: 23.92 kB / 0.5313 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.01426, allocations: 8.609 kB / 0.5313 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.01431, allocations: 63.97 kB / 0.5314 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001659/0.01447, allocations: 267.7 kB / 0.5316 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01447, allocations: 1.531 kB / 0.5316 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002642/0.01474, allocations: 71.92 kB / 0.5317 GB, free: 6.234 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.0001391/0.01488, allocations: 118 kB / 0.5318 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.01535, allocations: 436.8 kB / 0.5322 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01535, allocations: 0 / 0.5322 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.01546, allocations: 77.31 kB / 0.5323 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.01574, allocations: 56.78 kB / 0.5324 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.01652, allocations: 488.7 kB / 0.5328 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.195e-05/0.01657, allocations: 87.8 kB / 0.5329 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.01661, allocations: 12.81 kB / 0.5329 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.01664, allocations: 16.48 kB / 0.5329 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.01665, allocations: 0 / 0.5329 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of Templates: time 0.007099/0.02374, allocations: 5.857 MB / 0.5387 GB, free: 15.09 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: 4.017552128992975]