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.0007733/0.0007733, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 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.0008288/0.0008288, allocations: 211.7 kB / 23.01 MB, free: 3.094 MB / 13.93 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.9055/0.9055, allocations: 230.6 MB / 256.8 MB, free: 9.793 MB / 202.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.7457/0.7457, allocations: 203.8 MB / 0.5049 GB, free: 10.67 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008793/0.0008793, allocations: 65.56 kB / 0.7194 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4918, allocations: 102 MB / 0.8191 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00183/0.4936, allocations: 1.552 MB / 0.8206 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.4945, allocations: 0.5505 MB / 0.8211 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.4946, allocations: 0 / 0.8211 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.365e-05/0.4946, allocations: 10.17 kB / 0.8211 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.4947, allocations: 29.91 kB / 0.8212 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.4954, allocations: 314.2 kB / 0.8215 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.4958, allocations: 488.6 kB / 0.8219 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.4959, allocations: 8.547 kB / 0.8219 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.4962, allocations: 280.3 kB / 0.8222 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.4964, allocations: 154.4 kB / 0.8223 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.4964, allocations: 26.25 kB / 0.8224 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.508e-05/0.4965, allocations: 25.81 kB / 0.8224 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.4966, allocations: 119.4 kB / 0.8225 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4967, allocations: 179.2 kB / 0.8227 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.4971, allocations: 421.6 kB / 0.8231 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4971, allocations: 0 / 0.8231 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4971, allocations: 0 / 0.8231 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.4971, allocations: 4.938 kB / 0.8231 GB, free: 15.25 MB / 0.6198 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.0009117/0.498, allocations: 0.801 MB / 0.8239 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4981, allocations: 10.38 kB / 0.8239 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.4982, allocations: 55.09 kB / 0.8239 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.4984, allocations: 262.5 kB / 0.8242 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.4985, allocations: 18.19 kB / 0.8242 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.4985, allocations: 25.78 kB / 0.8242 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.4991, allocations: 215.9 kB / 0.8244 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4991, allocations: 192 / 0.8244 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.4991, allocations: 14.56 kB / 0.8244 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4991, allocations: 1.562 kB / 0.8244 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.4995, allocations: 95.7 kB / 0.8245 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.4998, allocations: 363.5 kB / 0.8249 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.5004, allocations: 164.6 kB / 0.825 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.5008, allocations: 102.9 kB / 0.8251 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.5008, allocations: 7.312 kB / 0.8251 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/0.5014, allocations: 226.4 kB / 0.8254 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.5014, allocations: 4 kB / 0.8254 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001298/0.5027, allocations: 486 kB / 0.8258 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.5028, allocations: 66.28 kB / 0.8259 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.5031, allocations: 412.7 kB / 0.8263 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.5031, allocations: 39.08 kB / 0.8263 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.5032, allocations: 94.67 kB / 0.8264 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.5032, allocations: 37.44 kB / 0.8264 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5034, allocations: 127.7 kB / 0.8266 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.5035, allocations: 321.5 kB / 0.8269 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.5036, allocations: 124.3 kB / 0.827 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.5038, allocations: 173.1 kB / 0.8272 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.5041, allocations: 276.3 kB / 0.8274 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5041, allocations: 1.25 kB / 0.8274 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005673/0.5047, allocations: 492.5 kB / 0.8279 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.5048, allocations: 92.11 kB / 0.828 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5048, allocations: 1.375 kB / 0.828 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5048, allocations: 6.875 kB / 0.828 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.5049, allocations: 24.62 kB / 0.828 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.5049, allocations: 1.922 kB / 0.828 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.5052, allocations: 58.56 kB / 0.8281 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.5052, allocations: 62.06 kB / 0.8281 GB, free: 12.32 MB / 0.6198 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.0001733/0.5054, allocations: 195.6 kB / 0.8283 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.5054, allocations: 40.8 kB / 0.8284 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.5055, allocations: 42.14 kB / 0.8284 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5055, allocations: 1.672 kB / 0.8284 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5055, allocations: 1.125 kB / 0.8284 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5055, allocations: 0.6562 kB / 0.8284 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5068, allocations: 0.7237 MB / 0.8291 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5068, allocations: 4.828 kB / 0.8291 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.5068, allocations: 8.578 kB / 0.8291 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5068, allocations: 1.5 kB / 0.8291 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.5069, allocations: 18.94 kB / 0.8291 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5069, allocations: 0 / 0.8291 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5069, allocations: 1.156 kB / 0.8291 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.5079, allocations: 486.7 kB / 0.8296 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.5082, allocations: 137.1 kB / 0.8297 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.5082, allocations: 14.61 kB / 0.8297 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.5085, allocations: 32.33 kB / 0.8298 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5085, allocations: 8.594 kB / 0.8298 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/0.5086, allocations: 57.5 kB / 0.8298 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002625/0.5089, allocations: 296.6 kB / 0.8301 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5089, allocations: 1.406 kB / 0.8301 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002585/0.5091, allocations: 63.8 kB / 0.8302 GB, free: 11.33 MB / 0.6198 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.0001385/0.5093, allocations: 113.8 kB / 0.8303 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007509/0.51, allocations: 406.2 kB / 0.8307 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.51, allocations: 0 / 0.8307 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.5104, allocations: 113.6 kB / 0.8308 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5107, allocations: 31.86 kB / 0.8308 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.5117, allocations: 0.5923 MB / 0.8314 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.512, allocations: 0.7786 MB / 0.8322 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.512, allocations: 16.7 kB / 0.8322 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.512, allocations: 4 kB / 0.8322 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.005754/0.5178, allocations: 3.666 MB / 0.8358 GB, free: 9.062 MB / 0.6198 GB " [Timeout remaining time 659] 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.661098974058405] Failed to read output from testmodel.py, exit status != 0: 0.5241265848744661 0.538861174 0.039104234 Calling exit ...