Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0007875/0.0007875, 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.000923/0.000923, allocations: 173 kB / 23.03 MB, free: 1.543 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.9909/0.9909, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.778/0.778, allocations: 154.9 MB / 414.8 MB, free: 412 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 3.938 kB / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.07e-05, allocations: 7.5 kB / 0.5207 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002551/0.002581, allocations: 1.763 MB / 0.5225 GB, free: 0 / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003813, allocations: 0.6259 MB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.907e-05/0.003912, allocations: 0 / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.00404, allocations: 8.844 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.00419, allocations: 35.73 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.005083, allocations: 368.2 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.005656, allocations: 0.5976 MB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.005795, allocations: 22.27 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.006413, allocations: 419.6 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.006715, allocations: 145.8 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/0.006791, allocations: 40 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.006848, allocations: 40 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.006958, allocations: 127.6 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.007092, allocations: 152.2 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.007486, allocations: 435.7 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.007491, allocations: 0 / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.007493, allocations: 0 / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.629e-06/0.007502, allocations: 1.219 kB / 0.5254 GB, free: 13.03 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001104/0.008606, allocations: 0.9455 MB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.008659, allocations: 8.656 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.008805, allocations: 68.66 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.009102, allocations: 288.2 kB / 0.5266 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.009142, allocations: 20.36 kB / 0.5267 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.009188, allocations: 32.36 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.009583, allocations: 219 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.009591, allocations: 3.125 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.009613, allocations: 4.375 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.009626, allocations: 4.375 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.009733, allocations: 60.75 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.01055, allocations: 0.6062 MB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.01076, allocations: 131.4 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.01086, allocations: 72.34 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.01088, allocations: 4 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.01109, allocations: 186 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.01109, allocations: 2.562 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005624/0.01165, allocations: 373.2 kB / 0.5283 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.0117, allocations: 71.27 kB / 0.5284 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.01199, allocations: 432.2 kB / 0.5288 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.01203, allocations: 37.7 kB / 0.5288 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.01211, allocations: 152.1 kB / 0.529 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.01214, allocations: 43.67 kB / 0.529 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.01228, allocations: 140.2 kB / 0.5291 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.01239, allocations: 0.4923 MB / 0.5296 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.01261, allocations: 184.2 kB / 0.5298 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.01281, allocations: 249.1 kB / 0.53 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.01304, allocations: 285.1 kB / 0.5303 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01305, allocations: 0 / 0.5303 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005679/0.01361, allocations: 0.5791 MB / 0.5309 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.01367, allocations: 91.38 kB / 0.5309 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01368, allocations: 3.984 kB / 0.5309 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.0137, allocations: 7.938 kB / 0.531 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.01383, allocations: 40.97 kB / 0.531 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01384, allocations: 4 kB / 0.531 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.01401, allocations: 41.7 kB / 0.531 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.01407, allocations: 63.98 kB / 0.5311 GB, free: 6.844 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001304/0.0142, allocations: 187.1 kB / 0.5313 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.01425, allocations: 49.39 kB / 0.5313 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.0143, allocations: 35.72 kB / 0.5314 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.0143, allocations: 4 kB / 0.5314 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01431, allocations: 0 / 0.5314 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01431, allocations: 0 / 0.5314 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.01496, allocations: 0.7043 MB / 0.5321 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01497, allocations: 0 / 0.5321 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.015, allocations: 7.984 kB / 0.5321 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.015, allocations: 7.984 kB / 0.5321 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.01503, allocations: 15.98 kB / 0.5321 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01503, allocations: 0 / 0.5321 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01503, allocations: 0 / 0.5321 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.01542, allocations: 477.5 kB / 0.5325 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.01559, allocations: 177.5 kB / 0.5327 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.01564, allocations: 15.94 kB / 0.5327 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.01579, allocations: 24.94 kB / 0.5327 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.01583, allocations: 14.73 kB / 0.5328 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.01587, allocations: 51.98 kB / 0.5328 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001691/0.01604, allocations: 283.1 kB / 0.5331 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01604, allocations: 0 / 0.5331 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002348/0.01627, allocations: 67.98 kB / 0.5331 GB, free: 4.699 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001297/0.0164, allocations: 119.7 kB / 0.5333 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.01693, allocations: 453.5 kB / 0.5337 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.01693, allocations: 0 / 0.5337 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01707, allocations: 84.06 kB / 0.5338 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.01743, allocations: 71.64 kB / 0.5338 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.01848, allocations: 494.4 kB / 0.5343 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.698e-05/0.01857, allocations: 91.8 kB / 0.5344 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.974e-05/0.01863, allocations: 15.58 kB / 0.5344 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.01868, allocations: 18.84 kB / 0.5344 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of SimCode: time 2.354e-06/0.01868, allocations: 0 / 0.5344 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of Templates: time 0.01027/0.02895, allocations: 7.004 MB / 0.5413 GB, free: 12.39 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9313508700579405]