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.001449/0.001449, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001487/0.001487, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.317/1.317, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.6185 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.801e-05, allocations: 5.125 kB / 0.6185 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003371/0.0034, allocations: 1.509 MB / 0.6199 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.005099, allocations: 0.5324 MB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.005188, allocations: 0 / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.005293, allocations: 11.92 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.005431, allocations: 31.62 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.006421, allocations: 322.1 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.007074, allocations: 495.3 kB / 0.6213 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.007122, allocations: 7.984 kB / 0.6213 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.007632, allocations: 359.6 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.007914, allocations: 135.6 kB / 0.6218 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.00802, allocations: 28 kB / 0.6218 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.008121, allocations: 28 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.008277, allocations: 111.7 kB / 0.6219 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.008464, allocations: 135.7 kB / 0.6221 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.009023, allocations: 458.8 kB / 0.6225 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.009026, allocations: 0 / 0.6225 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.009027, allocations: 0 / 0.6225 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.009034, allocations: 0 / 0.6225 GB, free: 0.582 MB / 0.5294 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.00131/0.01034, allocations: 0.8028 MB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.01039, allocations: 13.45 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.01052, allocations: 56.7 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.01094, allocations: 252 kB / 0.6236 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.011, allocations: 20.36 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.01107, allocations: 28.36 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.01212, allocations: 222 kB / 0.6238 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01213, allocations: 192 / 0.6238 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.01216, allocations: 12.36 kB / 0.6239 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01216, allocations: 384 / 0.6239 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.01296, allocations: 122.6 kB / 0.624 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.01343, allocations: 281 kB / 0.6242 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.0145, allocations: 186.4 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.01524, allocations: 112.8 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.01527, allocations: 4 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00096/0.01623, allocations: 245.5 kB / 0.6248 GB, free: 14.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.01623, allocations: 0 / 0.6248 GB, free: 14.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002651/0.01888, allocations: 0.5205 MB / 0.6253 GB, free: 13.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.01893, allocations: 71.33 kB / 0.6253 GB, free: 13.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.01936, allocations: 409.9 kB / 0.6257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.01942, allocations: 41.69 kB / 0.6258 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.0195, allocations: 93.45 kB / 0.6259 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.01956, allocations: 39.73 kB / 0.6259 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.01976, allocations: 125.5 kB / 0.626 GB, free: 12.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.01993, allocations: 322.8 kB / 0.6263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.02027, allocations: 195.3 kB / 0.6265 GB, free: 12.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.02064, allocations: 246.6 kB / 0.6267 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.02108, allocations: 275.6 kB / 0.627 GB, free: 11.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02109, allocations: 0 / 0.627 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009779/0.02206, allocations: 0.5587 MB / 0.6276 GB, free: 11.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.784e-05/0.02216, allocations: 83.38 kB / 0.6276 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.02217, allocations: 0 / 0.6276 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.02219, allocations: 4 kB / 0.6276 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.02237, allocations: 19.92 kB / 0.6277 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.02238, allocations: 15.86 kB / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.02287, allocations: 63.86 kB / 0.6277 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.02297, allocations: 68.05 kB / 0.6278 GB, free: 10.83 MB / 0.545 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.0002626/0.02324, allocations: 196.7 kB / 0.628 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.0233, allocations: 35.77 kB / 0.628 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.02338, allocations: 43.67 kB / 0.6281 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02338, allocations: 0 / 0.6281 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.02338, allocations: 4 kB / 0.6281 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.02339, allocations: 3.938 kB / 0.6281 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.02575, allocations: 0.7159 MB / 0.6288 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.02575, allocations: 0 / 0.6288 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.02579, allocations: 7.984 kB / 0.6288 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.0258, allocations: 0 / 0.6288 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.02584, allocations: 23.91 kB / 0.6288 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02584, allocations: 4 kB / 0.6288 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.02585, allocations: 4 kB / 0.6288 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.02797, allocations: 0.4995 MB / 0.6293 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.02823, allocations: 137.5 kB / 0.6294 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.02831, allocations: 11.94 kB / 0.6294 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.02879, allocations: 43.95 kB / 0.6295 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.02883, allocations: 15.92 kB / 0.6295 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/0.02891, allocations: 55.97 kB / 0.6295 GB, free: 8.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003958/0.02931, allocations: 295.1 kB / 0.6298 GB, free: 8.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02931, allocations: 0 / 0.6298 GB, free: 8.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003673/0.02968, allocations: 64 kB / 0.6299 GB, free: 8.625 MB / 0.545 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.00017/0.02985, allocations: 111.2 kB / 0.63 GB, free: 8.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.03126, allocations: 0.49 MB / 0.6305 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.03126, allocations: 0 / 0.6305 GB, free: 7.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.03216, allocations: 127.8 kB / 0.6306 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.03254, allocations: 24.83 kB / 0.6306 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.03408, allocations: 0.5774 MB / 0.6312 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.03426, allocations: 166.8 kB / 0.6313 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.03431, allocations: 13.14 kB / 0.6314 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.03436, allocations: 16.5 kB / 0.6314 GB, free: 7.02 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.03436, allocations: 0 / 0.6314 GB, free: 7.02 MB / 0.545 GB Notification: Performance of Templates: time 0.01056/0.04492, allocations: 5.846 MB / 0.6371 GB, free: 1.145 MB / 0.545 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: 6.142008852213621] Failed to read output from testmodel.py, exit status != 0: 0.05346779525279999 0.070162019 0.057968097 Calling exit ...