Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.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.0008407/0.0008407, allocations: 96.38 kB / 19.7 MB, free: 448 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.0008713/0.0008713, allocations: 211.2 kB / 23 MB, free: 2.977 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.8764/0.8764, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7362/0.7362, allocations: 203.8 MB / 0.5049 GB, free: 10.44 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") [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.001299/0.001299, allocations: 65.97 kB / 0.7194 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4603, allocations: 102 MB / 0.819 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002058/0.4623, allocations: 1.519 MB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009641/0.4633, allocations: 0.5314 MB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.4633, allocations: 1.031 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.4634, allocations: 10.45 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.4636, allocations: 28.7 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.4643, allocations: 317.5 kB / 0.8213 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.4647, allocations: 489.5 kB / 0.8218 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.4648, allocations: 7.156 kB / 0.8218 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.4651, allocations: 283.8 kB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.4653, allocations: 135.7 kB / 0.8222 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.4653, allocations: 27.06 kB / 0.8222 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.191e-05/0.4654, allocations: 27.22 kB / 0.8222 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.4655, allocations: 118.6 kB / 0.8224 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4656, allocations: 153.1 kB / 0.8225 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.4661, allocations: 428.7 kB / 0.8229 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.4661, allocations: 1.062 kB / 0.8229 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.877e-06/0.4661, allocations: 0 / 0.8229 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.4661, allocations: 4 kB / 0.8229 GB, free: 15.16 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.001069/0.4672, allocations: 0.7951 MB / 0.8237 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.4672, allocations: 9.125 kB / 0.8237 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4674, allocations: 51.52 kB / 0.8238 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4676, allocations: 254.5 kB / 0.824 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.4677, allocations: 13.72 kB / 0.824 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.4677, allocations: 33.81 kB / 0.824 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.4683, allocations: 216.7 kB / 0.8242 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4683, allocations: 192 / 0.8242 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.4683, allocations: 10.59 kB / 0.8243 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4683, allocations: 5.922 kB / 0.8243 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.4687, allocations: 96.05 kB / 0.8244 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.469, allocations: 282.8 kB / 0.8246 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.4696, allocations: 164.5 kB / 0.8248 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.4699, allocations: 107.7 kB / 0.8249 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.47, allocations: 3.062 kB / 0.8249 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.4705, allocations: 227.1 kB / 0.8251 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.4705, allocations: 0 / 0.8251 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001358/0.4719, allocations: 490.4 kB / 0.8256 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4719, allocations: 57.36 kB / 0.8256 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4723, allocations: 420.1 kB / 0.826 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.4724, allocations: 39.48 kB / 0.8261 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.4724, allocations: 94.72 kB / 0.8262 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.4725, allocations: 37.61 kB / 0.8262 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.4726, allocations: 128.7 kB / 0.8263 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.4727, allocations: 325.1 kB / 0.8266 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.4729, allocations: 193 kB / 0.8268 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.4732, allocations: 240.3 kB / 0.827 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.4735, allocations: 270.8 kB / 0.8273 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4735, allocations: 5 kB / 0.8273 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006339/0.4741, allocations: 0.5513 MB / 0.8278 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/0.4742, allocations: 81.36 kB / 0.8279 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4742, allocations: 1.188 kB / 0.8279 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4742, allocations: 11.66 kB / 0.8279 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.4743, allocations: 27.62 kB / 0.828 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4743, allocations: 2.719 kB / 0.828 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.4746, allocations: 63.77 kB / 0.828 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/0.4747, allocations: 61.72 kB / 0.8281 GB, free: 12.07 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.0002129/0.4749, allocations: 194.7 kB / 0.8283 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.4749, allocations: 37.56 kB / 0.8283 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.475, allocations: 46.06 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.475, allocations: 1.406 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.475, allocations: 1.031 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.475, allocations: 1.453 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4764, allocations: 0.6817 MB / 0.829 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4764, allocations: 4.531 kB / 0.829 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.4764, allocations: 5 kB / 0.829 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4764, allocations: 1.031 kB / 0.829 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.4765, allocations: 26.44 kB / 0.829 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4765, allocations: 1.375 kB / 0.829 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4765, allocations: 0.75 kB / 0.8291 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4776, allocations: 482 kB / 0.8295 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.4778, allocations: 141 kB / 0.8296 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.4779, allocations: 14.58 kB / 0.8297 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.4781, allocations: 33.12 kB / 0.8297 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.4781, allocations: 7.578 kB / 0.8297 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.4782, allocations: 60.7 kB / 0.8298 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002643/0.4784, allocations: 294.1 kB / 0.83 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4784, allocations: 0 / 0.83 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002939/0.4787, allocations: 64.98 kB / 0.8301 GB, free: 11.13 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.0001236/0.4789, allocations: 115.8 kB / 0.8302 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008216/0.4797, allocations: 473 kB / 0.8307 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4797, allocations: 1.062 kB / 0.8307 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.4801, allocations: 114.1 kB / 0.8308 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4804, allocations: 32.28 kB / 0.8308 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.4814, allocations: 0.5938 MB / 0.8314 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.4816, allocations: 172.5 kB / 0.8315 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.4816, allocations: 16.27 kB / 0.8316 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.4816, allocations: 0 / 0.8316 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.005786/0.4874, allocations: 3.686 MB / 0.8352 GB, free: 9.348 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.741094995755702] Failed to read output from testmodel.py, exit status != 0: 0.49518007412552834 0.50383199 0.035824919000000004 Calling exit ...