Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.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.001343/0.001343, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.003116/0.003116, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.109/1.109, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8704/0.8704, allocations: 154.6 MB / 415.6 MB, free: 0.5234 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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5215 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.906e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.00321/0.003239, allocations: 1.54 MB / 0.523 GB, free: 420 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.004455, allocations: 0.5393 MB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.00453, allocations: 0 / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.004648, allocations: 9.734 kB / 0.5235 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.00477, allocations: 27.8 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.00556, allocations: 317 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.006058, allocations: 495.3 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.006104, allocations: 11.97 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.006515, allocations: 351.6 kB / 0.5247 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.00677, allocations: 121.5 kB / 0.5248 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.006826, allocations: 29.41 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.268e-05/0.006879, allocations: 28 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.006984, allocations: 123.6 kB / 0.525 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.007101, allocations: 133.1 kB / 0.5251 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.007429, allocations: 370.9 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.007433, allocations: 0 / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.442e-06/0.007434, allocations: 0 / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.00744, allocations: 1.406 kB / 0.5254 GB, free: 13.91 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.001006/0.008447, allocations: 0.9104 MB / 0.5263 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.008484, allocations: 8.031 kB / 0.5263 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.008597, allocations: 63.25 kB / 0.5264 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.00888, allocations: 270.7 kB / 0.5267 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.00892, allocations: 16.36 kB / 0.5267 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.008968, allocations: 28.36 kB / 0.5267 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.009323, allocations: 201.8 kB / 0.5269 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.009331, allocations: 192 / 0.5269 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.009353, allocations: 4.375 kB / 0.5269 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.009359, allocations: 3.625 kB / 0.5269 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.009447, allocations: 54.72 kB / 0.5269 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.009734, allocations: 249 kB / 0.5272 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.0101, allocations: 115.7 kB / 0.5273 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.01019, allocations: 64.91 kB / 0.5274 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.01021, allocations: 4 kB / 0.5274 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.0104, allocations: 169.2 kB / 0.5275 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.0104, allocations: 0 / 0.5275 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005429/0.01094, allocations: 370.4 kB / 0.5279 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.01098, allocations: 55.41 kB / 0.5279 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.01125, allocations: 410.5 kB / 0.5283 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.01129, allocations: 45.69 kB / 0.5284 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.01136, allocations: 148.1 kB / 0.5285 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.0114, allocations: 44.94 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.01154, allocations: 135 kB / 0.5287 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.01167, allocations: 0.4961 MB / 0.5292 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.01185, allocations: 160.9 kB / 0.5293 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.01204, allocations: 237 kB / 0.5295 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.01226, allocations: 256.3 kB / 0.5298 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01227, allocations: 0.8438 kB / 0.5298 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005435/0.01281, allocations: 0.5286 MB / 0.5303 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.01287, allocations: 80.84 kB / 0.5304 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01288, allocations: 4 kB / 0.5304 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01289, allocations: 0 / 0.5304 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.01302, allocations: 35.91 kB / 0.5304 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.01302, allocations: 4.562 kB / 0.5304 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.01321, allocations: 54.77 kB / 0.5305 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.01327, allocations: 63.97 kB / 0.5305 GB, free: 8.383 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001434/0.01341, allocations: 184.5 kB / 0.5307 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.01347, allocations: 51.75 kB / 0.5308 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.01352, allocations: 27.69 kB / 0.5308 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01352, allocations: 4 kB / 0.5308 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01352, allocations: 0.75 kB / 0.5308 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01353, allocations: 0 / 0.5308 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.0142, allocations: 0.6179 MB / 0.5314 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0142, allocations: 0.5 kB / 0.5314 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.01424, allocations: 11.98 kB / 0.5314 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.01424, allocations: 5.531 kB / 0.5314 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.01426, allocations: 15.98 kB / 0.5314 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.01426, allocations: 3.984 kB / 0.5314 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.01427, allocations: 3.938 kB / 0.5314 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.01468, allocations: 453.5 kB / 0.5319 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.01484, allocations: 125.6 kB / 0.532 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.01488, allocations: 8.531 kB / 0.532 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.01504, allocations: 18.33 kB / 0.532 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.01507, allocations: 19.86 kB / 0.532 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.01512, allocations: 59.97 kB / 0.5321 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001399/0.01526, allocations: 259 kB / 0.5323 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01526, allocations: 0 / 0.5323 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002513/0.01551, allocations: 65.09 kB / 0.5324 GB, free: 6.434 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001264/0.01563, allocations: 113.2 kB / 0.5325 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.01606, allocations: 419.3 kB / 0.5329 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01606, allocations: 4 kB / 0.5329 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01616, allocations: 75.33 kB / 0.533 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.01644, allocations: 52.73 kB / 0.533 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.01717, allocations: 482.7 kB / 0.5335 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.01722, allocations: 85.03 kB / 0.5336 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.811e-05/0.01727, allocations: 14.7 kB / 0.5336 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.01746, allocations: 138.8 kB / 0.5337 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/0.01746, allocations: 0 / 0.5337 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of Templates: time 0.00795/0.02541, allocations: 5.572 MB / 0.5392 GB, free: 15.49 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.043281947262585]