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.0007145/0.0007145, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007068/0.0007068, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.8388/0.8388, allocations: 177.1 MB / 203.5 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-531:190: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-531:198: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.6645/0.6645, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 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 1.743e-06/1.743e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.089e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002039/0.002059, allocations: 1.715 MB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003141, allocations: 0.6232 MB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.003225, allocations: 4 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.003338, allocations: 11.86 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.00347, allocations: 35.56 kB / 0.6217 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.004206, allocations: 374.2 kB / 0.622 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.004674, allocations: 0.6009 MB / 0.6226 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004783, allocations: 17.31 kB / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.005162, allocations: 427.5 kB / 0.623 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.005366, allocations: 139.7 kB / 0.6232 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.005421, allocations: 40 kB / 0.6232 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.005475, allocations: 40 kB / 0.6232 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.005587, allocations: 131.6 kB / 0.6234 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.005712, allocations: 151.7 kB / 0.6235 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.006181, allocations: 0.6389 MB / 0.6241 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006184, allocations: 3.938 kB / 0.6241 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006185, allocations: 0 / 0.6241 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.00619, allocations: 0 / 0.6241 GB, free: 8.242 MB / 0.5886 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.001178/0.007368, allocations: 0.8417 MB / 0.6249 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.007413, allocations: 13.47 kB / 0.625 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.007515, allocations: 56.66 kB / 0.625 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.007887, allocations: 279.9 kB / 0.6253 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.007936, allocations: 20.36 kB / 0.6253 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.545e-05/0.007992, allocations: 32.36 kB / 0.6253 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.00862, allocations: 252.5 kB / 0.6256 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.008632, allocations: 4.188 kB / 0.6256 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.008658, allocations: 4.375 kB / 0.6256 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.008666, allocations: 384 / 0.6256 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003827/0.009048, allocations: 127.9 kB / 0.6257 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009188/0.009967, allocations: 0.5391 MB / 0.6262 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.01051, allocations: 194.5 kB / 0.6264 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.01085, allocations: 124.7 kB / 0.6265 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.01087, allocations: 0 / 0.6265 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/0.01135, allocations: 251.2 kB / 0.6268 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.01135, allocations: 0 / 0.6268 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001273/0.01263, allocations: 0.5387 MB / 0.6273 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.01266, allocations: 59.41 kB / 0.6274 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.01298, allocations: 441.9 kB / 0.6278 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.009e-05/0.01302, allocations: 41.69 kB / 0.6278 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.01309, allocations: 105.3 kB / 0.6279 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.01313, allocations: 39.7 kB / 0.628 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.01326, allocations: 141.4 kB / 0.6281 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01336, allocations: 326.8 kB / 0.6284 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.01359, allocations: 215.3 kB / 0.6286 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.01381, allocations: 277.3 kB / 0.6289 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.01404, allocations: 291.3 kB / 0.6292 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.01405, allocations: 0 / 0.6292 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005433/0.01459, allocations: 0.6093 MB / 0.6297 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.01464, allocations: 87.38 kB / 0.6298 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01465, allocations: 4 kB / 0.6298 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.01466, allocations: 0 / 0.6298 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.01475, allocations: 31.91 kB / 0.6299 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01476, allocations: 4 kB / 0.6299 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.01499, allocations: 71.97 kB / 0.6299 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.01504, allocations: 59.98 kB / 0.63 GB, free: 1.91 MB / 0.5886 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.0001572/0.0152, allocations: 225.3 kB / 0.6302 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.01523, allocations: 39.7 kB / 0.6302 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.01528, allocations: 35.73 kB / 0.6303 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01528, allocations: 4 kB / 0.6303 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.01529, allocations: 0 / 0.6303 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01529, allocations: 3.984 kB / 0.6303 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.01636, allocations: 0.744 MB / 0.631 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01636, allocations: 4 kB / 0.631 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.01638, allocations: 11.92 kB / 0.631 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01638, allocations: 0 / 0.631 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.01641, allocations: 19.98 kB / 0.631 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01641, allocations: 4 kB / 0.6311 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01641, allocations: 3.984 kB / 0.6311 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.01722, allocations: 0.5177 MB / 0.6316 GB, free: 252 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.0174, allocations: 169.5 kB / 0.6317 GB, free: 84 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.01744, allocations: 23.98 kB / 0.6317 GB, free: 60 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.01765, allocations: 35.97 kB / 0.6318 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.01768, allocations: 7.984 kB / 0.6318 GB, free: 16 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.01773, allocations: 63.97 kB / 0.6318 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001941/0.01792, allocations: 315.1 kB / 0.6322 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01792, allocations: 4 kB / 0.6322 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002155/0.01814, allocations: 75.88 kB / 0.6322 GB, free: 15.57 MB / 0.6042 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 9.572e-05/0.01823, allocations: 132.1 kB / 0.6324 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006944/0.01893, allocations: 0.5213 MB / 0.6329 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01893, allocations: 0 / 0.6329 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.01928, allocations: 136.2 kB / 0.633 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.01952, allocations: 35.05 kB / 0.633 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.02035, allocations: 0.6534 MB / 0.6337 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.02048, allocations: 182.8 kB / 0.6338 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.02051, allocations: 16.48 kB / 0.6339 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.02051, allocations: 0 / 0.6339 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.003999/0.02451, allocations: 4.105 MB / 0.6379 GB, free: 9.684 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9526925180107355] Failed to read output from testmodel.py, exit status != 0: 0.028763446025550365 0.03617616 0.028498286 Calling exit ...