Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0007794/0.0007794, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008193/0.0008193, allocations: 178.2 kB / 23.21 MB, free: 1.34 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.8756/0.8756, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6982/0.6982, allocations: 154.5 MB / 414.5 MB, free: 0.832 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.098e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001702/0.001723, allocations: 1.501 MB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.002629, allocations: 0.542 MB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.002681, allocations: 3.938 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.742e-05/0.002768, allocations: 3.938 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.002866, allocations: 31.62 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.003439, allocations: 324.4 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.00378, allocations: 487.4 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.00382, allocations: 7.984 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.004132, allocations: 359.5 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.004316, allocations: 134.9 kB / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.004363, allocations: 28 kB / 0.6226 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.004408, allocations: 24 kB / 0.6226 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.004499, allocations: 119.7 kB / 0.6227 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.004597, allocations: 127.7 kB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.004937, allocations: 466.8 kB / 0.6233 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004939, allocations: 0 / 0.6233 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00494, allocations: 0 / 0.6233 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.004945, allocations: 3.938 kB / 0.6233 GB, free: 9.117 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007727/0.005717, allocations: 0.795 MB / 0.624 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.005751, allocations: 13.47 kB / 0.6241 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.005829, allocations: 52.64 kB / 0.6241 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.006082, allocations: 252 kB / 0.6244 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.006114, allocations: 24.36 kB / 0.6244 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.00616, allocations: 32.36 kB / 0.6244 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.00666, allocations: 226 kB / 0.6246 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.006667, allocations: 192 / 0.6246 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.00669, allocations: 4.359 kB / 0.6246 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.006695, allocations: 4.375 kB / 0.6246 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.007055, allocations: 119.9 kB / 0.6247 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.007454, allocations: 277.1 kB / 0.625 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.00795, allocations: 190.3 kB / 0.6252 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.008288, allocations: 116.8 kB / 0.6253 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.008307, allocations: 0 / 0.6253 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/0.008756, allocations: 235.2 kB / 0.6255 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.008758, allocations: 0 / 0.6255 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001235/0.009993, allocations: 0.5206 MB / 0.626 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.01003, allocations: 67.33 kB / 0.6261 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.01028, allocations: 409.9 kB / 0.6265 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.01032, allocations: 45.69 kB / 0.6265 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.01037, allocations: 97.44 kB / 0.6266 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.0104, allocations: 43.69 kB / 0.6267 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.01051, allocations: 125.5 kB / 0.6268 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.01059, allocations: 322.8 kB / 0.6271 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.01078, allocations: 191.3 kB / 0.6273 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.01099, allocations: 245.3 kB / 0.6275 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.01122, allocations: 283.1 kB / 0.6278 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01122, allocations: 0 / 0.6278 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004992/0.01172, allocations: 0.5509 MB / 0.6283 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.01177, allocations: 79.38 kB / 0.6284 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.01177, allocations: 4 kB / 0.6284 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01179, allocations: 0 / 0.6284 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/0.01189, allocations: 36.09 kB / 0.6284 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01189, allocations: 7.938 kB / 0.6284 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.01212, allocations: 63.84 kB / 0.6285 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.01218, allocations: 59.98 kB / 0.6286 GB, free: 3.375 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.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.0001377/0.01232, allocations: 200.6 kB / 0.6288 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.01235, allocations: 39.75 kB / 0.6288 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.01239, allocations: 47.69 kB / 0.6288 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01239, allocations: 0 / 0.6288 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.0124, allocations: 3.938 kB / 0.6288 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.0124, allocations: 3.938 kB / 0.6288 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.01351, allocations: 0.7155 MB / 0.6295 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01351, allocations: 4 kB / 0.6295 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.01353, allocations: 4 kB / 0.6295 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01353, allocations: 0 / 0.6295 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.01356, allocations: 23.91 kB / 0.6296 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01356, allocations: 0 / 0.6296 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01356, allocations: 0 / 0.6296 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008293/0.01439, allocations: 0.5034 MB / 0.6301 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.01455, allocations: 129.5 kB / 0.6302 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.01459, allocations: 23.92 kB / 0.6302 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.01481, allocations: 31.97 kB / 0.6302 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.01484, allocations: 7.984 kB / 0.6302 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.01488, allocations: 63.97 kB / 0.6303 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001777/0.01506, allocations: 299 kB / 0.6306 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01506, allocations: 4 kB / 0.6306 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002103/0.01527, allocations: 60 kB / 0.6307 GB, free: 1.168 MB / 0.5886 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.167e-05/0.01536, allocations: 115.2 kB / 0.6308 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000683/0.01604, allocations: 489.8 kB / 0.6312 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01605, allocations: 384 / 0.6312 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.0164, allocations: 138.3 kB / 0.6314 GB, free: 408 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.01663, allocations: 27.7 kB / 0.6314 GB, free: 384 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.01776, allocations: 0.6026 MB / 0.632 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.01786, allocations: 170.8 kB / 0.6321 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.0179, allocations: 20.5 kB / 0.6322 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of SimCode: time 5e-07/0.0179, allocations: 4 kB / 0.6322 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.003843/0.02174, allocations: 3.693 MB / 0.6358 GB, free: 11.8 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4021864933893085] Failed to read output from testmodel.py, exit status != 0: 0.026905899867415428 0.036654319000000005 0.029772501000000003 Calling exit ...