Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001416/0.001416, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001658/0.001658, allocations: 173 kB / 23.49 MB, free: 1.059 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.7715/0.7715, allocations: 154.8 MB / 415.1 MB, free: 492 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5205 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.488e-05, allocations: 7.328 kB / 0.5205 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002189/0.002224, allocations: 1.556 MB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003253, allocations: 0.5392 MB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.003316, allocations: 0 / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.329e-05/0.003409, allocations: 9.328 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.003514, allocations: 27.84 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.004143, allocations: 316.4 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.004511, allocations: 488.2 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.004554, allocations: 7.984 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.004909, allocations: 356.8 kB / 0.5237 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.005127, allocations: 127.7 kB / 0.5239 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.005179, allocations: 29.34 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.005221, allocations: 24 kB / 0.5239 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.005324, allocations: 111.7 kB / 0.524 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.005443, allocations: 136.4 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.005772, allocations: 378.9 kB / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.005776, allocations: 1.844 kB / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.01e-07/0.005777, allocations: 0 / 0.5245 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.005782, allocations: 0 / 0.5245 GB, free: 14.25 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.0008666/0.006649, allocations: 0.9066 MB / 0.5254 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.006686, allocations: 14.09 kB / 0.5254 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.006806, allocations: 60.64 kB / 0.5255 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.007057, allocations: 262.8 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.007091, allocations: 12.36 kB / 0.5257 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.00714, allocations: 32.36 kB / 0.5258 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.007501, allocations: 205.7 kB / 0.526 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.007508, allocations: 0.6875 kB / 0.526 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.007528, allocations: 6.156 kB / 0.526 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.007538, allocations: 8.359 kB / 0.526 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.007639, allocations: 61.75 kB / 0.526 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.007936, allocations: 308.3 kB / 0.5263 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.008134, allocations: 126.5 kB / 0.5264 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.008242, allocations: 64.59 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.008263, allocations: 4 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.008461, allocations: 179.8 kB / 0.5267 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.008463, allocations: 0 / 0.5267 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005478/0.009011, allocations: 385.8 kB / 0.5271 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.009047, allocations: 59.41 kB / 0.5271 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.009336, allocations: 418.7 kB / 0.5275 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.009371, allocations: 41.69 kB / 0.5275 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.009433, allocations: 149.2 kB / 0.5277 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.009468, allocations: 43.72 kB / 0.5277 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.009589, allocations: 135.6 kB / 0.5279 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002665/0.009855, allocations: 0.4923 MB / 0.5283 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.01006, allocations: 172.8 kB / 0.5285 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.01026, allocations: 249 kB / 0.5287 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.01048, allocations: 272.8 kB / 0.529 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01048, allocations: 0.5312 kB / 0.529 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005468/0.01103, allocations: 0.5609 MB / 0.5296 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.589e-05/0.01108, allocations: 79.38 kB / 0.5296 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01109, allocations: 3.938 kB / 0.5296 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.0111, allocations: 4 kB / 0.5296 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01123, allocations: 37.69 kB / 0.5297 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01124, allocations: 7.938 kB / 0.5297 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.01156, allocations: 51.86 kB / 0.5297 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.01162, allocations: 61.05 kB / 0.5298 GB, free: 8.535 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.0001368/0.01175, allocations: 188.1 kB / 0.53 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.0118, allocations: 43.75 kB / 0.53 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.01185, allocations: 35.69 kB / 0.53 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01185, allocations: 0 / 0.53 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01185, allocations: 1.281 kB / 0.53 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.01186, allocations: 7.938 kB / 0.53 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.01254, allocations: 0.6683 MB / 0.5307 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01254, allocations: 0 / 0.5307 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.01257, allocations: 8 kB / 0.5307 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.01258, allocations: 7.984 kB / 0.5307 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.0126, allocations: 19.92 kB / 0.5307 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.01261, allocations: 0 / 0.5307 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01261, allocations: 0 / 0.5307 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.013, allocations: 470.7 kB / 0.5312 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.01314, allocations: 125.5 kB / 0.5313 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.01319, allocations: 15.92 kB / 0.5313 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.01335, allocations: 23.98 kB / 0.5313 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.01338, allocations: 11.92 kB / 0.5314 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.01342, allocations: 57.53 kB / 0.5314 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001541/0.01358, allocations: 275.1 kB / 0.5317 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01358, allocations: 0 / 0.5317 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002283/0.01381, allocations: 63.98 kB / 0.5317 GB, free: 6.492 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.0001148/0.01392, allocations: 117.6 kB / 0.5318 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000449/0.01437, allocations: 438.4 kB / 0.5323 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01437, allocations: 0 / 0.5323 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01448, allocations: 76.09 kB / 0.5323 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01476, allocations: 52.23 kB / 0.5324 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.01554, allocations: 487.3 kB / 0.5328 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.417e-05/0.01562, allocations: 83.81 kB / 0.5329 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.408e-05/0.01569, allocations: 16.64 kB / 0.5329 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.01574, allocations: 16.5 kB / 0.533 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of SimCode: time 1.793e-06/0.01575, allocations: 0 / 0.533 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of Templates: time 0.008093/0.02384, allocations: 5.867 MB / 0.5387 GB, free: 15.34 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0098212249577045]