Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0009663/0.0009663, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009566/0.0009566, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7992/0.7992, allocations: 154.6 MB / 414.9 MB, free: 0.6562 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.294e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.006313/0.006346, allocations: 1.557 MB / 0.5218 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.007855, allocations: 0.5342 MB / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.007942, allocations: 0 / 0.5223 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.008082, allocations: 11.86 kB / 0.5223 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.008228, allocations: 27.84 kB / 0.5224 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.009211, allocations: 315.7 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006135/0.009825, allocations: 479.4 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.009889, allocations: 13.34 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005606/0.01045, allocations: 359.6 kB / 0.5235 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.01076, allocations: 125.6 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.01084, allocations: 24 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.0109, allocations: 28.97 kB / 0.5237 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.01105, allocations: 119.6 kB / 0.5238 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.01122, allocations: 131.7 kB / 0.5239 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.01171, allocations: 387.8 kB / 0.5243 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01171, allocations: 0 / 0.5243 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.01172, allocations: 4.562 kB / 0.5243 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.01172, allocations: 0 / 0.5243 GB, free: 14.48 MB / 0.4948 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.001303/0.01303, allocations: 0.8957 MB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.01307, allocations: 9.25 kB / 0.5252 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.01325, allocations: 64.64 kB / 0.5252 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.01364, allocations: 258.8 kB / 0.5255 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.0137, allocations: 20.98 kB / 0.5255 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.01378, allocations: 30.17 kB / 0.5255 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.01435, allocations: 208.5 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01436, allocations: 2 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.01439, allocations: 384 / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.0144, allocations: 384 / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.01458, allocations: 67.12 kB / 0.5258 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.01503, allocations: 312.4 kB / 0.5261 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.01534, allocations: 130.5 kB / 0.5262 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.01551, allocations: 75 kB / 0.5263 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.01554, allocations: 0 / 0.5263 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.01587, allocations: 177.9 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.01587, allocations: 4 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0008735/0.01675, allocations: 376.3 kB / 0.5268 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.0168, allocations: 63.34 kB / 0.5269 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.01723, allocations: 422.7 kB / 0.5273 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.01729, allocations: 42.38 kB / 0.5273 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.01738, allocations: 144.1 kB / 0.5274 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.01743, allocations: 36.36 kB / 0.5275 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.01763, allocations: 135.1 kB / 0.5276 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.01779, allocations: 0.493 MB / 0.5281 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.01813, allocations: 171.8 kB / 0.5283 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.01849, allocations: 249.1 kB / 0.5285 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.0189, allocations: 273.2 kB / 0.5288 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.0189, allocations: 1.188 kB / 0.5288 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009266/0.01983, allocations: 0.5621 MB / 0.5293 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.01991, allocations: 87.31 kB / 0.5294 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01991, allocations: 5.234 kB / 0.5294 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.01993, allocations: 4 kB / 0.5294 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.02012, allocations: 31.97 kB / 0.5294 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.02013, allocations: 11.88 kB / 0.5294 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.02044, allocations: 46.23 kB / 0.5295 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.02053, allocations: 63.98 kB / 0.5295 GB, free: 8.781 MB / 0.4948 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.0001826/0.02071, allocations: 178.6 kB / 0.5297 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.0208, allocations: 48.28 kB / 0.5298 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.02085, allocations: 33.72 kB / 0.5298 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.02086, allocations: 4 kB / 0.5298 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.02086, allocations: 0 / 0.5298 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.02087, allocations: 7.875 kB / 0.5298 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.0219, allocations: 0.6698 MB / 0.5305 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02191, allocations: 2.812 kB / 0.5305 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.02195, allocations: 4 kB / 0.5305 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.02195, allocations: 7.922 kB / 0.5305 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.02199, allocations: 19.92 kB / 0.5305 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.02199, allocations: 4 kB / 0.5305 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.022, allocations: 0 / 0.5305 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.02263, allocations: 467.2 kB / 0.5309 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.02286, allocations: 121.5 kB / 0.5311 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/0.02294, allocations: 20.67 kB / 0.5311 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.0232, allocations: 20.73 kB / 0.5311 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.02324, allocations: 7.984 kB / 0.5311 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.02331, allocations: 66.22 kB / 0.5312 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002646/0.02357, allocations: 267.1 kB / 0.5314 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02357, allocations: 0 / 0.5314 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003844/0.02396, allocations: 67.98 kB / 0.5315 GB, free: 6.746 MB / 0.4948 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.0001505/0.02411, allocations: 120 kB / 0.5316 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006962/0.02481, allocations: 432.6 kB / 0.532 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02481, allocations: 0 / 0.532 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.02499, allocations: 82.92 kB / 0.5321 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.02539, allocations: 55.95 kB / 0.5321 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.02639, allocations: 483.1 kB / 0.5326 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.862e-05/0.02646, allocations: 83.81 kB / 0.5327 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.0265, allocations: 14.98 kB / 0.5327 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.02654, allocations: 16.5 kB / 0.5327 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.02654, allocations: 4.438 kB / 0.5327 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of Templates: time 0.00644/0.03298, allocations: 5.868 MB / 0.5384 GB, free: 15.59 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.097130763111636]