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.0008168/0.0008168, allocations: 100.4 kB / 19.7 MB, free: 460 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.0008159/0.0008159, allocations: 209.5 kB / 23 MB, free: 2.988 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.8885/0.8885, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7823/0.7823, allocations: 203.8 MB / 0.5049 GB, free: 10.43 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.0009938/0.0009938, allocations: 66.81 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5207, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001836/0.5226, allocations: 1.517 MB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.5235, allocations: 0.5326 MB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.5236, allocations: 0 / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.5237, allocations: 10.64 kB / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.5238, allocations: 27.41 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.5244, allocations: 321 kB / 0.8213 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.5248, allocations: 494.3 kB / 0.8218 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.5248, allocations: 4.688 kB / 0.8218 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.5251, allocations: 276.9 kB / 0.8221 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.5253, allocations: 141.1 kB / 0.8222 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.5254, allocations: 26.56 kB / 0.8222 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/0.5254, allocations: 26.59 kB / 0.8223 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.5255, allocations: 113.8 kB / 0.8224 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.5257, allocations: 161.4 kB / 0.8225 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.5261, allocations: 426 kB / 0.8229 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5261, allocations: 0 / 0.8229 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5261, allocations: 1.156 kB / 0.8229 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5261, allocations: 0 / 0.8229 GB, free: 15.13 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.000911/0.527, allocations: 0.7972 MB / 0.8237 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.527, allocations: 11.17 kB / 0.8237 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.093e-05/0.5271, allocations: 50.39 kB / 0.8238 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.5274, allocations: 259.2 kB / 0.824 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.5274, allocations: 14.5 kB / 0.824 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.5275, allocations: 32.94 kB / 0.8241 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.5281, allocations: 216.2 kB / 0.8243 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5281, allocations: 3.938 kB / 0.8243 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.5281, allocations: 2.719 kB / 0.8243 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5281, allocations: 1.094 kB / 0.8243 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.5285, allocations: 107 kB / 0.8244 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.5288, allocations: 280.3 kB / 0.8246 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.5293, allocations: 159.5 kB / 0.8248 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.5297, allocations: 113 kB / 0.8249 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.5297, allocations: 1.344 kB / 0.8249 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/0.5303, allocations: 221.8 kB / 0.8251 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.5303, allocations: 0 / 0.8251 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001333/0.5316, allocations: 491.9 kB / 0.8256 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.5317, allocations: 57.91 kB / 0.8256 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.532, allocations: 415.2 kB / 0.826 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.532, allocations: 48.22 kB / 0.8261 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.5321, allocations: 94.98 kB / 0.8262 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.5321, allocations: 41.67 kB / 0.8262 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.5323, allocations: 128.2 kB / 0.8263 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.5324, allocations: 321.2 kB / 0.8266 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.5326, allocations: 192.8 kB / 0.8268 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.5328, allocations: 240.9 kB / 0.8271 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.5331, allocations: 274.2 kB / 0.8273 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5331, allocations: 0 / 0.8273 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000609/0.5337, allocations: 0.5489 MB / 0.8279 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.187e-05/0.5338, allocations: 80.23 kB / 0.8279 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.5338, allocations: 7.094 kB / 0.8279 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5338, allocations: 2.875 kB / 0.8279 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.5339, allocations: 31.98 kB / 0.828 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.5339, allocations: 6.469 kB / 0.828 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.5342, allocations: 59.56 kB / 0.828 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.5342, allocations: 57.14 kB / 0.8281 GB, free: 12.06 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.0001745/0.5344, allocations: 195.4 kB / 0.8283 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.5345, allocations: 41.52 kB / 0.8283 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.5345, allocations: 44.98 kB / 0.8284 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5345, allocations: 2.344 kB / 0.8284 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5345, allocations: 4.828 kB / 0.8284 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5345, allocations: 1.828 kB / 0.8284 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5358, allocations: 0.6832 MB / 0.829 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5359, allocations: 4 kB / 0.829 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.5359, allocations: 5.375 kB / 0.829 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5359, allocations: 1.062 kB / 0.829 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.5359, allocations: 22.47 kB / 0.8291 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5359, allocations: 1.859 kB / 0.8291 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5359, allocations: 0 / 0.8291 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.537, allocations: 489.4 kB / 0.8295 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.5373, allocations: 136.8 kB / 0.8297 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.5374, allocations: 10.34 kB / 0.8297 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.5376, allocations: 32.62 kB / 0.8297 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.5377, allocations: 9.047 kB / 0.8297 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.5377, allocations: 60.23 kB / 0.8298 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002284/0.5379, allocations: 294.8 kB / 0.8301 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5379, allocations: 4 kB / 0.8301 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002519/0.5382, allocations: 63.7 kB / 0.8301 GB, free: 11.11 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.00011/0.5383, allocations: 112.3 kB / 0.8302 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007626/0.5391, allocations: 471.2 kB / 0.8307 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5391, allocations: 1.75 kB / 0.8307 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.5394, allocations: 117.9 kB / 0.8308 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.5397, allocations: 30.67 kB / 0.8308 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.5407, allocations: 0.5926 MB / 0.8314 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.5408, allocations: 172.1 kB / 0.8316 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.5409, allocations: 20.86 kB / 0.8316 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.5409, allocations: 0 / 0.8316 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.005373/0.5462, allocations: 3.68 MB / 0.8352 GB, free: 9.344 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: 6.064107338897884] Failed to read output from testmodel.py, exit status != 0: 0.5538476370275021 0.5618557630000001 0.033873351 Calling exit ...